# Updated rails now missing rails gem

**URL:** <https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294>\
**Category:** Rails\
**Created:** [January 26, 2010, 7:46am UTC](https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294 "2010-01-26T07:46:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@morgan](https://www.ruby-forum.com/u/morgan)\
**Post date:** [January 26, 2010, 7:46am UTC](https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294/1 "2010-01-26T07:46:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@morgan](https://www.ruby-forum.com/u/morgan)\
**Post date:** [January 26, 2010, 8:23am UTC](https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294/2 "2010-01-26T08:23:13Z")

</div>

Morgan M. 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.

---

<div class="post-metadata">

**Author:** ![morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@morgan](https://www.ruby-forum.com/u/morgan)\
**Post date:** [January 26, 2010, 8:26am UTC](https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294/3 "2010-01-26T08:26:47Z")

</div>

Morgan M. wrote:

> Morgan M. 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.

---

<div class="post-metadata">

**Author:** ![morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@morgan](https://www.ruby-forum.com/u/morgan)\
**Post date:** [February 16, 2010, 7:51pm UTC](https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294/4 "2010-02-16T19:51:11Z")

</div>

Had the same problem.  
Thank you so much.

Mickael.

> 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.

---

<div class="post-metadata">

**Author:** ![morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@morgan](https://www.ruby-forum.com/u/morgan)\
**Post date:** [March 17, 2010, 10:12pm UTC](https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294/5 "2010-03-17T22:12:43Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@morgan](https://www.ruby-forum.com/u/morgan)\
**Post date:** [April 16, 2010, 5:19am UTC](https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294/6 "2010-04-16T05:19:01Z")

</div>

Morgan M. 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.

---

<div class="post-metadata">

**Author:** ![morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@morgan](https://www.ruby-forum.com/u/morgan)\
**Post date:** [March 17, 2010, 10:33pm UTC](https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294/7 "2010-03-17T22:33:11Z")

</div>

On Tue, Jan 26, 2010 at 12:26 AM, Morgan M.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> > > you do have installed, or comment out RAILS\_GEM\_VERSION to use the

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

---

<div class="post-metadata">

**Author:** ![morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@morgan](https://www.ruby-forum.com/u/morgan)\
**Post date:** [April 16, 2010, 5:23am UTC](https://www.ruby-forum.com/t/updated-rails-now-missing-rails-gem/182294/8 "2010-04-16T05:23:10Z")

</div>

> 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
