Forum: Ruby on Rails active_scaffold config issue? Complains about rails 2.2.2 dependency.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
drub (Guest)
on 2009-01-31 13:51
(Received via mailing list)
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

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.

$ ruby script/server
=> Booting WEBrick...
`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:in `evaluate_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:in `evaluate_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:in `load_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:in `load_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:in `require'
  from /home/drub/src/ruby/soccer/vendor/rails/railties/lib/commands/
  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
    and ORM.

rake (0.8.3)
    Ruby based make-like utility.

sources (0.0.1)
    This package provides download sources for remote gem installation
Andrius C. (Guest)
on 2009-02-01 16:20
(Received via mailing list)
Maybe you have rails version configured in environment.rb?
Balaji D. (Guest)
on 2009-04-03 15:31
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:// -r rails-2.2
This topic is locked and can not be replied to.