errors w/ webrick, gem & rails on new install

P

Patrick Smith

Hi,

I just installed ruby 1.8.2, gem 0.8.11 and the latest gem of rails on
RH 9.

I followed these directions pretty much to the letter and installation
went without a hitch.
http://wiki.rubyonrails.com/rails/show/Ruby+and+Rails+on+Red+Hat+Enterpr
ise+Linux

Now, though, I'm getting loads of errors on starting up webrick (via
rails 'script/server') or running 'gem' or 'rails' (no errors on running
ruby or irb).

For example, this is from starting up webrick:

-------------------------------------
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/class_inheritable_attributes.rb:116: warning: discarding old inherited
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:6: warning: method redefined;
discarding old pluralize
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:17: warning: method redefined;
discarding old singularize
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:28: warning: method redefined;
discarding old camelize
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:32: warning: method redefined;
discarding old underscore
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:36: warning: method redefined;
discarding old humanize
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:40: warning: method redefined;
discarding old demodulize
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:44: warning: method redefined;
discarding old tableize
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:48: warning: method redefined;
discarding old classify
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:52: warning: method redefined;
discarding old foreign_key
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:57: warning: method redefined;
discarding old constantize
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:64: warning: method redefined;
discarding old uncountable_words
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:68: warning: method redefined;
discarding old plural_rules
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/core_ext/string/../../inflector.rb:93: warning: method redefined;
discarding old singular_rules
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/clean_logger.rb:15: warning: method redefined; discarding old
format_message
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/dependencies.rb:177: warning: method redefined; discarding old
const_missing
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/
validations.rb:313: warning: `*' interpreted as argument prefix
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/
validations.rb:342: warning: `*' interpreted as argument prefix
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/
connection_adapters/abstract_adapter.rb:427: warning: method redefined;
discarding old supports_migrations?
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/
connection_adapters/oci_adapter.rb:58: warning: (...) interpreted as
grouped expression
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/
query_cache.rb:47: warning: redefine connection=
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller
/request.rb:165: 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.9.1/lib/action_controller
/cgi_ext/raw_post_data_fix.rb:8: warning: method redefined; discarding
old initialize_query
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller
/session/active_record_store.rb:128: warning: redefine connection
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.0.1/lib/action_mailer/a
dv_attr_accessor.rb:31: warning: redefine append_features
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.0.1/lib/action_mailer/a
dv_attr_accessor.rb:37: warning: method redefined; discarding old
adv_attr_accessor
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.0.1/lib/action_mailer/q
uoting.rb:54: warning: method redefined; discarding old quoted_printable
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.0.1/lib/action_mailer/q
uoting.rb:66: warning: method redefined; discarding old
quote_if_necessary
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.0.1/lib/action_mailer/q
uoting.rb:73: warning: method redefined; discarding old
quote_any_if_necessary
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.0.1/lib/action_mailer/q
uoting.rb:82: warning: method redefined; discarding old
quote_address_if_necessary
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.0.1/lib/action_mailer/q
uoting.rb:95: warning: method redefined; discarding old
quote_any_address_if_necessary
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.0.1/lib/action_mailer/v
endor/tmail/facade.rb:467: warning: method redefined; discarding old
create_reply
/usr/local/lib/ruby/1.8/net/https.rb:121: warning: method redefined;
discarding old edit_path
/usr/local/lib/ruby/1.8/net/https.rb:130: warning: redefine socket_type
/usr/local/lib/ruby/1.8/net/https.rb:157: warning: method redefined;
discarding old on_connect
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller
/routing.rb:86: warning: instance variable @optional not initialized
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller
/routing.rb:86: warning: instance variable @optional not initialized
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller
/routing.rb:86: warning: instance variable @optional not initialized
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller
/routing.rb:86: warning: instance variable @optional not initialized
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:14:
warning: method redefined; discarding old stdinput
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:18:
warning: method redefined; discarding old env_table
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:22:
warning: method redefined; discarding old initialize
=> Rails application started on http://localhost:8080
[2005-09-05 18:02:06] INFO WEBrick 1.3.1
[2005-09-05 18:02:06] INFO ruby 1.8.2 (2004-12-25) [i686-linux]
/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/breakpoint.rb:463:
warning: redefine parse_opts
-------------------------------------

Any ideas or pointers?

thanks,
Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top