Skip to content

Instantly share code, notes, and snippets.

@masayuki5160
Created November 6, 2013 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save masayuki5160/7336823 to your computer and use it in GitHub Desktop.
Save masayuki5160/7336823 to your computer and use it in GitHub Desktop.
Ruby On Rails + Vagrant + Cent OS 6.4
【環境】
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