Skip to content  @peter /  Embed URL   Subversion checkout URL
You can clone with Download ZIP Creating and Deploying an
EdgeRails (Rails 4) Application to Heroku # 0. Make sure you
have Ruby 1.9.3 installed, and optionally RVM and PostgreSQL #
0.2 If you are on the Mac, make sure you have a c compiler by
installing XCode Command Line Tools or gcc4.2 with homebrew #
0.5 Make sure you have bundler version ~> 1.2 as Rails depends
on it gem install bundler # 1. Get edge Rails source (master
branch) git clone # 2. Create the rails app # The --edge option
will point the Gemfile to rails on github (the tip of the master
branch, i.e. EdgeRails) # Use the --dev option to insated point
your Gemfile to your local rails checkout (useful for
experimentation) rails/railties/bin/rails new myapp --edge
--skip-bundle --database=postgresql --skip-test-unit --skip-
index-html # 3. (Optional) Create rvm gemset on Ruby 1.9.3
(Rails 4 requires Ruby 1.9.3) # This step will isolate the gem
dependencies of the app from other gems in