Hello All,
I am doing the depot appliction.
I was first installed Instant Rails 2.0 on my machine.
got error in getting scaffold :product
then after searching in forum took the 1.2.6 version using the below
command
gem install rails --version 1.2.6 --include-dependencies
Now i am getting the error after starting the server
ruby script/server
got the below error
D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:334:in
send': undefined method
session=’ for ActionController::Base:Class
(NoMethodError)
from
D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:334:in
initialize_framework_settings' from D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:333:in
each’
from
D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:333:in
initialize_framework_settings' from D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:330:in
each’
from
D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:330:in
initialize_framework_settings' from D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:100:in
process’
from
D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:47:in
send' from D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:47:in
run’
… 27 levels…
from
D:/Rails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/server.rb:39
from
D:/Rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from D:/Rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from script/server:3