rubygems

Rails - command for displaying a gem's dependencies?

Is there a command that tells you the other gems that a gem depends on? Also, is there a way to auto install the gem's dependencies? ...

How do I use a specific version of a Ruby gem?

I have several versions of a Ruby gem installed on my machine. I'm using one version for development, but the other is used for production and deployment, so I need them both. Is there a simple way to specify which version of the gem should be used? Since they are the same gem, their binary names conflict, and I have to physically remo...

Outdated Ruby GEM, How Do I Share My Changes?

So I have been playing with a Ruby gem for a work project that manipulates and extracts data from PDF documents. I wanted to change a method to parallel another, since the functionality was limited. I am not a Ruby expert by any stretch, just started learning two weeks ago, but this is boilerplate. I checked the the RubyForge page, an...

spork on Win7-x64/ruby1.9.2p0?

Having trouble getting spork running on Win7-x64/Ruby1.9.2p0: gem install spork ERROR: Error installing spork: ERROR: Failed to build gem native extension. C:/Ruby192/bin/ruby.exe mkrf_conf.rb Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system rake RUBYA...

Why are the gems not showing up?

So this happens to me regularly, where i have gems that are installed but for some reason my rails app is not finding it...here is my example my config/environment.rb config.gem "whenever" my install sudo gem install whenever Password: Successfully installed whenever-0.6.2 1 gem installed gem list | grep when whenever (0.6.2) scr...

How can I call an older version of a gem from the commandline?

Say I have two versions of a gem installed (somegem versions 0.10.6 and 0.10.5) and I want to run the earlier version from the commandline. Do I have to uninstall the newer version? Is there a way I can use a flag to specify which version I want to use? Something like... somegem /path/to/dir --version 0.10.5 I checked the rubygems do...

Rails: Implementing a search form for compound filtering

Hi all I have a model containing products. I would like to create a search form to allow users to apply compound filters to products as required. For example: Products with a price of between '10' (text field) and '50' (text field) with a colour of 'Red', 'Green' or 'Blue' (check box fields) and a weight of 'Less than' (select field) ...

Switching from plugin to gem -- issues?

What, if any, issues can you expect to encounter if you replace plugin with a gem version? For ex, paperclip plugin to paperclip gem. ...

Rails: impact of lots of gems on performance?

What impact, if any, does having A LOT of gems have on the performance of your Rails app? ...