Fix --dev option

This commit is contained in:
Carlhuda 2010-01-04 16:32:43 -08:00
parent 17f053931e
commit 952e449fc0

@ -5,7 +5,8 @@ gem "rails", "<%= Rails::VERSION::STRING %>"
## Bundle edge rails:
<%- if options.dev? -%>
gem "rails", :path => "<%= Rails::Generators::RAILS_DEV_PATH %>"
directory "<%= Rails::Generators::RAILS_DEV_PATH %>", :glob => "{*/,}*.gemspec"
gem "rails", "<%= Rails::VERSION::STRING %>"
<%- else -%>
<%= "# " unless options.edge? %>gem "rails", :git => "git://github.com/rails/rails.git"
<%- end -%>