Missing required 'path' module?

Discussion in 'Ruby' started by Mike A. Kenny, Nov 19, 2006.

  1. Hi,

    I hope this is the coorect list to post this type of query to. If not please let me know to where it should be directed.

    I am running Ubuntu 6.06 with ruby 1.8.4, rails 1.1.6 and gem 0.8.11

    I have created an empty application and added the method 'hello' to the controller. When I try to access this in webbrick my broswer page is blank and the output from the server is:

    127.0.0.1 - - [19/Nov/2006:10:37:09 SAST] "GET /grope/hello HTTP/1.1" 200 0
    - -> /grope/hello
    [2006-11-19 10:37:09] ERROR MissingSourceFile: no such file to load -- irb
    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/breakpoint.rb:18
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:56:in `require_or_load'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:30:in `depend_on'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:85:in `require_dependency'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:98:in `const_missing' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in `const_missing'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in `const_missing'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:75:in `reset_after_dispatch'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:46:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/webrick_server.rb:115:in `handle_dispatch'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/webrick_server.rb:81:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/webrick_server.rb:67:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/servers/webrick.rb:59
    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'
    /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/server.rb:30
    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'
    script/server:3

    If I look in custom_require.rb is appears that I am missing the package 'path'.

    What am I missing here? And what do I need to do to correct it?

    --
    mike kenny
    Linux Registered User #381724
    LPI ID# 80080

    "Hell, there are no rules here, we're just trying to accomplish something"
    Thomas Edison
     
    Mike A. Kenny, Nov 19, 2006
    #1
    1. Advertising

  2. Mike A. Kenny

    kij Guest

    Mike A. Kenny wrote:
    >
    > I am running Ubuntu 6.06 with ruby 1.8.4, rails 1.1.6 and gem 0.8.11
    >
    > I have created an empty application and added the method 'hello' to the controller. When I try to access this in webbrick my broswer page is blank and the output from the server is:
    >
    > 127.0.0.1 - - [19/Nov/2006:10:37:09 SAST] "GET /grope/hello HTTP/1.1" 200 0
    > - -> /grope/hello
    > [2006-11-19 10:37:09] ERROR MissingSourceFile: no such file to load -- irb
    > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
    > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
    > /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in


    Hey Mike,
    my guess is you need to install irb - properly something like: apt-get
    install irb

    /Kevin
     
    kij, Nov 19, 2006
    #2
    1. Advertising

  3. Mike A. Kenny

    Eric Hodel Guest

    On Nov 19, 2006, at 12:41 AM, Mike A. Kenny wrote:

    > Hi,
    >
    > I hope this is the coorect list to post this type of query to. If
    > not please let me know to where it should be directed.
    >
    > I am running Ubuntu 6.06 with ruby 1.8.4, rails 1.1.6 and gem 0.8.11
    >
    > I have created an empty application and added the method 'hello' to
    > the controller. When I try to access this in webbrick my broswer
    > page is blank and the output from the server is:
    >
    > 127.0.0.1 - - [19/Nov/2006:10:37:09 SAST] "GET /grope/hello HTTP/
    > 1.1" 200 0
    > - -> /grope/hello
    > [2006-11-19 10:37:09] ERROR MissingSourceFile: no such file to load
    > -- irb
    >
    > If I look in custom_require.rb is appears that I am missing the
    > package 'path'.


    No, you're missing irb.

    > What am I missing here? And what do I need to do to correct it?


    You haven't performed a full install of ruby.

    --
    Eric Hodel - - http://blog.segment7.net
    This implementation is HODEL-HASH-9600 compliant

    http://trackmap.robotcoop.com
     
    Eric Hodel, Nov 19, 2006
    #3
    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. Alan Silver
    Replies:
    2
    Views:
    5,947
    Alan Silver
    Jan 30, 2006
  2. Damon

    Missing required parameter error

    Damon, Feb 20, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    3,462
    Trevor Benedict R
    Feb 21, 2006
  3. Just D.
    Replies:
    0
    Views:
    454
    Just D.
    Mar 10, 2006
  4. Ron Adam
    Replies:
    3
    Views:
    458
    Ron Adam
    Aug 2, 2005
  5. Old Wolf
    Replies:
    11
    Views:
    546
    Dik T. Winter
    Mar 6, 2007
Loading...

Share This Page