From: Laurent S. <lsa...@ap...> - 2008-12-07 06:39:47
|
You do not seem to use the /usr/bin/ruby interpreter. The installer installs a version of RubyCocoa specially for the system version of Ruby that ships with the OS and it looks like you installed another version of Ruby in /usr/local and that you're using this one instead. Please check out your PATH environment variable, or call directly /usr/ bin/ruby. Laurent On Dec 6, 2008, at 8:46 PM, Timothy McDowell wrote: > I downloaded the 13.4.1 installer for 10.4 (the binary/dmg > installer) and ran/installed it. > When I tried "require 'osx/cocoa'" it spat out this error: > > require 'osx/cocoa' > LoadError: no such file to load -- osx/cocoa > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `gem_original_require' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `require' > from (irb):3 > > I did some reading and found the full path, and tried: > > require '/Library/Frameworks/RubyCocoa.framework/Versions/A/ > Resources/ruby/osx/cocoa.rb' > LoadError: no such file to load -- osx/objc/cocoa.rb > from /Library/Frameworks/RubyCocoa.framework/Versions/A/ > Resources/ruby/osx/cocoa.rb:8:in `require' > from /Library/Frameworks/RubyCocoa.framework/Versions/A/ > Resources/ruby/osx/cocoa.rb:8 > from (irb):1:in `require' > from (irb):1 > > But that, as you can see, spat out errors for a require in THAT file > not being correct. Did some alias not get set right? Do I need to be > logged into an administrator account? > -- > --Timothy. > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/_______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |