Running Ruby 1.8.7, Rails 3.0.7 on a machine running Windows 7 - tried to upgrade to Ruby 1.9.2 on the weekend, but ran into problems since it has since returned to 1.8.7. After restoring my application and reinstalling all the gems, the application finally starts with s rails:
=> Booting WEBrick => Rails 3.0.7 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2011-08-15 14:05:28] INFO WEBrick 1.3.1 [2011-08-15 14:05:28] INFO ruby 1.8.7 (2011-02-18) [i386-mingw32] [2011-08-15 14:05:28] INFO WEBrick::HTTPServer
but I canβt access the site. Browsers just sit there "Waiting for a local host ..." and there is no way out of the rails. I am at a loss how to even investigate this, or what could be causing the problem? As far as I can tell, MySQL is up and running. In fact, I can even successfully launch and use the console through the rails console, but WEBrick refuses to deliver any pages to me. Are there any magazines I should look at? Or does anyone know what might cause this behavior?
The only errors I get is when I close the server, so I canβt say how relevant they are, but here is what I get:
`[2011-08-15 13:59:24] ERROR Errno::ECONNABORTED: An established connection was aborted by the software in your host machine. C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpresponse.rb:324:in`write' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpresponse.rb:324:in`<<' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpresponse.rb:324:in`_write_data' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpresponse.rb:180:in`send_header' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpresponse.rb:103:in`send_response' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpserver.rb:79:in `run' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:162:in `start' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:95:in `start' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:92:in `each' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:92:in `start' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:23:in `start' C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:82:in `start' C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/handler/webrick.rb:13:in `run' C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/server.rb:217:in `start' C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands/server.rb:65:in `start' C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:30 C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27:in `tap' C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27 script/rails:6:in `require' script/rails:6 C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/whiny_nil.rb:48:in `method_missing': undefined method `shutdown' for nil:NilClass (NoMethodError) from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/handler/webrick.rb:17:in `shutdown' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/server.rb:211:in `start' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:113:in `call' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:113:in `join' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:113:in `start' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:113:in `each' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:113:in `start' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:23:in `start' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:82:in `start' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/handler/webrick.rb:13:in `run' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/server.rb:217:in `start' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands/server.rb:65:in `start' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:30 from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27:in `tap' from C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27 from script/rails:6:in `require' from script/rails:6`
It is impossible to find anything else to even explore. The only thing that bothers me is that I did an update for Windows and collected a dozen or two new Windows patches during the [attempt] update on the weekend, is it hard to imagine that this will cause this?
Other information about the environment (as far as I can tell, none of them has changed since the update):
D:\dev\src\soletron\Sites\soletronspree>gem env RubyGems Environment: - RUBYGEMS VERSION: 1.8.5 - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32] - INSTALLATION DIRECTORY: C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8 - RUBY EXECUTABLE: C:/RailsInstaller/Ruby1.8.7/bin/ruby.exe - EXECUTABLE DIRECTORY: C:/RailsInstaller/Ruby1.8.7/bin - RUBYGEMS PLATFORMS: - ruby - x86-mingw32 - GEM PATHS: - C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8 - C:/Users/aslepak/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ D:\dev\src\soletron\Sites\soletronspree>rails -v Rails 3.0.7 D:\dev\src\soletron\Sites\soletronspree>bundle list Gems included by the bundle: * abstract (1.0.0) * actionmailer (3.0.7) * actionpack (3.0.7) * activemerchant (1.14.0) * activemodel (3.0.7) * activerecord (3.0.7) * activeresource (3.0.7) * activesupport (3.0.7) * acts_as_list (0.1.2) * addressable (2.2.6) * arel (2.0.10) * aws-s3 (0.6.2) * bcrypt-ruby (2.1.4) * braintree (2.10.2) * builder (2.1.2) * bundler (1.0.17) * cancan (1.6.4) * crack (0.1.8) * deface (0.5.2a 21574e8) * devise (1.3.3) * erubis (2.6.6) * evernote (1.1.0) * faker (0.9.5) * faraday (0.6.1) * fgraph (0.6.1) * heroku (2.4.1) * highline (1.5.1) * httparty (0.7.8) * i18n (0.5.0) * jquery-rails (0.2.6) * koala (1.1.0) * launchy (2.0.5) * mail (2.2.19) * meta_search (1.0.5) * mime-types (1.16) * multi_json (1.0.3) * multi_xml (0.2.2) * multipart-post (1.1.3) * mysql2 (0.2.6) * nested_set (1.6.4) * nokogiri (1.5.0) * oa-core (0.2.6) * oa-oauth (0.2.6) * oauth (0.4.5) * oauth2 (0.4.1) * orm_adapter (0.0.5) * paperclip (2.3.8) * polyglot (0.3.2) * rack (1.2.3) * rack-mount (0.6.14) * rack-test (0.5.7) * rails (3.0.7) * railties (3.0.7) * rake (0.9.2) * rd_find_by_param (0.1.1) * rd_resource_controller (1.0.1) * rd_unobtrusive_date_picker (0.1.0) * rest-client (1.6.3) * sequel (3.20.0) * sinatra (1.0) * spree (0.60.0) * spree_api (0.60.0) * spree_auth (0.60.0) * spree_core (0.60.0) * spree_dash (0.60.0) * spree_heroku (1.1.0 0471de9) * spree_promo (0.60.0) * spree_sample (0.60.0) * spree_social (1.1) * sqlite3 (1.3.4) * sqlite3-ruby (1.3.3) * state_machine (0.9.4) * stringex (1.0.3) * taps (0.3.23) * term-ansicolor (1.0.6) * thor (0.14.6) * thrift (0.6.0) * thrift_client (0.6.3) * treetop (1.4.10) * tzinfo (0.3.29) * warden (1.0.5) * will_paginate (3.0.pre2) * xml-simple (1.1.0)
source share