Use a reader
Subscribe by Email
This is Outdated. Does not apply to Rails 3.x
UPDATE: Using Hobo Edge On Rails 3 describes installing gems for both Rails 2 and Rails 3 in addition to installing Hobo on Rails3.
Read Using Hobo Edge On Rails 3 and exit(0)
How to Install Ruby on Rails 2.3.X in Ubuntu 9.04, 10.04, 10.10 . This strategy is not verified yet for Rails 3
First, edit /etc/environment file so that the path change above is permanent. Otherwise sudo below will fail. Mine is like this:
Running the script1 below, your machine is ready for basic Ruby on Rails development
If you see "could not find rubygems update in any repository" then this is the solution: http://www.searchmarked.com/ubuntu/could-not-find-rubygems-update-0-in-any-repository.php . If your gems env is totally outdated you might need to apply: http://wiki.rubyonrails.org/getting-started/installation/linux-ubuntu
sudo apt-get install ruby-full -y sudo apt-get install build-essential -y sudo apt-get install git-core -y sudo apt-get install rubygems PATH=$PATH:/var/lib/gems/1.8/bin sudo gem install rubygems-update sudo su -c update_rubygems sudo gem install rails --version 2.3.10 sudo gem install mongrel sudo apt-get install sqlite3 libsqlite3-dev sudo gem install sqlite3-ruby
Now you can proceed to Ruby on Rails with One Model
(If you have a prior Ruby installation to this then prevent multiple conflicting gem libraries)
Download Ruby and Gems from http://rubyonrails.org/download.
Complete windows equivalent of my setup is detailed in http://wiki.rubyonrails.org/getting-started/installation/windows. Go for SQLite there.
My personal idea is that one should use http://VirtualBox.org to create an Ubuntu or Kubuntu vm for yourself and use it as your development machine. Installing things on Window is much more complicated and you'll miss the wealth of free applications on Linux. That applies if you are not calling your C# libraries from Ruby :)
As well as commenting here, you can tweet or email to me
If you like this page, please spread the word: