Matt Todd a écrit :
So, I just installed RubyCocoa on my OS X machine here at work. Just
thought I'd relay some keys to getting things to work:
* The easiest way to install RubyCocoa (on 10.4) is to use
DarwinPorts. The automatic installer does NOT work.
* RubyCocoa requires the Ruby version that comes with OS X, so if
you've compiled your own version (etc), which will probably end up in
/usr/local/bin/, make sure you use /usr/bin/ruby or /usr/bin/irb for
doing your RubyCocoa apps.
* RubyCocoa is fun!
If I think of anything else, I'll be sure to share it.
Would you mind if I insert ma question here? I have had a successful experience with RubyCocoa so far on my old G4. But now I've upgraded
to a Mac Intel, and I have a problem in reinstalling it from source.
The "sudo ruby install.rb config" command fails with this message:
cpp-3.3: installation problem, cannot exec `cc1obj': No such file or directory
/usr/bin/cpp-3.3 returned 1 exit status
I have tried gcc 4.0.1 and 3.3 to the same result. And of course, there
is such a cc1obj file, not just one:
The permissions look good on those files (the x flag is set)
I suspect something like the PATH or some other environment
variable. Has anyone seen the same symptom on Intel?