Hi Jim, That worked - thanks! So I can't depend on the system gem?
On Mon, Nov 16, 2009 at 7:36 PM, Jim Gay <j...@saturnflyer.com> wrote: > edit your config/environment.rb to have: > > config.gem 'mislav-will_paginate', :lib => 'will_paginate' > > I think that should do it. > > On Mon, Nov 16, 2009 at 10:11 PM, Alexander Wallace > <alexmlwall...@gmail.com> wrote: >> Saw that a second after I click send, oops. Try installing it as a plugin, >> or directly installing the will_paginate gem (as opposed to the github >> version, mine is simply listed as "will_paginate (2.2.2)"... >> >> Try out these steps on script/console as well- should let you know if the >> gem is being loaded in properly. >> http://wiki.github.com/mislav/will_paginate/troubleshooting >> >> On Mon, Nov 16, 2009 at 10:06 PM, Rob Levin <roblevinten...@gmail.com>wrote: >> >>> I thought this was it: >>> mislav-will_paginate (2.3.11) >>> >>> (as listed in my gem local listing). No? >>> >>> >>> On Mon, Nov 16, 2009 at 7:04 PM, Alexander Wallace >>> <alexmlwall...@gmail.com> wrote: >>> > Looks like you're missing the will_paginate gem. Try gem install >>> > will_paginate, or grab it from http://github.com/mislav/will_paginate >>> > >>> > Alex >>> > >>> > On Mon, Nov 16, 2009 at 9:58 PM, Rob Levin <roblevinten...@gmail.com> >>> wrote: >>> > >>> >> Wondering what to do to get comments extension to work. When I run the >>> >> ./script/server -e [production|development] and go to the extensions >>> >> tab in Admin I see the comments extension and also, a “Comments” tab >>> >> showed up on the right of Admin. But I still got the following error >>> >> when I click on it: >>> >> >>> >> NoMethodError in Admin/commentsController#index >>> >> undefined method `paginate' for #<Class:0x238bb8c> >>> >> >>> >> Note that before the above I'd done: >>> >> git clone git://github.com/sjlombardo/radiant-comments.git >>> >> from the /vendor/extensions dir and renamed: `mv radiant-comments/ >>> >> comments/` >>> >> >>> >> Then I had to hack the source of >>> >> /vendor/extensions/comments_extension.rb for the include application >>> >> to: >>> >> >>> >> begin >>> >> require_dependency 'application_controller' >>> >> rescue MissingSourceFile >>> >> require_dependency 'application' >>> >> end >>> >> >>> >> And here are my local gems: > -- > Jim Gay > http://www.saturnflyer.com > _______________________________________________ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant