# Strange error msg when i run "ruby script/server "in my new site

**URL:** <https://rubytalk.org/t/strange-error-msg-when-i-run-ruby-script-server-in-my-new-site/34671>\
**Category:** ruby-talk\
**Created:** [21 January 2007 23:25 UTC](https://rubytalk.org/t/strange-error-msg-when-i-run-ruby-script-server-in-my-new-site/34671 "2007-01-21T23:25:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![libsfan01](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@libsfan01](https://rubytalk.org/u/libsfan01)\
**Post date:** [21 January 2007 23:25 UTC](https://rubytalk.org/t/strange-error-msg-when-i-run-ruby-script-server-in-my-new-site/34671/1 "2007-01-21T23:25:08Z")

</div>

i just installed ruby and rails but i get this error msg when i run  
"ruby script/server" in my new site:

Cannot find gem for Rails ~\>1.2.1.0:  
&nbsp;&nbsp;&nbsp;&nbsp;Install the missing gem with 'gem install -v=1.2.1 rails', or  
&nbsp;&nbsp;&nbsp;&nbsp;change environment.rb to define RAILS\_GEM\_VERSION with your desired  
version.
