Created
August 16, 2014 16:40
-
-
Save kkd927/aac9a38ef172b01bd42a to your computer and use it in GitHub Desktop.
How to install Rails 4 on Ubuntu
This file contains 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
# to know more detail visit http://www.itstory.tk/entry/Ubuntu-%EC%97%90%EC%84%9C-Ruby-Rails-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0 | |
$ curl -sSL https://get.rvm.io | bash -s stable | |
$ source ~/.rvm/scripts/rvm | |
$ rvm get stable | |
$ rvm requirements | |
$ apt-get install libyaml-dev | |
$ rvm install 2.0.0 --with-openssl-dir=$HOME/.rvm/usr | |
rvm use 2.0.0@railstutorial_rails_4_0 --create --default | |
$ which gem | |
/Users/mhartl/.rvm/rubies/ruby-2.0.0-p0/bin/gem | |
$ gem update --system 2.1.9 | |
$ vi ~/.gemrc | |
install: --no-rdoc --no-ri | |
update: --no-rdoc --no-ri | |
$ gem install rails --version 4.0.8 | |
$ sudo apt-get install libxslt-dev libxml2-dev libsqlite3-dev node.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment