Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Missing required 'path' module?

Reply
Thread Tools

Missing required 'path' module?

 
 
Mike A. Kenny
Guest
Posts: n/a
 
      11-19-2006
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


 
Reply With Quote
 
 
 
 
kij
Guest
Posts: n/a
 
      11-19-2006

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

 
Reply With Quote
 
 
 
 
Eric Hodel
Guest
Posts: n/a
 
      11-19-2006
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://www.velocityreviews.com/forums/(E-Mail Removed) - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid XML. Missing required tag <CodeGroup> Trapulo ASP .Net 3 02-09-2010 06:51 AM
Diagnostic required for missing function definition? Old Wolf C Programming 11 03-06-2007 10:46 AM
Create a VD with required properties on a required Web Server (Windows Advanced Server 2000 has 3 Web Servers) Just D. ASP .Net 0 03-10-2006 06:02 AM
Missing required parameter error Damon ASP .Net 1 02-21-2006 12:38 AM
VWD Validation error - Element 'form' is missing required attribute 'action' Alan Silver ASP .Net 2 01-30-2006 02:42 PM



Advertisments