hi, I have installed Instant Rails 2.0 on my machine which comes with Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do gem update rails and It seems to be fine. But when I check the version of my Rails I get the following message:>rails -vC:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in `report_activate_error'': RubyGem version error: activesupport(2.0.2 not = 2.1.0) (Gem::LoadError) from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:134:in `activate'' from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:158:in `activate'' from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `each'' from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `activate'' from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:49:in `gem'' from C:/RoR/ruby/bin/rails:18 Please help! Thanks... zhiguang --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi zhiguang, zhiguang wrote:> I have installed Instant Rails 2.0 on my machine which comes with > Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do > gem update rails and It seems to be fine. But when I check the version > of my Rails I get the following message: > > >rails -v > C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in > `report_activate_error'': RubyGem version error: activesupport(2.0.2 > not = 2.1.0) (Gem::LoadError)Looks like it didn''t get it all done. I successfully updated my copy of IR2.0 but did a gem update --system first. Also, I did gem update rails -y to include the dependencies. Also, I went back and uninstalled the down versions (e.g., rails2.0.2). It''s not supposed to be necessary but I prefer a ''clean'' copy. HTH, Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
(sorry if it is a double post, having some google-groups issues...) i''m trying to update too, so i can use the new cache features, but when i try to use the method "Rails.cache.write" in my controller i get the message "undefined method `cache'' for Rails:Module (NoMethodError)" and if i try to set the cache store ("ActionController::Base.cache_store = :memory_store") i get: "undefined method `cache_store='' for ActionController::Base:Class (NoMethodError)" the version message is "Rails 2.1.0", so i assume that the version is ok. does anyone know what could be the problem? thanks. On Jun 23, 4:08 pm, "Bill Walton" <bill.wal...-xwVYE8SWAR3R7s880joybQ@public.gmane.org> wrote:> Hi zhiguang, > > zhiguang wrote: > > I have installed Instant Rails 2.0 on my machine which comes with > > Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do > > gem update rails and It seems to be fine. But when I check the version > > of my Rails I get the following message: > > > >rails -v > > C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in > > `report_activate_error'': RubyGem version error: activesupport(2.0.2 > > not = 2.1.0) (Gem::LoadError) > > Looks like it didn''t get it all done. I successfully updated my copy of > IR2.0 but did a gem update --system first. Also, I did gem update rails -y > to include the dependencies. Also, I went back and uninstalled the down > versions (e.g., rails2.0.2). It''s not supposed to be necessary but I prefer > a ''clean'' copy. > > HTH, > Bill--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
After installed Instant Rails 2.0, I did> gem uninstall rails > gem update --system > gem update rails -yBut I got the same error message. (I also tried without this first step...) What did I miss there? Thanks... On Jun 23, 3:08 pm, "Bill Walton" <bill.wal...-xwVYE8SWAR3R7s880joybQ@public.gmane.org> wrote:> Hi zhiguang, > > zhiguang wrote: > > I have installed Instant Rails 2.0 on my machine which comes with > > Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do > > gem update rails and It seems to be fine. But when I check the version > > of my Rails I get the following message: > > > >rails -v > > C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in > > `report_activate_error'': RubyGem version error: activesupport(2.0.2 > > not = 2.1.0) (Gem::LoadError) > > Looks like it didn''t get it all done. I successfully updated my copy of > IR2.0 but did a gem update --system first. Also, I did gem update rails -y > to include the dependencies. Also, I went back and uninstalled the down > versions (e.g., rails2.0.2). It''s not supposed to be necessary but I prefer > a ''clean'' copy. > > HTH, > Bill--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
i just updated my instant rails today. i did: 1 - gem update --system 2 - gem update rails -y 3 - gem uninstall rails (not really necessary) and i had to do it twice, as the first time the update was not properly done. it could be nice to delete everything and start from scratch, i did that. zhiguang wrote:> After installed Instant Rails 2.0, I did > >> gem uninstall rails >> gem update --system >> gem update rails -y > > But I got the same error message. (I also tried without this first > step...) > > What did I miss there? Thanks...-- 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-/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 -~----------~----~----~----~------~----~------~--~---
Did you do anything between downloading/unzipping InstantRails-2.0- win.zip and your 3 steps? Here is my problem: after the 1st step, I did the following and got an ERROR message. C:\RoR2\rails_apps>gem update rails -y Updating installed gems Updating rails ERROR: While executing gem ... (Gem::InstallError) invalid gem format for C:/RoR2/ruby/lib/ruby/gems/1.8/cache/ activesupport-2. 1.0.gem Hints? Thanks... On Jun 23, 10:33 pm, Pepe Junty <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> i just updated my instant rails today. i did: > > 1 - gem update --system > 2 - gem update rails -y > 3 - gem uninstall rails (not really necessary) > > and i had to do it twice, as the first time the > update was not properly done. it could be nice > to delete everything and start from scratch, i > did that. > > zhiguang wrote: > > After installed Instant Rails 2.0, I did > > >> gem uninstall rails > >> gem update --system > >> gem update rails -y > > > But I got the same error message. (I also tried without this first > > step...) > > > What did I miss there? Thanks... > > -- > Posted viahttp://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-/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 -~----------~----~----~----~------~----~------~--~---
try gem cleanup -v, this should get rid of the old gem versions Steve On Jun 23, 2:11 pm, zhiguang <XuZhigu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi, > > I have installed Instant Rails 2.0 on my machine which comes with > Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do > gem update rails and It seems to be fine. But when I check the version > of my Rails I get the following message: > > >rails -v > > C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in > `report_activate_error'': RubyGem version error: activesupport(2.0.2 > not = 2.1.0) (Gem::LoadError) > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:134:in `activate'' > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:158:in `activate'' > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `each'' > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `activate'' > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:49:in `gem'' > from C:/RoR/ruby/bin/rails:18 > > Please help! Thanks... > zhiguang--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Steve, Thanks for the suggestion, but I alos still have this issue. See screenshot: http://screencast.com/t/DDn17ETuURQ Any ideas? Thanks, Owen On Jun 24, 11:50 am, steve <stevew1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> trygemcleanup -v, this should get rid of the oldgemversions > > Steve > > On Jun 23, 2:11 pm, zhiguang <XuZhigu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > hi, > > > I have installed Instant Rails 2.0 on my machine which comes with > > Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do > >gemupdate rails and It seems to be fine. But when I check the version > > of my Rails I get the following message: > > > >rails -v > > > C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in > > `report_activate_error'': RubyGem version error: activesupport(2.0.2 > > not = 2.1.0) (Gem::LoadError) > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:134:in `activate'' > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:158:in `activate'' > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `each'' > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `activate'' > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:49:in `gem'' > > from C:/RoR/ruby/bin/rails:18 > > > Please help! Thanks... > > zhiguang- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I had the exact same problem as you today. I ran this command and it fixed the problem: "gem uninstall rails" "gem install rails" Hope this helps. -- 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-/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 -~----------~----~----~----~------~----~------~--~---
I tried all the suggestions above but none of them worked. I just wonder isn''t updating Instant Rails (which contains Rails 2.0.2 now) to Rails 2.1.0 something simply and very desired? Shouldn''t there be some standard procedure for that? It is just so frustrated... On Jun 24, 9:48 pm, "A. C." <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I had the exact same problem as you today. I ran this command and it > fixed the problem: > > "gem uninstall rails" > "gem install rails" > > Hope this helps. > -- > Posted viahttp://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-/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 -~----------~----~----~----~------~----~------~--~---
Need to MANUALLY dowload the Activesupport 2.1 gem, install using the --local option, THEN do "gem install rails" I was told there is a repository problem... On Jun 24, 3:07 pm, Owen <owen.d...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Steve, > > Thanks for the suggestion, but I alos still have this issue. > See screenshot: > > http://screencast.com/t/DDn17ETuURQ > > Any ideas? > Thanks, > > Owen > On Jun 24, 11:50 am, steve <stevew1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > trygemcleanup -v, this should get rid of the oldgemversions > > > Steve > > > On Jun 23, 2:11 pm, zhiguang <XuZhigu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > hi, > > > > I have installed Instant Rails 2.0 on my machine which comes with > > > Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do > > >gemupdate rails and It seems to be fine. But when I check the version > > > of my Rails I get the following message: > > > > >rails -v > > > > C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in > > > `report_activate_error'': RubyGem version error: activesupport(2.0.2 > > > not = 2.1.0) (Gem::LoadError) > > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:134:in `activate'' > > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:158:in `activate'' > > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `each'' > > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `activate'' > > > from C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:49:in `gem'' > > > from C:/RoR/ruby/bin/rails:18 > > > > Please help! Thanks... > > > zhiguang- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Try: Start InstantRails Menu -> Rails Applications -> Open Ruby Console Window at prompt: gem install rails Zé Luiz. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Zé Luiz wrote:> Try: > > Start InstantRails > Menu -> Rails Applications -> Open Ruby Console Window > at prompt: gem install rails > > Z� Luiz.The above worked for me. Thanks Ze Luiz -- 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---