This project is archived and is in readonly mode.

#6105 ✓stale
Hiro Asari

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

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

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.

Comments and changes to this ticket

  • Hiro Asari

    Hiro Asari December 3rd, 2010 @ 03:09 PM

    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.

  • Sindre Aarsaether

    Sindre Aarsaether December 3rd, 2010 @ 04:35 PM

    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'

  • Sindre Aarsaether
  • Hiro Asari

    Hiro Asari December 5th, 2010 @ 03:05 PM

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

  • rails

    rails March 6th, 2011 @ 12:00 AM

    • 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.

  • rails

    rails March 6th, 2011 @ 12:00 AM

    • State changed from “open” to “stale”

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>

People watching this ticket

Pages