Daniel Berger
2008-Sep-23 19:17 UTC
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sep 23, 2:17 pm, Daniel Berger <djber...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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, > > DanI 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" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Daniel Berger
2008-Sep-24 13:24 UTC
Re: Trying to make gem dependencies work with rake gems:unpack
On Sep 23, 2:50 pm, Jeff <cohen.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sep 23, 2:17 pm, Daniel Berger <djber...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > 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?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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---