Phusion Passenger Error: You have activated rack 1.2.1, but your Gemfile requires rack 1.2.2

后端 未结 9 2074
清酒与你
清酒与你 2020-12-23 21:43

I\'m trying to run a Ruby on Rails app on a Dreamhost shared server. All is well so far except one weird bug I have not been able to unravel.

Sometimes when I visit

9条回答
  •  执笔经年
    2020-12-23 22:41

    I have the same issue: "You have already activated rack 1.2.1, but your Gemfile requires rack 1.2.3"

    1. Add to Gemfile: gem 'rack', '1.2.1'
    2. bundle update
    3. uninstall rack versions > 1.2.1

      [wasp]$ gem list |grep rack

      rack (1.2.1, 1.1.0, 1.0.1, 1.0.0)

    4. touch tmp/restart.txt

    5. :) happy

提交回复
热议问题