In Rails 3.2.x --edge generate apps with rails 3-2-stable #4920

Merged
merged 1 commit into from Feb 7, 2012

Projects

None yet

4 participants

Owner

No description provided.

Member

If we revert this, the dev branch will then be wrong? I think I would prefer to add the 3-2-stable branch to all edge options than removing it here.

Hmm.. seems reasonable to have --edge to generate everything based on 3-2-stable branch, even Rails itself, right?

Owner

ok, I'm confused now.

rails new app --edge should generate an app working with 3-2-stable or master?

Member

I believe the --edge option in 3-2-stable should target 3-2-stable "edge". On master, it targets master.

Owner

@josevalim Updated, now rails and dependencies targets to 3-2-stable

@josevalim josevalim merged commit bc85fcb into rails:3-2-stable Feb 7, 2012

Is there any particular reason why the semantics --edge has change to mean 3-2 stable? For example, when I run the command 'rails new my app --edge', I was expecting to see the following within the Gemfile:

gem 'rails', :git => 'git://github.com/rails/rails.git'

instead of

gem 'rails', :git => 'git://github.com/rails/rails.git', :branch => '3-2-stable'

So, what's the appropriate syntax for generating a rails application based on the latest code base?

You should be able to use --dev instead. Or cloning the rails repo and using it to create a new app.

@carlosantoniodasilva Thanks for the information and I appreciate it. However, this has a very different user experience https://gist.github.com/3008085

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment