Forum: Ruby on Rails can't activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ba9e6dc9f5d3f83fa2578b1fda79ee09?d=identicon&s=25 Asif Jan (Guest)
on 2010-11-22 15:05
(Received via mailing list)
Hi

Using RoR 3.0.3 on Mac OS X, and am running into the dependency
problems. Please see the error below. I thought bundler was meant to
precisely avoid these problems?  thanks a lot for your help

I tried bundle install / check , deleted old lockfile and regenerate
it, but nothing worked.

rails generate controller testcontroller index
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:233:in `activate':
can't activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10",
"actionmailer-3.0.3", "rails-3.0.3"], already activated
i18n-0.5.0beta1 for ["activemodel-3.0.3", "actionpack-3.0.3",
"rails-3.0.3"] (Gem::LoadError)
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:249:in
`activate'
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:248:in `each'
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:248:in
`activate'
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:249:in
`activate'
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:248:in `each'
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:248:in
`activate'
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:249:in
`activate'
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:248:in `each'
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:248:in
`activate'
  from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:1082:in `gem'
  from /opt/local/bin/rails:18


Thanks a lot
Ba9e6dc9f5d3f83fa2578b1fda79ee09?d=identicon&s=25 Asif Jan (Guest)
on 2010-11-22 16:32
(Received via mailing list)
well doing a fresh installation of ruby 1.9.2 , rubygems 1.3.7  (all
from sources) resolved the problem.

aj
6ef20d52926e737e5ad5628a3efbfddf?d=identicon&s=25 John (Guest)
on 2010-11-29 22:14
(Received via mailing list)
I'm having this issue and uninstalling and reinstalling didn't solve
the problem for me. It's some kind of dependency issue because
everything worked before I ran a gem update. I'm just not sure how to
resolve a rails dependency issue.

Please help!
C3d41245cbfa582387f0c07486e91b15?d=identicon&s=25 Vishal Kajjam (vkajjam)
on 2010-11-30 00:26
I am a newbie to ruby on rails. Even I faced the same issue as I was
following the book "agile development with rails, 3rd edition." Any
suggestions?

Thanks
vishal
This topic is locked and can not be replied to.