0

我正在尝试安装瘦版本 1.5.0 但默认情况下,当我使用 gem install thin 安装时,它会安装 1.5.1 然后我收到此错误

>> Writing PID to tmp/pids/thin.0.pid
>> Using rack adapter
>> Exiting!
/var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:33:in `block in setup': You have already activated thin 1.5.1, but your Gemfile requires thin 1.5.0. Using bundle exec may solve this. (Gem::LoadError)
        from /var/lib/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:19:in `setup'
4

2 回答 2

1

也许矫枉过正,但尝试删除你的Gemfile.lock,改变你的瘦身版本Gemfile并运行bundle install

于 2013-04-17T13:01:17.517 回答
0

我跑了

gem uninstall thin

其中列出了已安装的瘦版本。我卸载了 1.5.1 来解决这个问题。

于 2013-04-17T13:50:46.850 回答