From: Timothy M. <tmc...@gm...> - 2008-12-08 18:03:27
|
Ehrm, fairly new to that kind of thing. Care to explain how? ^_^; On Sun, Dec 7, 2008 at 10:58 PM, Allison Newman <dem...@ma...> wrote: > Tim, when I had that problem, the easiest solution that I found was to > remove the second installation of ruby from the system, keeping only the > official version. I think your problem now is that /usr/bin/irb is just > calling ruby, not /usr/bin/ruby. Try changing your $PATH to give preference > to the official version, and see if that works. > > HTH > > Alli > > Envoyé de mon iPhone > > Le 8 déc. 08 à 01:02, Timothy McDowell <tmc...@gm...> a écrit : > > /usr/bin/irb require 'osx/cocoa' > same error :( > > On Sat, Dec 6, 2008 at 11:39 PM, Laurent Sansonetti <<lsa...@ap...> > lsa...@ap...> wrote: > >> 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/_______________________________________________> >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/_______________________________________________ >> > Rubycocoa-talk mailing list >> > <Rub...@li...> >> Rub...@li... >> > <https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk> >> https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk >> >> >> >> ------------------------------------------------------------------------------ >> 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/> >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Rubycocoa-talk mailing list >> <Rub...@li...> >> Rub...@li... >> <https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk> >> https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk >> > > > > -- > --Brains. > > > ------------------------------------------------------------------------------ > 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 > > > > ------------------------------------------------------------------------------ > 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 > > -- --Brains. |