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.

gem version conflict on master branch

#5496

Doing bundle install on the master branch would yield the following error:

Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    arel depends on
      activesupport (~> 3.0.0)

    rails depends on
      activesupport (3.1.0.beta)

Reported by Fred Wu · August 30th, 2010 @ 06:43 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Jeremy Kemper
    Jeremy Kemper
    • State changed from new to resolved
    • Importance changed from to Low

    August 30th, 2010 @ 07:04 AM

  2. Neeraj Singh
    Neeraj Singh
    • State changed from resolved to open

    Created a brand new rails app. And this is what I have in my Gemfile.

    source 'http://rubygems.org'
    
    #gem 'rails', '3.0.0'
    gem 'rails', :git => 'git://github.com/rails/rails.git'
    
    $ bundle install
    Updating git://github.com/rails/rails.git
    Fetching source index for http://rubygems.org/
    Bundler could not find compatible versions for gem "activesupport":
      In Gemfile:
        rails depends on
          activesupport (~> 3.0.0)
    
        rails depends on
          activesupport (3.1.0.beta)
    
    $ gem list bundler
    
    *** LOCAL GEMS ***
    
    bundler (1.0.0, 1.0.0.rc.6, 1.0.0.rc.4, 1.0.0.rc.2, 1.0.0.rc.1, 1.0.0.beta.9, 1.0.0.beta.5, 1.0.0.beta.4, 0.9.26)
    

    Surprisingly on a clone of rails bundle install works fine. I am getting this error only when I have an app using rails master.

    August 30th, 2010 @ 04:39 PM

  3. Santiago Pastorino
    Santiago Pastorino
    • State changed from open to resolved

    This is generating the app with --dev only. You should add gem 'arel', :git => 'git://github.com/rails/arel.git'

    August 30th, 2010 @ 04:48 PM

  4. gucki
    gucki

    I wonder why arel is a fixed dependency of rails. How to skip installing arel all together, ex. when using sequel as orm?

    September 23rd, 2010 @ 09:56 PM

  5. Jeremy Kemper
    Jeremy Kemper

    Arel is a dependency of Active Record, not Rails itself.

    September 23rd, 2010 @ 10:03 PM

  6. bingbing