# Ruby script console error in edge version

**URL:** <https://www.ruby-forum.com/t/ruby-script-console-error-in-edge-version/93264>\
**Category:** Rails\
**Created:** [April 30, 2007, 6:32am UTC](https://www.ruby-forum.com/t/ruby-script-console-error-in-edge-version/93264 "2007-04-30T06:32:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rinda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ce73a5/32.png) [@rinda](https://www.ruby-forum.com/u/rinda)\
**Post date:** [April 30, 2007, 6:32am UTC](https://www.ruby-forum.com/t/ruby-script-console-error-in-edge-version/93264/1 "2007-04-30T06:32:07Z")

</div>

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](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.
