I’ve just upgraded to Mac OS X 10.6, and was following the instructions
on the Rails blog
upgrade my gems etc. This seemed to work OK, with the exception of the
‘rubynode’ gem which failed to reinstall. This is on a standard Mac OS X
install of Ruby (I don’t have MacPorts or anything like that installed).
The errors were are follows:
ERROR: Error installing rubynode:
ERROR: Failed to build gem native extension.
==================== ERROR =====================
Please set RUBY_SOURCE_DIR to the source path of ruby 1.8.7
Could anyone tell me how to fix this? I don’t know where I can set
RUBY_SOURCE_DIR, or what I should set it to. I did find another post on
this forum (http://www.ruby-forum.com/topic/143021) with the same error,
but it’s not clear to me how that was resolved.
Failing that, perhaps it I could just uninstall this gem. Could anyone
tell me if I’m actually likely to need it for Rails development?