This project is archived and is in readonly mode.
Unable to run applications agains edge Rails
Reported by gnufied | September 21st, 2010 @ 10:19 PM
Bundler fails to resolve dependencies when running via edge rails. More details :
Steps to reproduce:
- Create new Rails 3 App.
- Specify rails master as dependency in Gemfile.
- Run bundle install vendor/
- You should see the error.
Comments and changes to this ticket
-
Rohit Arondekar September 22nd, 2010 @ 10:36 AM
- Importance changed from to Low
Rails 3 master is now at 3.1.0.beta and 3.0 development has been moved to the 3-0-stable branch. I think what you want to do is
gem 'rails', :git => 'git://github.com/rails/rails.git', :branch => '3-0-stable'
To create a 3.1.0 app you'll need to checkout master, and run
ruby path/to/rails new my_app --dev
. -
gnufied September 22nd, 2010 @ 10:50 AM
Hmm, so I can't upgrade an application which was generated using rails 3.0 generator, to 3.1?
The point of exercise was; I want to develop agains Rails Master, not against 3.0.0-stable branch.
-
Piotr Sarnacki September 22nd, 2010 @ 01:07 PM
You need to specify arel from master also:
gem "rails", :git => "http://github.com/rails/rails.git"
gem "arel", :git => "http://github.com/rails/arel.git" -
Rohit Arondekar September 23rd, 2010 @ 01:19 AM
- State changed from new to invalid
The above works. If you bundle both
arel
andrails
master. The bundle gets installed successfully.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>