errors w/ webrick, gem & rails on new install

Discussion in 'Ruby' started by Patrick Smith, Sep 6, 2005.

  1. 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
     
    Patrick Smith, Sep 6, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. J. D.
    Replies:
    9
    Views:
    171
    Jamis Buck
    Nov 4, 2004
  2. Lloyd Zusman
    Replies:
    2
    Views:
    404
  3. Une Bévue

    sudo gem install -r webrick FAILED

    Une Bévue, Oct 21, 2006, in forum: Ruby
    Replies:
    2
    Views:
    110
    Eric Hodel
    Oct 23, 2006
  4. Austin 7873
    Replies:
    5
    Views:
    190
    Eric Hodel
    Jan 27, 2007
  5. Aaron Smith

    WEBrick::Daemon and WEBrick

    Aaron Smith, Mar 9, 2007, in forum: Ruby
    Replies:
    2
    Views:
    317
    Aaron Smith
    Mar 18, 2007
Loading...

Share This Page