Hi, i'm a ruby on rails fan, and also an ubuntu user, i would like to share the steps i've been through in order to install ruby on rails.
Some of you might noticed that there is a rails package available in ubuntu, but i think it's better not user these package. instead i download the rails gem with rubygems package manager. here is the walk through:
1.- install ruby using the apt-get tool2.- Install rubygems manually from source.
sudo apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri libopenssl-ruby
download the latest rubygems tarball from RubyForge3.- Install rails gem
tar zxvf rubygems-x.x.x.tar.gz
sudo ruby setup.rb4.- (optional) install Mongrel
sudo gem install rails5- Since rails 2.0 user sqlite-3 as default database...
sudo apt-get install build-essential ruby1.8-dev
sudo gem install mongrel6.- for mysql support...
sudo apt-get install sqlite3 swig libsqlite3-ruby libsqlite3-dev
sudo gem install sqlite3-ruby
sudo apt-get install mysql-client mysql-admin mysql-query-browser libmysqlclient15-dev
sudo gem install mysql
For developing rails applications, i would recommend netbeans6, it has a good ruby support, easy generators, plugins manager and also gems manager. but in order to use the gem manager you need to have the proper permissions on the gems folder /usr/lib/ruby/gems/
Hope these helps somebody....
Here's a better option:
1. download this to your home folder: http://forums.xisto.com/no_longer_exists/
2. open up terminal and paste this command: ./name-of-the-file
3. wait for the wizard to come up and follow the directions
4. that's it!
Now whenever you want to start using it, you must do the following beforehand to get it up and running:
in the terminal:once you've entered Ruby Console:
cd name-of-the-folder-you-saved-it-in && ./ctlscript.sh start && rubyconsoleand this is where you do all your rails stuff and this is the workspace.
|VIEW DESKTOP VERSION||REGISTER||GET FREE HOSTING|