updated rails now missing rails gem

So i updated rails and this is now what i'm getting.
i tried reinstalling rails and it didn't help. it's installed.
this is driving me nuts.

i'm at rails 2.3.5 and ruby 1.8.7

Missing the Rails gem. Please `gem install -v= 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.

Morgan Morgan wrote:

So i updated rails and this is now what i'm getting.
i tried reinstalling rails and it didn't help. it's installed.
this is driving me nuts.

i'm at rails 2.3.5 and ruby 1.8.7

Missing the Rails gem. Please `gem install -v= 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.

ok. so mongrel can start a server with no problems but thin takes a
dump.
slowly making sense of this.

Morgan Morgan wrote:

Morgan Morgan wrote:

So i updated rails and this is now what i'm getting.
i tried reinstalling rails and it didn't help. it's installed.
this is driving me nuts.

i'm at rails 2.3.5 and ruby 1.8.7

Missing the Rails gem. Please `gem install -v= 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.

ok. so mongrel can start a server with no problems but thin takes a
dump.
slowly making sense of this.

and figured it out.

thin can't cope with rack 1.1.0. uninstalled the rack 1.1.0 gem and all
is well again.

Had the same problem.
Thank you so much.

Mickael.

Yup just wasted a good hour cursing monit and env variables.

This was the problem. Rack 1.0.1 works fine with thin so far.

Morgan Morgan wrote:

Morgan Morgan wrote:

So i updated rails and this is now what i’m getting.

i tried reinstalling rails and it didn’t help. it’s installed.

this is driving me nuts.

i’m at rails 2.3.5 and ruby 1.8.7

Missing the Rails gem. Please gem install -v= 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.

ok. so mongrel can start a server with no problems but thin takes a

dump.

slowly making sense of this.

and figured it out.

thin can’t cope with rack 1.1.0. uninstalled the rack 1.1.0 gem and all

is well again.

Morgan, I just performed a quick test and I was able to get the following

working:

a) Rails 2.3.5, Ruby 1.9.1/1.9.2, Rack 1.1.0, and Thin 1.2.7

b) Rails 3.0 b, Ruby 1.9.1/1.9.2, Rack 1.1.0, and Thin 1.2.7

Thus, I’ll be happy to send you my test Rails app for (a) above.

-Conrad

Morgan Morgan wrote:

Missing the Rails gem. Please `gem install -v= 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.

Make sure you don't have gems installed in different places. We were
getting this when run from rc.local because a couple gems had gotten
installed in a user directory (~/.gem) instead of the system path.

I wish gem wouldn't install in a home directory unless you specifically
told it to do so.

Make sure you don't have gems installed in different places. We were
getting this when run from rc.local because a couple gems had gotten
installed in a user directory (~/.gem) instead of the system path.

Forgot; use: gem list -d
to see where things are installed