Ashley Williams, NYCDA
Tuesday, 26 March 2013
\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew install automake
ruby -v
rvm install 1.9.3
rvm use 1.9.3@rails3tutorial2ndEd --create --default
which gem
gem update --system 1.8.24
gem install rails -v 3.2.11
rails -v
rails new first_app
gem 'rails', '3.2.13' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' group :development do gem 'sqlite3', '1.3.5' end # Gems used only for assets and not required # in production environments by default. group :assets do gem 'sass-rails', '3.2.5' gem 'coffee-rails', '3.2.2' gem 'uglifier', '1.2.3' end gem 'jquery-rails', '2.0.2'
group :production do gem 'pg', '0.12.2' end
Then run 'bundle install --without-production'
heroku create
git push heroku master
heroku open