Howto Install Ruby and Ruby on Rails on Debian Etch 4.0

Ruby on Rails

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

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

then install Ruby on Rails using RubyGems:

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

and then create a new rails application:

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

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

No related posts found.

Comments are closed.