How can I create a rails project using rails/master?
rails new app_name --edge uses Rails 3.2.8 and points to the ‘3-2-stable’ branch in the Gemfile.
Creating a rails project, pointing gem 'rails' to master and running bundle or bundle install generates several errors. I am also weary of this approach because the rails new command for each version can vary.
Just download the head from github and run it from there:
Or for more recent versions of rails, use the
exedirectory instead:It’s also worth noting that the
--devwill generate aGemfilepointing to your local copy of Rails. If you instead want it to point at the current copy on github use--edge.