drub
2009-Jan-30 03:15 UTC
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: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/ 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andrius Chamentauskas
2009-Feb-01 14:19 UTC
Re: active_scaffold config issue? Complains about rails 2.2.2 dependency.
Maybe you have rails version configured in environment.rb? On Jan 30, 5:15 am, drub <drubd...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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: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/ > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Balaji D loganathan
2009-Apr-03 11:31 UTC
Re: active_scaffold config issue? Complains about rails 2.2.2 dependency.
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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---