Skip to content

Instantly share code, notes, and snippets.

@sadah
Created June 27, 2013 15:16
Show Gist options
  • Select an option

  • Save sadah/5877328 to your computer and use it in GitHub Desktop.

Select an option

Save sadah/5877328 to your computer and use it in GitHub Desktop.
install ruby 2.0 and rails 4. scaffold user.
brew update
brew upgrade rbenv
rbenv install -l
rbenv install 2.0.0-p195
rbenv global 2.0.0-p195
rbenv rehash
ruby -v
gem search rails
gem install rails
rails -v
mkdir tmp
cd tmp
rails new scaffold_sample
cd scaffold_sample
rails g scaffold user name email memo:text
rake db:migrate
rails s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment