Sven
2007-Oct-19 02:45 UTC
"can''t activate rails", "already activated rails", and "no such file to load -- breakpoint"
I''ve already asked about this on http://weblog.rubyonrails.org/2007/9/30/rails-2-0-0-preview-release but am bringing my troubles here as Jeremy Kemper requested today. After upgrading my gem rails to the 2.0 preview release (1.2.4.7794 was the first one I got) I tried creating a new project and installing the acts_as_attachment plugin. Then I ran rake test:plugins to make sure everything is compatible before proceeding with my work and I got errors like this: rubygems.rb:246:in `activate'': can''t activate rails (= 1.2.4), already activated rails-1.2.4.7794] (Gem::Exception) A similar error occurs with acts_as_paranoid, though it complains about one of the "active" gems rather than the rails gem itself. Today I freshened my gems and installed 1.2.5.7919. I repeated the steps above and got an equivalent error: ... can''t activate rails (= 1.2.5), already activated rails-1.2.5.7919] I''d already tried freezing rails in various ways and I''ve messed with RAILS_GEM_VERSION, both without success. Today I tried gem cleanup rails, which left me with just 1.2.5.7919 instead of the six or seven versions I had previously. I created a new project etc., as above, and when I ran rake test\plugins this time it failed slightly differently: `gem_original_require'': no such file to load -- breakpoint (MissingSourceFile) from [...]/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require'' Can anyone offer any help with this? Thanks, Sven --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sven
2007-Oct-20 12:12 UTC
Re: "can''t activate rails", "already activated rails", and "no such file to load -- breakpoint"
The same issue occurs with the tests for attachment_fu and the 2.0 preview release. It works fine with 1.2.5. I don''t know whether the problem is rubygems not distinguishing between, say, 1.2.5 ans 1.2.5.7919, or whether there''s a problem with the plugins'' dependencies. Am I really the only person trying test:plugins against the 2.0 preview release? -Sven On Oct 18, 10:45 pm, Sven <Sven....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve already asked about this onhttp://weblog.rubyonrails.org/2007/9/30/rails-2-0-0-preview-release > but am bringing my troubles here as Jeremy Kemper requested today. > > After upgrading my gem rails to the 2.0 preview release (1.2.4.7794 > was the first one I got) I tried creating a new project and installing > the acts_as_attachment plugin. Then I ran rake test:plugins to make > sure everything is compatible before proceeding with my work and I got > errors like this: > > rubygems.rb:246:in `activate'': can''t activate rails (= 1.2.4), > already activated rails-1.2.4.7794] (Gem::Exception) > > A similar error occurs with acts_as_paranoid, though it complains > about one of the "active" gems rather than the rails gem itself. > > Today I freshened my gems and installed 1.2.5.7919. I repeated the > steps above and got an equivalent error: > ... can''t activate rails (= 1.2.5), already activated > rails-1.2.5.7919] > > I''d already tried freezing rails in various ways and I''ve messed with > RAILS_GEM_VERSION, both without success. > > Today I tried gem cleanup rails, which left me with just 1.2.5.7919 > instead of the six or seven versions I had previously. I created a new > project etc., as above, and when I ran rake test\plugins this time it > failed slightly differently: > > `gem_original_require'': no such file to load -- breakpoint > (MissingSourceFile) > from [...]/ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `require'' > > Can anyone offer any help with this? > > Thanks, > > Sven--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
mark-SnbJSceQoKVWk0Htik3J/w@public.gmane.org
2007-Oct-21 06:39 UTC
Re: "can''t activate rails", "already activated rails", and "no such file to load -- breakpoint"
Sven, I just ran into the same issue. For me, it was an rmagick problem caused by an upgrade to my OS. I had to uninstall the gem and reinstall it and then everything worked fine. That may not help you specifically, but I thought it was worth noting that it didn''t have anything to do with a plugin for me. On Oct 20, 5:12 am, Sven <Sven....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> The same issue occurs with the tests for attachment_fu and the 2.0 > preview release. It works fine with 1.2.5. I don''t know whether the > problem is rubygems not distinguishing between, say, 1.2.5 ans > 1.2.5.7919, or whether there''s a problem with the plugins'' > dependencies. Am I really the only person trying test:plugins against > the 2.0 preview release? > > -Sven > > On Oct 18, 10:45 pm, Sven <Sven....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''ve already asked about this onhttp://weblog.rubyonrails.org/2007/9/30/rails-2-0-0-preview-release > > but am bringing my troubles here as Jeremy Kemper requested today. > > > After upgrading my gem rails to the 2.0 preview release (1.2.4.7794 > > was the first one I got) I tried creating a new project and installing > > the acts_as_attachment plugin. Then I ran rake test:plugins to make > > sure everything is compatible before proceeding with my work and I got > > errors like this: > > > rubygems.rb:246:in `activate'': can''t activate rails (= 1.2.4), > > already activated rails-1.2.4.7794] (Gem::Exception) > > > A similar error occurs with acts_as_paranoid, though it complains > > about one of the "active" gems rather than the rails gem itself. > > > Today I freshened my gems and installed 1.2.5.7919. I repeated the > > steps above and got an equivalent error: > > ... can''t activate rails (= 1.2.5), already activated > > rails-1.2.5.7919] > > > I''d already tried freezing rails in various ways and I''ve messed with > > RAILS_GEM_VERSION, both without success. > > > Today I tried gem cleanup rails, which left me with just 1.2.5.7919 > > instead of the six or seven versions I had previously. I created a new > > project etc., as above, and when I ran rake test\plugins this time it > > failed slightly differently: > > > `gem_original_require'': no such file to load -- breakpoint > > (MissingSourceFile) > > from [...]/ruby/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:27:in `require'' > > > Can anyone offer any help with this? > > > Thanks, > > > Sven--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---