I have an application running remotely, and I just upgraded rails
to version 4.2.8, which upgraded other gems as well. I ran service unicorn restart
afterwards, but the log for unicorn gives me this error:
You have already activated unicorn 5.2.0, but your Gemfile requires unicorn 5.3.0. Prepending
bundle exec
to your command may solve this. (Gem::LoadError)
I have tried gem uninstall unicorn -v 5.2.0
, which returned successfully, and then gem install -v 5.3.0
, which also returned successfully. Afterwards, I ran service unicorn restart
, but the error persists.
I noticed the bundle exec
suggestion, but I'm not sure what I should prepend this command to.