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


Re: Ruby on ubuntu

The easiest way to get Ruby and Ruby on Rails running under Linux is to use this tool

wget --no-check-certificate && bash

You 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!

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-dev

That 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-dev

then after you install ruby do

sudo gem install pg

and that will set up PostreSQL

Let me know how it goes!