Asif Jan
2010-Nov-22 13:47 UTC
can''t activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10"
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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Asif Jan
2010-Nov-22 15:31 UTC
Re: can''t activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10"
well doing a fresh installation of ruby 1.9.2 , rubygems 1.3.7 (all from sources) resolved the problem. aj On Nov 22, 2:47 pm, Asif Jan <asif....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
John
2010-Nov-29 16:56 UTC
Re: can''t activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10"
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! On Nov 22, 10:31 am, Asif Jan <asif....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> well doing a fresh installation of ruby 1.9.2 , rubygems 1.3.7 (all > from sources) resolved the problem. > > aj > > On Nov 22, 2:47 pm, Asif Jan <asif....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > 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''tactivatei18n (~> 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-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Vishal Kajjam
2010-Nov-29 23:26 UTC
Re: can''t activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10"
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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.