Hi everyone, I need some insight into a problem I just started having.
I’m running ruby 1.8.6 on an ubuntu box with the following gems
installed:
$ sudo gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.3.4, 2.3.2, 2.2.2)
actionpack (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activerecord (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activeresource (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activesupport (2.3.5, 2.3.4, 2.3.2, 2.2.2)
Ascii85 (1.0.0, 0.9.0)
capistrano (2.5.11, 2.5.10, 2.5.5)
columnize (0.3.1, 0.3.0)
daemons (1.0.10)
eventmachine (0.12.10, 0.12.6)
ezcrypto (0.7.2)
gem_plugin (0.2.3)
highline (1.5.1)
linecache (0.43)
mocha (0.9.8)
net-scp (1.0.2)
net-sftp (2.0.4, 2.0.2)
net-ssh (2.0.17, 2.0.16, 2.0.11)
net-ssh-gateway (1.0.1)
pdf-reader (0.8.2, 0.8.1)
prawn (0.7.1, 0.6.3)
prawn-core (0.7.1, 0.6.3)
prawn-format (0.2.3)
prawn-layout (0.7.1, 0.3.2)
prawn-security (0.7.1, 0.1.1)
rack (1.1.0, 1.0.1, 1.0.0, 0.9.1)
rails (2.3.5, 2.3.4, 2.3.2, 2.2.2)
rake (0.8.7, 0.8.4, 0.8.3)
rghost (0.8.7.2, 0.8.6.5, 0.8.6.3)
rghost_barcode (0.8)
rmagick (2.12.2, 2.9.1)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3)
rubygems-update (1.3.5, 1.3.2)
sqlite3-ruby (1.2.5, 1.2.4)
test-spec (0.10.0)
thin (1.2.5, 1.0.0)
I’ve got a rails 2.3.5 app that I’ve developed and that runs fine
using the traditional WEBrick “script/server” command. However, if I
try to run thin:
$ thin -v
thin 1.2.5 codename This Is Not A Web Server
$ thin start
Using rails adapter
Missing the Rails 2.3.5 gem. Pleasegem install -v=2.3.5 rails
,
update your RAILS_GEM_VERSION setting in config/environment.rb for the
Rails version you do have installed, or comment out RAILS_GEM_VERSION
to use the latest version installed.
This is just crazy as I certainly DO have rails 2.3.5 gem installed
(as displayed above). Now, it is true that I have ruby 1.9.0 installed
on the box as well and no 1.9 gems installed. However, I am most
certainly running everything in ruby 1.8.6.
Where else should I look to figure this problem out?