0

i am trying to install thin version 1.5.0 but as default when i install with gem install thin it install 1.5.1 then i get this error

>> 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'
takobaba
  • 306
  • 1
  • 4
  • 15
  • 1
    What have you tried? how is your Gemfile file? It is a good habit give a lot of information when asking a question – fotanus Apr 17 '13 at 13:01

2 Answers2

1

maybe overkill, but try to delete your Gemfile.lock, change the version of your thin in Gemfile and run bundle install

fotanus
  • 19,618
  • 13
  • 77
  • 111
0

I ran

gem uninstall thin

Which listed the versions of thins that are installed. I uninstalled 1.5.1 to fix the issue.

takobaba
  • 306
  • 1
  • 4
  • 15