Skip to content

Instantly share code, notes, and snippets.

@LinuxDevOpsGirl
Created December 9, 2018 13:49
Show Gist options
  • Save LinuxDevOpsGirl/97cb3229a7f6527451e45826887c0731 to your computer and use it in GitHub Desktop.
Save LinuxDevOpsGirl/97cb3229a7f6527451e45826887c0731 to your computer and use it in GitHub Desktop.
Ruby On Rails Installation Script For Ubuntu
# install Ruby
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
tar -zxvf ruby-1.9.3-p0.tar.gz
cd ruby-1.9.3-p0
./configure
make
make install
# install RubyGems
wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.24.tgz
tar -zxvf rubygems-1.8.24.tgz
cd rubygems-1.8.24
ruby setup.rb
# install Rails
gem install rails
rails new myapp
cd myapp
rails server
firefox 0.0.0.0:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment