Trying to make gem dependencies work with rake gems:unpack

Hi,

Ruby 1.8.6 Rails 2.1.1 Rake 0.8.2

I'm trying to install a local copy of the 'will_paginate' gem using "rake gems:unpack GEM=will_paginate", but I'm not having much luck. I've added "config.gem 'will_paginate'" to my config/environment.rb file.

But, when I run "rake gems:unpack GEM=will_paginate", nothing happens. I don't get an error, but there's nothing under vendor/gems when it's done.

What am I doing wrong?

Thanks,

Dan

I had a similar issue (but not exactly the same) and found that the gem name has changed and I had to specify the source:

config.gem 'mislav-will_paginate', :lib => 'will_paginate', :source => 'http://gems.github.com

Maybe this will help your situation too?

Jeff

REST with Rails: Great for beginning Rails devs. Oct 4, Austin, TX: http://www.purpleworkshops.com/workshops/rest-and-web-services Use Discount Code "PWRRGG"

Thanks for that Jeff, but it didn't work. In fact, I can't get it to work with _any_ gems.

Any suggestions?

Thanks,

Dan