Trying to get an app up and running with Edge Rails, and I’ve run into
different issues on Mac and Windows with the exact same code. It’s
similar
to the issue posted in the previous RJS/Edge Rails thread, but I didn’t
see
any answers in there (maybe I missed the real answer?) Both
console/error
outputs listed below:
I can’t even get WEBrick to start on windows (mac to follow):
=> Booting WEBrick…
./script/…/config/…/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb:7:i
n ': Exec format error - rake tmp:create (Errno::ENOEXEC) from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agn ostics.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_stder r' from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/rep orting.rb:26:in
silence_stream’
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support/core_ext/kernel/rep
orting.rb:26:in silence_stderr' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 from c:/software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
require__’
from
c:/software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require’
#########################
On Mac, WEBrick boots, but action I hit gives me:
undefined method verify_active_connections!' for ActiveRecord::Base:Class /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:991:in
method_missing’
./script/…/config/…/vendor/rails/railties/lib/dispatcher.rb:70:in
prepare_application' ./script/../config/../vendor/rails/railties/lib/dispatcher.rb:37:in
dispatch’
./script/…/config/…/vendor/rails/railties/lib/webrick_server.rb:115:in
handle_dispatch' ./script/../config/../vendor/rails/railties/lib/webrick_server.rb:81:in
service’
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in
run’
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in
start_thread’
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in
start’
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in start' /usr/local/lib/ruby/1.8 /webrick/server.rb:82:in
start’
./script/…/config/…/vendor/rails/railties/lib/webrick_server.rb:67:in
dispatch' ./script/../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:59 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require’
./script/…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:149:in
`require’
./script/…/config/…/vendor/rails/railties/lib/commands/server.rb:29
script/server:3
Any ideas?