samnang
4/1/2012 - 3:29 PM

One step to get up'n'running with Rails on OS X or Linux

One step to get up'n'running with Rails on OS X or Linux

Use this command and follow the instructions:

bash -s stable --rails < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

Other options include(any gems imply --ruby):

--ruby=1.9.3
--gems=rails,gist

Optionally on OSX install homebrew, use brew command to install whatever database engine you need, ie brew install sqlite

/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

Finally, start working with rails:

rails new myproject