Ubuntu Howto: Install Ruby and Ruby on Rails

Ruby on Rails

To install Ruby and RubyGems – the standard Ruby package manager:

cc@ubuntu:~$ sudo apt-get install ruby rubygems

then install Ruby on Rails using RubyGems:

cc@ubuntu:~$ sudo gem install rails --include-dependencies

or using apt-get (aptitude)

cc@ubuntu:~$ sudo apt-get install rails

and then create a new rails application:

cc@ubuntu:~$ rails path/to/your/new/application
cc@ubuntu:~$ cd path/to/your/new/application
cc@ubuntu:~$ ruby script/server

Check that everything works by pointing your browser to http://0.0.0.0:3000

Related posts:

  1. Howto Install Ruby and Ruby on Rails on Debian Etch 4.0
  2. Howto: Install Ruby and Rails on Debian or Ubuntu
  3. Howto install Ruby on Rails on Fedora Core 5 (fc5)
  4. Ubuntu and Ruby
  5. Ubuntu Howto: Install Oracle
  6. Ruby on Rails
  7. Great Ruby on Rails Sites and Blogs
  8. Beautiful and Efficient File Upload Using Flash and Ruby on Rails
  9. Ubuntu Howto: Install Xen
  10. Ubuntu Howto: Install Sun Java

Popular Related Items »

1 Comment »

  1. Umuro said,

    May 13, 2009 @ 21:43

    Rails 2.3 provides new possibilities so far not shining in older tutorials. Templates mean faster project initiation. And latest developments mean lesser installation.

    This tutorial is fully tested on Ubuntu Jaunty:
    Rais101 Tutorial Ruby on Rails with Relations http://conceptspace.wikidot.com/blog:19

    Get the taste of having a production quality online database in minutes….

RSS feed for comments on this post · TrackBack URI

Leave a Comment