Missing required 'path' module?

M

Mike A. Kenny

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
 
K

kij

Mike said:
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
 
E

Eric Hodel

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.
 

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

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top