Topic: Ruby on ubuntu
Hey guys I just converted my OS from windows to Ubuntu and i cant get Ruby or RoR to run has anybody else come across this if so please can i get some help
Happy Coding
Jamesgonrails
You are not logged in. Please login or register.
Hey guys I just converted my OS from windows to Ubuntu and i cant get Ruby or RoR to run has anybody else come across this if so please can i get some help
Happy Coding
Jamesgonrails
The easiest way to get Ruby and Ruby on Rails running under Linux is to use this tool
wget --no-check-certificate https://github.com/joshfng/railsready/raw/master/railsready.sh && bash railsready.shYou get to choose to use RVM or build from source as your ruby install.
If you choose RVM make sure you know how to use it! http://beginrescueend.com/rvm/basics/
Also to get MySQL running on it before you install Ruby do these commands
sudo apt-get install mysql-server mysql-client libmysql-ruby libmysql-devThat will install MySQL for you and the dev package for use with Ruby
or if you want to use PostreSQL do these commands
sudo apt-get install libpq5 libpq-devthen after you install ruby do
sudo gem install pgand that will set up PostreSQL
Let me know how it goes!
Keep in mind, Rails 3 works best with Ruby 1.9.2. Ruby 1.9.2 fixes up quite a few bugs in 1.9.1 and is preferable to running 1.9.1.
With RVM installing 1.9.2 is a breeze.
Hosting provided by aTech Media