will_paginate gem issues?

Subscribe to will_paginate gem issues? 7 post(s), 3 voice(s)

 
Avatar recycle-001 7 post(s)

Chaps,

I’ve had my app deployed on another host quite happily using the will_paginate plugin, but installing the gem is giving me lots of grief. Locally, I have the app up and running with the gem (v 2.2.2) but on the brightbox I’m currently stuck with a 500 which may or may not be to do with this. Why the gem? As the gem is specified in bbrake I guessed I needed to use it.

Compounding this, I cant seem to find which gems are installed, ‘rake gems’ shows me no installs, but I know some gems are installed as I’ve seem them in deploy in the terminal

Any ideas or inspirations about this? The five minute brightbox gem deploy is now approaching two days …

David

 
Avatar recycle-001 7 post(s)

Fixing my own issues again? Not really, as I’ve had to install the gems the ‘usual way’ in environment.rb rather than deploy.rb. This has fixed issues I had with gems spec’d in deploy.rb not being installed.

Is this a bug? Or have I just not being doing it right?

David

 
Avatar John Leach Administator 85 post(s)

David, what version of the Brightbox deployment gem are you using?

 
Avatar recycle-001 7 post(s)

2.3.4

 
Avatar David Smalley Administator 36 post(s)

David, are you able to pin down the precise cause of this 500 error? Check /home/rails/yourapp/current/log/production.log and also have a look in /var/log/web/ for error logs generated by your application.

If you can figure out the exact reason that the web server is producing a 500 error and whether the error is coming from Rails or Apache we should be able to help you pin it down.

 
Avatar recycle-001 7 post(s)

The 500 I since found out was a consequence of a browser session gone wrong, apols.

I’ve since successfully deployed the app, but did have to ‘conventionally’ install the gems using env.rb to do this. I’m not convinced the BB gem does what it should wrt installing the gems. I guess a useful function for the BB gem to have is to answer the question ‘what gems have you installed for me?’ as ‘rake gems’ (for me) showed no installs as mentioned earlier.

 
Avatar David Smalley Administator 36 post(s)

Hi David,

We’re aware of issues with installing gems with the Brightbox gem. On the whole it does work but there are some corner cases where it seems to fall down. We’ll soon be looking at version 3 of the Brightbox gem and how we can overhaul the gem dependency management. I’m sorry it caused you trouble.

Signup or login to contribute