My app was fine before "rake freeze_edge" but after, I can no longer boot up webrick. I''m on Win Xp MySql backend and this is what I get => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/ker nel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create (Errno::ENOEXEC) from ./script/../config/../vendor/rails/activesupport/lib/active_support /core_ext/kernel/agnostics.rb:7:in ``'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb: 28 from ./script/../config/../vendor/rails/railties/lib/commands/server.rb: 28:in `silence_stderr'' from ./script/../config/../vendor/rails/activesupport/lib/active_support /core_ext/kernel/reporting.rb:26:in `silence_stream'' from ./script/../config/../vendor/rails/activesupport/lib/active_support /core_ext/kernel/reporting.rb:26:in `silence_stderr'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb: 28 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `re quire__'' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `re quire'' from script/server:3 Why does edge rails hate me so! Any help or insight or things to look for would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060307/4b8b000f/attachment.html
Hi Curtis, I''m also having these problems, so I guess I can''t help you, but just for everyone''s interest: I use Rake 0.7.0, Ruby 1.8.4. on Windows using MySQL 4.1. and EgdeRails. I did all this because of having the RJS templates and as RJS isn''t working somehow, I deleted my vendor/rails (to having WEBrick run again) and I wait for Rails 1.1.... It''s sad but I didn''t find any solution on this. Jan Am 07.03.2006 um 19:15 Uhr schrieb Curtis Edmond:> My app was fine before "rake freeze_edge" but after, I can no longer boot up > webrick.> I''m on Win Xp MySql backend and this is what I get=>> Booting WEBrick...> ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/ker > nel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create > (Errno::ENOEXEC) > from > ./script/../config/../vendor/rails/activesupport/lib/active_support > /core_ext/kernel/agnostics.rb:7:in ``'' > from > ./script/../config/../vendor/rails/railties/lib/commands/server.rb: > 28 > from > ./script/../config/../vendor/rails/railties/lib/commands/server.rb: > 28:in `silence_stderr'' > from > ./script/../config/../vendor/rails/activesupport/lib/active_support > /core_ext/kernel/reporting.rb:26:in `silence_stream'' > from > ./script/../config/../vendor/rails/activesupport/lib/active_support > /core_ext/kernel/reporting.rb:26:in `silence_stderr'' > from > ./script/../config/../vendor/rails/railties/lib/commands/server.rb: > 28 > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in > `re > quire__'' > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in > `re > quire'' > from script/server:3> Why does edge rails hate me so! Any help or insight or things to look for > would be greatly appreciated.
Curtis A few people are having this issue: I had the same windows issue comment line (28) out as below in the following file - vendor\rails\railties\lib\commands\server.rb #silence_stderr { `rake tmp:create` } You can run rake tmp:create manually if needed. Then webrick ran fine for me. I have not followed through any further as to why this is an issue. Hope this helps Frazer On 3/7/06, Jan Deppisch <mail@netzartist.de> wrote:> > Hi Curtis, > > I''m also having these problems, so I guess I can''t help you, but just > for everyone''s interest: I use Rake 0.7.0, Ruby 1.8.4. on Windows using > MySQL 4.1. and EgdeRails. I did all this because of having the RJS > templates and as RJS isn''t working somehow, I deleted my vendor/rails > (to having WEBrick run again) and I wait for Rails 1.1.... It''s sad but > I didn''t find any solution on this. > > Jan > > Am 07.03.2006 um 19:15 Uhr schrieb Curtis Edmond: > > My app was fine before "rake freeze_edge" but after, I can no longer > boot up > > webrick. > > > I''m on Win Xp MySql backend and this is what I get > > =>> Booting WEBrick... > > > ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/ker > > nel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create > > (Errno::ENOEXEC) > > from > > ./script/../config/../vendor/rails/activesupport/lib/active_support > > /core_ext/kernel/agnostics.rb:7:in ``'' > > from > > ./script/../config/../vendor/rails/railties/lib/commands/server.rb: > > 28 > > from > > ./script/../config/../vendor/rails/railties/lib/commands/server.rb: > > 28:in `silence_stderr'' > > from > > ./script/../config/../vendor/rails/activesupport/lib/active_support > > /core_ext/kernel/reporting.rb:26:in `silence_stream'' > > from > > ./script/../config/../vendor/rails/activesupport/lib/active_support > > /core_ext/kernel/reporting.rb:26:in `silence_stderr'' > > from > > ./script/../config/../vendor/rails/railties/lib/commands/server.rb: > > 28 > > from > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `re > > quire__'' > > from > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `re > > quire'' > > from script/server:3 > > > > > > Why does edge rails hate me so! Any help or insight or things to look > for > > would be greatly appreciated. > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060307/ec95f1a7/attachment-0001.html
Thanks Jan. That has cured that error. No webrick can boot up but when I try to access any section, I get this: undefined method `verify_active_connections!'' for ActiveRecord::Base:Class RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:991:in `method_missing'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:70:in `prepare_application'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:37:in `dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:115:in `handle_dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:81:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:67:in `dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/commands/servers/webrick.rb:59 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require__'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:149:in `require'' #{RAILS_ROOT}/vendor/rails/railties/lib/commands/server.rb:29 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require__'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'' script/server:3 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060307/47a7fb9b/attachment-0001.html
Curtis if you are on ruby 1.8.2 try upgrading to 1.8.4, this worked for me. Frazer On 3/7/06, Curtis Edmond <curtis.edmond@gmail.com> wrote:> > Thanks Jan. That has cured that error. No webrick can boot up but when I > try to access any section, I get this: > > > undefined method `verify_active_connections!'' for ActiveRecord::Base:Class > RAILS_ROOT: ./script/../config/.. > > Application Trace | Framework Trace | Full Trace > c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:991:in > `method_missing'' > #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:70:in > `prepare_application'' > #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:37:in `dispatch'' > #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:115:in > `handle_dispatch'' > #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:81:in `service'' > c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' > c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' > c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' > c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'' > c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' > c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'' > c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'' > c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'' > c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' > c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' > #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:67:in `dispatch'' > #{RAILS_ROOT}/vendor/rails/railties/lib/commands/servers/webrick.rb:59 > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in > `require__'' > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'' > #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:149:in > `require'' > #{RAILS_ROOT}/vendor/rails/railties/lib/commands/server.rb:29 > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in > `require__'' > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'' > > script/server:3 > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060307/0a27fbb6/attachment.html
Thanks Frazer. That seemed to do it. It also seems like the acts_as_taggable gem (not the plug in) doesn''t like ruby 1.8.4 either. Time to upgrade to the acts_as_taggable plug in... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060307/31d3435a/attachment.html
I''m having the same issue as above, yet I have 1.8.4. But, I also am using the acts_as_taggable plugin... are you getting the same error for that, or a different error? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060307/4f30fee7/attachment.html
Brian, I was getting a different error that specified that the source was acts_as_taggable. I was using the acts_as_taggable gem which is different than the plug in. Which one are you running and what''s the error? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060308/8b702b65/attachment.html
I was also running the gem. My original purpose for running Edge Rails was to try the plugin, although now that you mention it, I don''t think I ever tried removing the gem, because I never got Edge Rails running. Maybe that would have solved it. Did you do that? On 3/8/06, Curtis Edmond <curtis.edmond@gmail.com> wrote:> > Brian, > > I was getting a different error that specified that the source was > acts_as_taggable. I was using the acts_as_taggable gem which is different > than the plug in. Which one are you running and what''s the error? > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060308/2683eccf/attachment.html
Brian, Yup. I had to remove the acts_as_Taggable gem and remove the references to it in my environment.rb file. The reference being require gem ''acts_as_taggable'' The plugin won''t use this and it will break your app if you''ve removed the acts_as_taggable gem. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060308/e9f6ad1c/attachment.html
The new plugin WILL break your app? In other words, neither works currently with Edge Rails? On 3/8/06, Curtis Edmond <curtis.edmond@gmail.com> wrote:> > Brian, > > Yup. I had to remove the acts_as_Taggable gem and remove the references to > it in my environment.rb file. The reference being > > require gem ''acts_as_taggable'' > > The plugin won''t use this and it will break your app if you''ve removed the > acts_as_taggable gem. > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060308/7a142d0e/attachment.html
The plug in works on edge rails, I got it working this morning actually. What I meant was you can''t use both the acts_as_taggable gem and the acts_as_taggable plugin in the same application. From my experience it''s either one or the other. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060308/ade24542/attachment.html
Ah, gotcha. That''s fine. Except that I''m kind of bitter that I didn''t realize that when I spent 2 days trying to get Edge Rails working, and giving up :-P -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060308/4b03b14b/attachment.html