Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Unable to run applications agains edge Rails

#5677

Bundler fails to resolve dependencies when running via edge rails. More details :

http://gist.github.com/589945

Steps to reproduce:

  1. Create new Rails 3 App.
  2. Specify rails master as dependency in Gemfile.
  3. Run bundle install vendor/
  4. You should see the error.

Reported by gnufied · September 21st, 2010 @ 10:19 PM

State: invalid
Milestone: none
Assigned to: Yehuda Katz (wycats) Yehuda Katz (wycats)
Importance: Low

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • 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.

    September 22nd, 2010 @ 10:36 AM

  2. gnufied
    gnufied

    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.

    September 22nd, 2010 @ 10:50 AM

  3. Piotr Sarnacki
    Piotr Sarnacki

    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"

    September 22nd, 2010 @ 01:07 PM

  4. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to invalid

    The above works. If you bundle both arel and rails master. The bundle gets installed successfully.

    September 23rd, 2010 @ 01:19 AM