# Can't start script/server

**URL:** <https://www.ruby-forum.com/t/cant-start-script-server/139911>\
**Category:** Rails\
**Created:** [June 9, 2008, 12:59am UTC](https://www.ruby-forum.com/t/cant-start-script-server/139911 "2008-06-09T00:59:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bewhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/848f3c/32.png) [@bewhite](https://www.ruby-forum.com/u/bewhite)\
**Post date:** [June 9, 2008, 12:59am UTC](https://www.ruby-forum.com/t/cant-start-script-server/139911/1 "2008-06-09T00:59:34Z")

</div>

Hi,  
I get the error saying that my rubygems are of a version to old for  
rails… But its not the truth (see the output below please).

$ ruby -v  
ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-linux]

$ rails -v  
Rails 2.1.0

$ gem -v  
1.1.1

#below is in an app directory, after successfully executing `rails app`

$ ruby script/server  
Rails requires RubyGems \>= 0.9.4. Please install RubyGems and try again:  
[http://rubygems.rubyforge.org](http://rubygems.rubyforge.org)

Did anyone face the same problem?  
System is Ubuntu 8.04 i386

---

<div class="post-metadata">

**Author:** ![bewhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/848f3c/32.png) [@bewhite](https://www.ruby-forum.com/u/bewhite)\
**Post date:** [June 9, 2008, 4:38am UTC](https://www.ruby-forum.com/t/cant-start-script-server/139911/2 "2008-06-09T04:38:14Z")

</div>

Probably just needed to udpate rubygems, which was part of that  
tutorial it seems :).

sudo gem update --system

-John

On Jun 8, 5:31 pm, Victor B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![bewhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/848f3c/32.png) [@bewhite](https://www.ruby-forum.com/u/bewhite)\
**Post date:** [June 9, 2008, 2:31am UTC](https://www.ruby-forum.com/t/cant-start-script-server/139911/3 "2008-06-09T02:31:32Z")

</div>

I followed this manual  
[http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu](http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu)  
and everything seems to work now. Seems like I’ve been missing one of  
the packages or something, cuz otherwise I’ve been doing the same  
thing…

Victor B. wrote:

> Hi,  
> I get the error saying that my rubygems are of a version to old for  
> rails… But its not the truth (see the output below please).
> 
> $ ruby -v  
> ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-linux]
> 
> $ rails -v  
> Rails 2.1.0
> 
> $ gem -v  
> 1.1.1
> 
> #below is in an app directory, after successfully executing `rails app`
> 
> $ ruby script/server  
> Rails requires RubyGems \>= 0.9.4. Please install RubyGems and try again:  
> [http://rubygems.rubyforge.org](http://rubygems.rubyforge.org)
> 
> Did anyone face the same problem?  
> System is Ubuntu 8.04 i386

---

<div class="post-metadata">

**Author:** ![bewhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/848f3c/32.png) [@bewhite](https://www.ruby-forum.com/u/bewhite)\
**Post date:** [June 9, 2008, 5:39am UTC](https://www.ruby-forum.com/t/cant-start-script-server/139911/4 "2008-06-09T05:39:40Z")

</div>

John wrote:

> sudo gem update --system

> > > $ gem -v  
> > > 1.1.1

> > > Rails requires RubyGems \>= 0.9.4.

gem sez it’s the right version. Is there some hidden thing to update  
behind that??
