When I start the server after the timeout doing the install of activescaffold, ruby script/server causes the following. Seems to happen if I'm using 2.2.2 or the current version.
=> Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails 2.2.2 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... Exiting C:/InstantRailsAS/rails_apps/cidr/vendor/plugins/active_scaffold/ init.rb:5:in `e valuate_init_rb': This version of ActiveScaffold requires Rails 2.3 or higher. Please use an earlier version. (RuntimeError) from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/rails/plugin.rb:103:in `evaluate_init_rb' from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/ activesupport-2.2.2/lib/active_support/core_ext/kernel/reporting.rb: 11:in `silence_warnings' from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/rails/plugin.rb:99:in `evaluate_init_rb' from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/rails/plugin.rb:44:in `load' from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/rails/plugin/loader.rb:33:in `load_plugins' from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/rails/plugin/loader.rb:32:in `each' from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/rails/plugin/loader.rb:32:in `load_plugins' from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/initializer.rb:323:in `load_plugins' ... 30 levels... from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/commands/server.rb:49 from C:/InstantRailsAS/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31:in `gem_original_require' from C:/InstantRailsAS/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31:in `require' from script/server:3 On Jul 22, 12:37 pm, Kenny Ortmann <[email protected]> wrote: > what is the error that it gives you when you try to start the server? > > > > On Wed, Jul 22, 2009 at 9:07 AM, mike <[email protected]> wrote: > > > I made a mistake with the cut and past the install command into my > > message. There is a blank missing in 'installhttp://', should have > > been 'install http://' as follows. It doesn't change the problem, I > > just pasted the wrong stuff into my post. > > > ruby script/plugin install > >http://github.com/activescaffold/active_scaffold.git/ > > -r <http://github.com/activescaffold/active_scaffold.git/%0A-r>rails-2.2.2 > > > Are there file(s) can I download directly, rather than using script/ > > plugin? I tried the rails-2.2 zip file at > >http://github.com/activescaffold/active_scaffold/downloadsbut that > > fails to run when I start rails. Is it enough to just expand this zip > > into the vendor\plugins folder? > > > On Jul 22, 8:50 am, ironruby <[email protected]> wrote: > > > I do the following: > > > > gem install rails --version 2.2.2 > > > ruby script/plugin installhttp:// > > github.com/activescaffold/active_scaffold.git/ > > > -r rails-2.2.2 > > > > Note that I'm using http: instead of git: and I've added the extra '/' > > > at the end. Without this it doesn't work at all on windows. > > > > The plugin install starts and runs until it gets to '+ ./uninstall.rb' > > > which causes `rbuf_fill': execution expired (Timeout::Error). Details > > > below. Same thing happens for other version of rails and the plugin > > > that I've tried. Is there any other way to install that works? > > > > + ./CHANGELOG > > > + ./MIT-LICENSE > > > + ./README > > > + ./Rakefile > > > + ./environment.rb > > > + ./frontends/default/images/add.gif > > > + ./frontends/default/images/arrow_down.gif > > > + ./frontends/default/images/arrow_up.gif > > > + ./frontends/default/images/close.gif > > > ... > > > + ./test/model_stub.rb > > > + ./test/run_all.rb > > > + ./test/test_helper.rb > > > + ./uninstall.rb > > > C:/InstantRailsAS/ruby/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': > > > execution expired (Timeout::Error) > > > from C:/InstantRailsAS/ruby/lib/ruby/1.8/timeout.rb:56:in > > > `timeout' > > > from C:/InstantRailsAS/ruby/lib/ruby/1.8/timeout.rb:76:in > > > `timeout' > > > from C:/InstantRailsAS/ruby/lib/ruby/1.8/net/protocol.rb: > > > 132:in `rbuf_fill' > > > from C:/InstantRailsAS/ruby/lib/ruby/1.8/net/protocol.rb: > > > 116:in `readuntil' > > > from C:/InstantRailsAS/ruby/lib/ruby/1.8/net/protocol.rb: > > > 126:in `readline' > > > from C:/InstantRailsAS/ruby/lib/ruby/1.8/net/http.rb:2029:in > > > `read_status_line' > > > from C:/InstantRailsAS/ruby/lib/ruby/1.8/net/http.rb:2018:in > > > `read_new' > > > from C:/InstantRailsAS/ruby/lib/ruby/1.8/net/http.rb:1059:in > > > `request' > > > ... 14 levels... > > > from C:/InstantRailsAS/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ > > > lib/commands/plugin.rb:967 > > > from C:/InstantRailsAS/ruby/lib/ruby/site_ruby/1.8/rubygems/ > > > custom_require.rb:31:in `gem_original_require' > > > from C:/InstantRailsAS/ruby/lib/ruby/site_ruby/1.8/rubygems/ > > > custom_require.rb:31:in `require' > > > from script/plugin:3- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
