In your environment.rb, inside the initializer block use this:

  config.gem 'mislav-will_paginate', :lib => 'will_paginate'

That will tell rails to look for the will_paginate library inside the 
mislav-will_paginate gem, and you should be fine.

Max Williams wrote:
> I've just reinstalled linux (9.10) and am trying to match my gem
> environment to our server's.  I'm having a problem with will_paginate.
> 
> On the server, under gem list, i have "mislav-will_paginate (2.3.6)".
> So, i'm trying to install that locally.  Following the instructions on
> the will_paginate page, http://wiki.github.com/mislav/will_paginate,
> i've installed it.
> 
> But, it shows up on my gem list as simply "will_paginate", and rails
> complains because it's expecting mislav-will_paginate.
> 
> So, can anyone point me at where i can install mislav-will_paginate, so
> that it will actually show up on my gem list as mislav-will_paginate
> instead of will_paginate?
> 
> I feel like i'm being dumb and missing something obvious here...grateful
> for any help.

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to