Created
December 9, 2018 13:49
-
-
Save LinuxDevOpsGirl/97cb3229a7f6527451e45826887c0731 to your computer and use it in GitHub Desktop.
Ruby On Rails Installation Script For Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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