I installed the mislav-will_paginate gem and put the following in my
environment.rb file
config.gem ‘mislav-will_paginate’,
:lib => ‘will_paginate’,
:source => ‘http://gems.github.com’
but why would I still be getting an undefined method error?
I installed the mislav-will_paginate gem and put the following in my
environment.rb file
config.gem ‘mislav-will_paginate’,
:lib => ‘will_paginate’,
:source => ‘http://gems.github.com’
but why would I still be getting an undefined method error?
Hi,
Sorry if I ask something evident. The thing you posted is telling your
app that the gem is used.
But did you really installed it using rake gems:install?
I assume you require will_paginate in your controller right?
Cheers.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs