Hi, I just installed Rails 2.3.5 over Ruby 1.8.6 When I try to bring up Webrick now, I get: K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/site_ruby/1.8/rubygems.rb: 827:in `report_activate_error'': RubyGem version error: rack(1.0.0 not ~> 1.0.1) Gem::LoadError) When I revert to Rails 1.2.3 over Ruby 1.8.6 and try to bring up Webrick now, I get: K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/ lib/initializer.rb:328:in `send'': undefined method `session='' for ActionControlle r::Base:Class (NoMethodError) My system seems to be screwed up now. Any suggestions? -- 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.
You''d have been fine with 2.3.5 if you''d have rack 1.0.1 installed. -- 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.
Hi Steve, Thanks for your response. I solved one of my problems: the "rack(1.0.0 not ~> 1.0.1)" error: following the advice on another forum, I executed: gem install rack -v 1.0.1 That leaves another problem: I''m running "ruby script/server" in the directory, RTS containing a Rails implementation that includes the statement "RAILS_GEM_VERSION = ''2.3.5'' unless defined? RAILS_GEM_VERSION" in the file "RTS\config\environment.rb" file. I have no RAILS_GEM_VERSION environment variable among WindowsXP''s environment variables. The server script gives me the error message: K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/ lib/initializer.rb:328:in `send'': undefined method `session='' for ActionController::Base:Class (NoMethodError) Why did it reference a rails-1.2.3 gem, rather than a 2.3.5 gem, since that''s what I specified in environment.rb: On Feb 19, 6:53 pm, Steve Klabnik <steve.klab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You''d have been fine with 2.3.5 if you''d have rack 1.0.1 installed.-- 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.
High Steve, Because this topic only garnered one response today, I''m, going to post the remaining question as a new topic. Again, thanks for addressing the first question. -- Richard On Feb 19, 9:45 pm, RichardOnRails <RichardDummyMailbox58...-FtJgd9dCuO3JTKoYRCtP1UEOCMrvLtNR@public.gmane.org> wrote:> Hi Steve, > > Thanks for your response. > > I solved one of my problems: the "rack(1.0.0 not ~> 1.0.1)" error: > following the advice on another forum, I executed: > > gem install rack -v 1.0.1 > > That leaves another problem: I''m running "ruby script/server" in the > directory, RTS containing a Rails implementation that includes the > statement > > "RAILS_GEM_VERSION = ''2.3.5'' unless defined? RAILS_GEM_VERSION" > > in the file "RTS\config\environment.rb" file. I have no > RAILS_GEM_VERSION environment variable among WindowsXP''s environment > variables. > > The server script gives me the error message: > > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/ > lib/initializer.rb:328:in `send'': undefined method `session='' for > ActionController::Base:Class (NoMethodError) > > Why did it reference a rails-1.2.3 gem, rather than a 2.3.5 gem, > since that''s what I specified in environment.rb: > > On Feb 19, 6:53 pm, Steve Klabnik <steve.klab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > You''d have been fine with 2.3.5 if you''d have rack 1.0.1 installed.-- 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.