# Need installation help

**URL:** <https://www.ruby-forum.com/t/need-installation-help/113604>\
**Category:** Rails\
**Created:** [September 2, 2007, 6:51pm UTC](https://www.ruby-forum.com/t/need-installation-help/113604 "2007-09-02T18:51:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbbd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/49beb7/32.png) [@dbbd](https://www.ruby-forum.com/u/dbbd)\
**Post date:** [September 2, 2007, 6:51pm UTC](https://www.ruby-forum.com/t/need-installation-help/113604/1 "2007-09-02T18:51:36Z")

</div>

I’ve installed RoR on Fedora Core 6, following closely the  
instructions on  
[http://www.digitalmediaminute.com/howto/fc4rails/#installROR](http://www.digitalmediaminute.com/howto/fc4rails/#installROR)

When I try to launch RoR test app, I get an error:  
Cannot find gem for Rails ~\>1.2.3.0:  
Install the missing gem with ‘gem install -v=1.2.3 rails’, or  
change environment.rb to define RAILS\_GEM\_VERSION with your  
desired version.

I get this either by “service lighttpd restart” or by simply  
# ruby public/dispatch.fcgi

My config/environment.rb has  
RAILS\_GEM\_VERSION = ‘1.2.3’ unless defined? RAILS\_GEM\_VERSION

I tried to run with  
RAILS\_GEM\_VERSION=1.2.3.0 ruby public/dispatch.fcgi  
but am getting the same error.

The rails install ran just fine:

# gem install rails --include-dependencies

Attempting local installation of ‘rails’  
Local gem file not found: rails\*.gem  
Attempting remote installation of ‘rails’  
Updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
Successfully installed rails-1.2.3  
Successfully installed rake-0.7.3  
Successfully installed activesupport-1.4.2  
Successfully installed activerecord-1.15.3  
Successfully installed actionpack-1.13.3  
Successfully installed actionmailer-1.3.3  
Successfully installed actionwebservice-1.2.3  
Installing RDoc documentation for rake-0.7.3…  
Installing RDoc documentation for activesupport-1.4.2…  
Installing RDoc documentation for activerecord-1.15.3…  
Installing RDoc documentation for actionpack-1.13.3…  
Installing RDoc documentation for actionmailer-1.3.3…  
Installing RDoc documentation for actionwebservice-1.2.3…  
rubygems-0.9.1-1.fc6  
I have installed everything possible using yum, including rubygems  
I’ve installed RoR on Fedora Core 6, following closely the  
instructions on  
[http://www.digitalmediaminute.com/howto/fc4rails/#installROR](http://www.digitalmediaminute.com/howto/fc4rails/#installROR)

When I try to launch RoR test app, I get an error:  
Cannot find gem for Rails ~\>1.2.3.0:  
Install the missing gem with ‘gem install -v=1.2.3 rails’, or  
change environment.rb to define RAILS\_GEM\_VERSION with your  
desired version.

I get this either by “service lighttpd restart” or by simply  
# ruby public/dispatch.fcgi

My config/environment.rb has  
RAILS\_GEM\_VERSION = ‘1.2.3’ unless defined? RAILS\_GEM\_VERSION

I tried to run with  
RAILS\_GEM\_VERSION=1.2.3.0 ruby public/dispatch.fcgi  
but am getting the same error.

The rails install ran just fine:

# gem install rails --include-dependencies

Attempting local installation of ‘rails’  
Local gem file not found: rails\*.gem  
Attempting remote installation of ‘rails’  
Updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
Successfully installed rails-1.2.3  
Successfully installed rake-0.7.3  
Successfully installed activesupport-1.4.2  
Successfully installed activerecord-1.15.3  
Successfully installed actionpack-1.13.3  
Successfully installed actionmailer-1.3.3  
Successfully installed actionwebservice-1.2.3  
Installing RDoc documentation for rake-0.7.3…  
Installing RDoc documentation for activesupport-1.4.2…  
Installing RDoc documentation for activerecord-1.15.3…  
Installing RDoc documentation for actionpack-1.13.3…  
Installing RDoc documentation for actionmailer-1.3.3…  
Installing RDoc documentation for actionwebservice-1.2.3…

I have installed everything possible using yum, including  
rubygems-0.9.1-1.fc6

I’d appreciate any ideas.  
Dan

---

<div class="post-metadata">

**Author:** ![dbbd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/49beb7/32.png) [@dbbd](https://www.ruby-forum.com/u/dbbd)\
**Post date:** [September 2, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/need-installation-help/113604/2 "2007-09-02T19:34:44Z")

</div>

maybe Rails test app depends on 1.2.3.0.  
Try to create an app:  
rails testapp  
cd testapp/ && ./script/server

then start your browser and point it to [http://0.0.0.0:3000](http://0.0.0.0:3000)

---

<div class="post-metadata">

**Author:** ![dbbd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/49beb7/32.png) [@dbbd](https://www.ruby-forum.com/u/dbbd)\
**Post date:** [September 2, 2007, 7:39pm UTC](https://www.ruby-forum.com/t/need-installation-help/113604/3 "2007-09-02T19:39:45Z")

</div>

I’ve tried to gem install -v 1.2.2 rails  
and it started working.

I guess there’s a bug in gem 1.2.3

Thanks,  
Dan
