Unable to run 'ruby script/console'

Frederick C. Lee fclee at dialup4less.com
Wed Jun 27 13:36:09 PDT 2007


Greetings:
After slamming brick walls, I managed to get one ruby appl running.

However, apparently not all the files were loaded.
Environment:
[/Users/Ric/workarea/ruby/shovell]ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1]

[/Users/Ric/workarea/ruby/shovell]which ruby
/opt/local/bin/ruby

[/Users/Ric/workarea/ruby/shovell]ls -l /opt/local/bin/ruby
-rwxr-xr-x   2 root  admin  13412 Jun 27 11:05 /opt/local/bin/ruby*

[/Users/Ric/workarea/ruby/shovell]rails -v
Rails 1.2.3

[/Users/Ric/workarea/ruby/shovell]which rails
/opt/local/bin/rails

--------

This is what I get when I attempt to run the console per Patrick  
Lenz's book:
[/Users/Ric/workarea/ruby/shovell]ruby script/console
Loading development environment.
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/console.rb: 
25:in `exec': No such file or directory - irb  -r irb/completion -r  
script/../config/../config/environment -r console_app -r  
console_with_helpers --simple-prompt (Errno::ENOENT)
         from /opt/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ 
commands/console.rb:25
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
custom_require.rb:27:in `gem_original_require'
         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ 
custom_require.rb:27:in `require'
         from script/console:3


Again...
Another brick wall.

Now what?

Ric.

Frederick C. Lee
fclee at dialup4less.com

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070627/1fedbf7d/attachment.html


More information about the macports-users mailing list