# Application failing on undefined method \`install\_gem\_spec\_st

**URL:** <https://www.ruby-forum.com/t/application-failing-on-undefined-method-install-gem-spec-st/155641>\
**Category:** Rails\
**Created:** [December 15, 2008, 6:47am UTC](https://www.ruby-forum.com/t/application-failing-on-undefined-method-install-gem-spec-st/155641 "2008-12-15T06:47:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![capslock118](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/df705f/32.png) [@capslock118](https://www.ruby-forum.com/u/capslock118)\
**Post date:** [December 15, 2008, 6:47am UTC](https://www.ruby-forum.com/t/application-failing-on-undefined-method-install-gem-spec-st/155641/1 "2008-12-15T06:47:36Z")

</div>

Hi there,

I have rails 2.0.2 installed on my development server and that is where  
I created this app. I froze the app to 2.0.2 knowing that my host server  
uses 2.2.2 and that version breaks my application.

But when I upload my app to its test bed on the host server I get this  
error:

# ruby dispatch.cgi

./…/config/…/vendor/rails/railties/lib/initializer.rb:49:in `send': undefined method`install\_gem\_spec\_stubs’ for  
#Rails::Initializer:0x7f48dec3aef0 (NoMethodError)  
from ./…/config/…/vendor/rails/railties/lib/initializer.rb:49:in  
`run' from ./../config/boot.rb:46:in`load\_initializer’  
from ./…/config/boot.rb:38:in `run' from ./../config/boot.rb:11:in`boot!’  
from ./…/config/boot.rb:109  
from ./…/config/environment.rb:11:in `require' from ./../config/environment.rb:11 from dispatch.cgi:3:in`require’  
from dispatch.cgi:3

Hmmm…well it is certainly trying to use my frozen rails, but why is it  
having issue here on the host server vs. on my development sever at  
another location?

Any thoughts?

---

<div class="post-metadata">

**Author:** ![capslock118](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/df705f/32.png) [@capslock118](https://www.ruby-forum.com/u/capslock118)\
**Post date:** [December 15, 2008, 10:07am UTC](https://www.ruby-forum.com/t/application-failing-on-undefined-method-install-gem-spec-st/155641/2 "2008-12-15T10:07:40Z")

</div>

On Dec 15, 5:47 am, Caps L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hmmm…well it is certainly trying to use my frozen rails, but why is it  
> having issue here on the host server vs. on my development sever at  
> another location?

is your version of rubygems new enough?

Fred

---

<div class="post-metadata">

**Author:** ![capslock118](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/df705f/32.png) [@capslock118](https://www.ruby-forum.com/u/capslock118)\
**Post date:** [December 15, 2008, 1:08pm UTC](https://www.ruby-forum.com/t/application-failing-on-undefined-method-install-gem-spec-st/155641/3 "2008-12-15T13:08:20Z")

</div>

Frederick C. wrote:

> On Dec 15, 5:47ï¿½am, Caps L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> wrote:
> 
> > Hmmm…well it is certainly trying to use my frozen rails, but why is it  
> > having issue here on the host server vs. on my development sever at  
> > another location?
> 
> is your version of rubygems new enough?
> 
> Fred

---

<div class="post-metadata">

**Author:** ![capslock118](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/df705f/32.png) [@capslock118](https://www.ruby-forum.com/u/capslock118)\
**Post date:** [December 15, 2008, 1:09pm UTC](https://www.ruby-forum.com/t/application-failing-on-undefined-method-install-gem-spec-st/155641/4 "2008-12-15T13:09:31Z")

</div>

Caps L. wrote:

> Frederick C. wrote:
> 
> > On Dec 15, 5:47ï¿½am, Caps L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> > wrote:
> > 
> > > Hmmm…well it is certainly trying to use my frozen rails, but why is it  
> > > having issue here on the host server vs. on my development sever at  
> > > another location?
> > 
> > is your version of rubygems new enough?
> > 
> > Fred

My bad on the prior post before writing anything :-/.

When doing gem --version i get 1.3.1 which, as i understand it, is the  
latest and greatest.
