[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Max Williams
Marnen Laibow-Koser wrote: > Max Williams wrote: >> Rick Lloyd wrote: >> >>> 1) The gemspec distributed from the git://...mislav/will_paginate site >>> builds a gem named "will_paginate" not "mislav-will_paginate". There >>> are other problems (I18n related) with the gemspec as well. >> >> cool

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Marnen Laibow-Koser
Max Williams wrote: > Rick Lloyd wrote: > >> 1) The gemspec distributed from the git://...mislav/will_paginate site >> builds a gem named "will_paginate" not "mislav-will_paginate". There >> are other problems (I18n related) with the gemspec as well. > > cool, glad it's not just me that's confu

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Max Williams
Rick Lloyd wrote: > 1) The gemspec distributed from the git://...mislav/will_paginate site > builds a gem named "will_paginate" not "mislav-will_paginate". There > are other problems (I18n related) with the gemspec as well. cool, glad it's not just me that's confused then. I never understood

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Rick
Max - just to finish things off... It appears that the paginate gem served up from gemcutter is, in fact, built from the current mislav-will_paginate version2.3.11. The confusion regarding the name stems from: 1) The gemspec distributed from the git://...mislav/will_paginate site builds a gem n

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Conrad Taylor
On Mon, Nov 2, 2009 at 1:22 AM, Max Williams < rails-mailing-l...@andreas-s.net> wrote: > > Rick Lloyd wrote: > > One more point. You said that you followed the instructions for > > install - there are three different paths there and I know for a fact > > that the "gem install..." version will gi

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Max Williams
Conrad Taylor wrote: > On Mon, Nov 2, 2009 at 1:24 AM, Max Williams < > rails-mailing-l...@andreas-s.net> wrote: > >> >> > version, but it's not called mislav, and that's my problem. >> tumble". I'm using gem v 1.3.5 >> > > tumble is an option added by gemcutter to the gem command. > > Good lu

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Conrad Taylor
On Mon, Nov 2, 2009 at 1:24 AM, Max Williams < rails-mailing-l...@andreas-s.net> wrote: > > Conrad Taylor wrote: > > On Sun, Nov 1, 2009 at 5:54 PM, Rick wrote: > > > >> :update_sources: true > >> > >> > What's odd is that i'm installing it following the instructions on the > >> > mislav-will_pag

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Conrad Taylor
On Mon, Nov 2, 2009 at 1:24 AM, Max Williams < rails-mailing-l...@andreas-s.net> wrote: > > Conrad Taylor wrote: > > On Sun, Nov 1, 2009 at 5:54 PM, Rick wrote: > > > >> :update_sources: true > >> > >> > What's odd is that i'm installing it following the instructions on the > >> > mislav-will_pag

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Max Williams
Rick Lloyd wrote: > If you've got both sites in there you should see results from gem list > mislav-will_paginate -r and gem install mislav-will_paginate. > thanks Rick - that fixed it! I didn't have github in there. So, i fixed it thus: gem sources -a http://gems.github.com/ sudo gem install

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Max Williams
Conrad Taylor wrote: > On Sun, Nov 1, 2009 at 5:54 PM, Rick wrote: > >> :update_sources: true >> >> > What's odd is that i'm installing it following the instructions on the >> > mislav-will_paginate homepage, wherer they say to do "gem install >> > will_paginate", after setting the gem source.

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-02 Thread Max Williams
Rick Lloyd wrote: > One more point. You said that you followed the instructions for > install - there are three different paths there and I know for a fact > that the "gem install..." version will give you "mislav- > will_paginate". If, however, you build from a tar (or use git clone) > the gems

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-01 Thread Conrad Taylor
On Sun, Nov 1, 2009 at 5:54 PM, Rick wrote: > > I just checked and will_paginate v2.2.2 is being served by > http://gems.rubyforge.org while mislav-will_paginate v2.3.11 is being > served by http://gems.github.com. Conrad's point is good for the > future but right now you should check your .gemr

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-01 Thread Rick
I just checked and will_paginate v2.2.2 is being served by http://gems.rubyforge.org while mislav-will_paginate v2.3.11 is being served by http://gems.github.com. Conrad's point is good for the future but right now you should check your .gemrc file (that's ~/.gemrc). Mine looks like this: --- :

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-01 Thread Conrad Taylor
On Sun, Nov 1, 2009 at 1:10 PM, Max Williams < rails-mailing-l...@andreas-s.net> 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

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-01 Thread Max Williams
Hi Rick I already tried gem install mislav-will_paginate but gem comes back saying it can't find it. What's odd is that i'm installing it following the instructions on the mislav-will_paginate homepage, wherer they say to do "gem install will_paginate", after setting the gem source. So, it'

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-01 Thread Rick
One more point. You said that you followed the instructions for install - there are three different paths there and I know for a fact that the "gem install..." version will give you "mislav- will_paginate". If, however, you build from a tar (or use git clone) the gemspec delivered will build a g

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-01 Thread Rick
gem list mislav-will_paginate --remote *** REMOTE GEMS *** mislav-will_paginate (2.3.11) em list will_paginate --remote *** REMOTE GEMS *** will_paginate (2.2.2) My guess is that you do have mislav-will_paginate installed, since will_paginate is only up to v2.2.2, but you've got an older versio

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-01 Thread Brent Miller
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

[Rails] Re: will_paginate vs mislav-will_paginate

2009-11-01 Thread Max Williams
Hi Brent, thanks for replying. I already have that line as it happens - config.gem 'mislav-will_paginate', :version => '~> 2.3.2', :lib => 'will_paginate', :source => 'http://gems.github.com' I think the problem is that i don't have the mislav-will_paginate gem, i have the will_paginate gem.