Created
November 6, 2013 14:22
-
-
Save masayuki5160/7336823 to your computer and use it in GitHub Desktop.
Ruby On Rails + Vagrant + Cent OS 6.4
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
【環境】 | |
CentOS 6.4 | |
Vagrant | |
【手順】 | |
・rbenvを使用してruby 2.0をいれる | |
# yum -y install git | |
# git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
# echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
# echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
# exec $SHELL -l | |
# git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
# rbenv install -v 2.0.0-p247 | |
# rbenv rehash | |
# rbenv global 2.0.0-p247 | |
・railsのセットアップ | |
# gem update --system | |
# gem install rails --no-ri --no-rdoc -V | |
# rbenv rehash | |
【参考】 | |
http://shgam.hatenadiary.jp/entry/2013/10/13/175515 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment