Hello,
I have been attempting to get a WEBrick web server up and running using
the ‘ruby script/server’ command the console (cygwin) but when I do it
seems to hang there, I cannot exit with ctrl d or ctrl c.
I get the following print out when I run ‘ruby -w script/server’.
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:334:
warning: *' interpreted as argument prefix /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:363: warning:
’ interpreted as argument prefix
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/migration.rb:224:
warning: instance variable @ignore_new_methods not initializ
ed
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/migration.rb:224:
warning: instance variable @ignore_new_methods not initializ
ed
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:
warning: method r
edefined; discarding old allow_concurrency=
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:456:
warning: method redefined; disca
rding old remove_column
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/oracle_adapter.rb:119:
warning: (…) interpreted as group
ed expression
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/request.rb:171:
warning: method redefined; discarding old relative_url_root
/usr/local/lib/ruby/1.8/cgi/session/pstore.rb:17: warning: method
redefined; discarding old []=
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_ext/raw_post_data_fix.rb:57:
warning: ambiguous first argument; put pare
ntheses or even spaces
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_ext/raw_post_data_fix.rb:8:
warning: method redefined; discarding old in
itialize_query
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session/active_record_store.rb:129:
warning: private attribute?
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session/active_record_store.rb:179:
warning: method redefined; discarding ol
d connection
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/helpers/prototype_helper.rb:641:
warning: ambiguous first argument; put parenthese
s or even spaces
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/helpers/prototype_helper.rb:874:
warning: `’ interpreted as argument prefix
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/vendor/tmail/facade.rb:486:
warning: method redefined; discarding old create_re
ply
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.6/lib/action_web_service/protocol/xmlrpc_protocol.rb:6:
warning: discarding old message
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:581:
warning: method redefined; discarding old []=
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:590:
warning: method redefined; discarding old []
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:595:
warning: method redefined; discarding old keys
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:600:
warning: method redefined; discarding old find_pair
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:607:
warning: method redefined; discarding old []=
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:611:
warning: method redefined; discarding old []
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:615:
warning: method redefined; discarding old method_missing
Given I have not successfully run a webserver I have no idea whether
these messages are normal or not. If anyone could shed any light on the
print out it would be greatly appreciated.
Thanks in advance,
Matt.