danielb
September 23, 2008, 9:18pm
1
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
danielb
September 23, 2008, 10:51pm
2
On Sep 23, 2:17 pm, Daniel B. [email protected] wrote:
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”
danielb
September 24, 2008, 3:24pm
3
On Sep 23, 2:50 pm, Jeff [email protected] wrote:
file.
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?
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