Forum: Ruby on Rails ruby script console error in edge version

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
05337aed68267daec2996e5ca732d476?d=identicon&s=25 Akbar Home (rinda)
on 2007-04-30 06:32
(Received via mailing list)
Hi,

I try to play with edge version of rails. Maybe someday I could be
rails contributor. :)
Ok, based on rails recipe books by martin, I do this:
$ rails example_rails_hack  (I have rails 1.2 version)
$ cd example_rails_hack/vendor
$ svn co http://svn.rubyonrails.org/rails/trunk rails

The fast way to play with this edge version is through console. So....
$ cd ..
$ ruby script/console

But I got this error:
Loading development environment.
/home/knight/work/code/ruby/example_rails_hack/vendor/rails/
activerecord/lib/../../activesupport/lib/active_support/
dependencies.rb:477:in `const_missing':NameError: uninitialized
constant ActionController::Base::DEPRECATED_INSTANCE_VARIABLES
/home/knight/work/code/ruby/example_rails_hack/app/controllers/
application.rb:6:NoMethodError: undefined method `session' for
ApplicationController:Class

Any idea how to fix this?

Thank you.
This topic is locked and can not be replied to.