How to force rack to work around the usual “You have already activated rack…” bug?

后端 未结 6 1828
日久生厌
日久生厌 2021-01-01 11:21

This is a common question, but none of the answers seem to solve the issue. I get the usual: You have already activated rack 1.4.1, but your Gemfile requires rack 1.3.

6条回答
  •  灰色年华
    2021-01-01 11:59

    Sometimes all you need to do is just install the gem.

    I had this problem on openshift and gone to the project dir:

    $ rhc ssh APP_NAME

    $ cd app-root

    $ gem install GEM_NAME

    after that the app started normally.

提交回复
热议问题