Created
February 25, 2013 06:29
-
-
Save ayucat/5028135 to your computer and use it in GitHub Desktop.
How to install Rails 4.0-beta from scratch (on a non-dev machine) cf. http://www.zlu.me/blog/2012/10/29/install-and-create-rails-4-dot-0-app/
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
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', github: 'rails/rails' | |
group :assets do | |
gem 'uglifier', '>= 1.0.3' | |
end | |
gem 'journey', github: 'rails/journey' | |
gem 'activerecord-deprecated_finders', github: 'rails/activerecord-deprecated_finders' |
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
#!/bin/bash | |
bundle install | |
`bundle show rails`/railties/bin/rails new appname | |
bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment