>> $:.each{|path| puts path + "/" + "hotcocoa.rb" if File.exists?(path + "/"
+ "hotcocoa.rb")}
/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.0/hotcocoa.rb$: is a ruby environmental variable for an array of all the paths that ruby looks at to require a file. Another useful one to know is $", which holds the names of all currently loaded external files. I would imagine that somehow the path setting has been altered or you accidentally moved hotcocoa to a location not included in the $: set. I am frustrated that macgem is not functioning too. There are a lot of possible reasons for it, but the most likely seems to be that many of the gems for older versions of ruby need to be updated to work with 1.9, the version that macruby is based on. Alternatively, failure of any given gem to load could be due to macruby being under development and yet incomplete. For me getting certain gems like sqlite3 to funciton with macruby is a necessity. Perhaps wonderful Laraunt or someone else could share some of his/her wisdom on this issue of why many gems don't work, and if there is a plan for how to fix it. Otherwise, I am going to keep plugging away at it in my spare time--maybe around 2050 or so I will solve it. But I will solve it eventually, because I love the idea of macruby and I love my old gem library and I can't live without either. Tim
_______________________________________________ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
