Created
November 16, 2012 18:20
-
-
Save cappert/4089621 to your computer and use it in GitHub Desktop.
installing rails4 edge
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
(c) @olivierlacan | |
https://github.com/rails/rails/issues/7773#issuecomment-9292053 | |
Simple-ish solution assuming you're either using bundle exec (you'll need to prepend it when necessary below) or you have gem binaries set to install in bin and your path pointing there first. | |
mkdir <appname> | |
cd <appname> | |
bundle init (assuming you have bundler installed) | |
add this in Gemfile: | |
gem 'rails', github: 'rails/rails' | |
gem 'journey', github: 'rails/journey' | |
gem 'arel', github: 'rails/arel' | |
gem 'activerecord-deprecated_finders', github: 'rails/activerecord-deprecated_finders' | |
run bundle | |
check your version with rails -v, it should be Rails 4.0.0.beta. If not and you're using rbenv, try rbenv rehash. | |
run rails new . --edge | |
Mine failed to bundle initially but after calling it manually everything seemed fine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment