Active_scaffold config issue? Complains about rails 2.2.2 dependency

Howdy all,

Trying to start WEBrick. The error is displayed “This version of
ActiveScaffold requires Rails 2.2 or higher. Please use an earlier
version. (RuntimeError)”

“gem list” shows “rails 2.2.2”, so looks like the proper version is
present.

What am I missing? Is this a config issue? Or is this a coding
error? Any ideas?

Many thanks!

(BTW, errantly posted this in the comp.lang.ruby a few min ago.
Apologies.)

$ ruby script/server
=> Booting WEBrick…
/home/drub/src/ruby/soccer/vendor/plugins/active_scaffold/init.rb:5:in
evaluate_init_rb': This version of ActiveScaffold requires Rails 2.2 or higher. Please use an earlier version. (RuntimeError) from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb: 79:inevaluate_init_rb’
from /home/drub/src/ruby/soccer/vendor/rails/activesupport/lib/
active_support/core_ext/kernel/reporting.rb:11:in silence_warnings' from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb: 75:inevaluate_init_rb’
from ./script/…/config/…/vendor/rails/railties/lib/rails/plugin.rb:
39:in load' from ./script/../config/../vendor/rails/railties/lib/rails/plugin/ loader.rb:33:inload_plugins’
from ./script/…/config/…/vendor/rails/railties/lib/rails/plugin/
loader.rb:32:in each' from ./script/../config/../vendor/rails/railties/lib/rails/plugin/ loader.rb:32:inload_plugins’
from ./script/…/config/…/vendor/rails/railties/lib/initializer.rb:
189:in load_plugins' ... 14 levels... from /home/drub/src/ruby/soccer/vendor/rails/activesupport/lib/ active_support/dependencies.rb:496:inrequire’
from /home/drub/src/ruby/soccer/vendor/rails/railties/lib/commands/
server.rb:39
from script/server:3:in `require’
from script/server:3
$
$ gem list

*** LOCAL GEMS ***

actionmailer (2.2.2)
Service layer for easy email delivery and testing.

actionpack (2.2.2)
Web-flow and rendering framework putting the VC in MVC.

activerecord (2.2.2)
Implements the ActiveRecord pattern for ORM.

activeresource (2.2.2)
Think Active Record for web resources.

activesupport (2.2.2)
Support and utility classes used by the Rails framework.

assignment (0.0.1)
Library for completing assignments

rails (2.2.2)
Web-application framework with template engine, control-flow
layer,
and ORM.

rake (0.8.3)
Ruby based make-like utility.

sources (0.0.1)
This package provides download sources for remote gem installation

Maybe you have rails version configured in environment.rb?

No its the problem with plugin , try to remove/uninstall the plugin and
install it again (by specifying the rails-2.2 version)

script/plugin install
git://github.com/activescaffold/active_scaffold.git -r rails-2.2