Friday, February 19, 2010

[Rails] Re: What's the latest reliable version of Rails 2?

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...@USComputerGurus.com> 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...@gmail.com> 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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate