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.

Rails 3 cannot be installed from scratch due to failed dependency on i18n 0.5.0

#6105

At the moment, if you try installing rails from scratch, it fails.

$ gem install rails
ERROR: Error installing rails:
mail requires i18n (~> 0.5.0, runtime)

(See https://gist.github.com/725831 for more context that show this is a pristine environment. It shows installation attempts for version 3.0.1, but the issue is present with 3.0.3.)

This may have been triggered by mail 2.2.11, which changed dependency on i18n ~0.4.1 to ~0.5.0.

In order to make installation go, i18n 0.5.0 needs to be installed ahead of rails.

Reported by Hiro Asari · December 2nd, 2010 @ 07:32 PM

State: stale
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Hiro Asari
    Hiro Asari

    It appears that Rails 3.0.3 can now be installed successfully (i18n 0.5.0 is installed during the process), but the issue is still present with 3.0.0, 3.0.1 and 3.0.2.

    December 3rd, 2010 @ 03:09 PM

  2. Sindre Aarsaether
    Sindre Aarsaether

    Same problem on master-branch. Cannot install from master with bundler/Gemfile now;

    Bundler could not find compatible versions for gem "i18n":
    In Gemfile:

    actionmailer (~> 3.1.0.beta) depends on
      i18n (~> 0.5.0)
    
    actionpack (~> 3.1.0.beta) depends on
      i18n (0.4.2)
    

    --- Gemfile --- source 'http://rubygems.org'
    rails = 'git://github.com/rails'
    gem 'activesupport', '~> 3.1.0.beta', git: "#{rails}/rails.git", require: 'active_support'
    gem 'actionpack', '~> 3.1.0.beta', git: "#{rails}/rails.git", require: 'action_pack'
    gem 'actionmailer', '~> 3.1.0.beta', git: "#{rails}/rails.git", require: 'action_mailer'
    gem 'railties', '~> 3.1.0.beta', git: "#{rails}/rails.git", require: 'rails'

    December 3rd, 2010 @ 04:35 PM

  3. Sindre Aarsaether
  4. Hiro Asari
    Hiro Asari

    Mikel Lindsaar relaxed the mail gem dependency on i18n to >= 0.4.0, which should resolve this problem.

    December 5th, 2010 @ 03:05 PM

  5. rails
    rails
    • State changed from new to open

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

    March 6th, 2011 @ 12:00 AM

  6. rails
    rails
    • State changed from open to stale

    March 6th, 2011 @ 12:00 AM