Rspactor-0.5.4 on snow leopard. I am running macports ruby 1.8.7. All specs run and pass, then the file monitoring code kicks in and blows up.
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- osx/foundation (LoadError)
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /opt/local/lib/ruby/gems/1.8/gems/rspactor-0.5.4/lib/rspactor/listener.rb:1
from /opt/local/lib/ruby/gems/1.8/gems/rspactor-0.5.4/lib/rspactor/runner.rb:40:in `start_listener'
from /opt/local/lib/ruby/gems/1.8/gems/rspactor-0.5.4/lib/rspactor/runner.rb:24:in `start'
from /opt/local/lib/ruby/gems/1.8/gems/rspactor-0.5.4/lib/rspactor/runner.rb:7:in `start'
from /opt/local/lib/ruby/gems/1.8/gems/rspactor-0.5.4/bin/rspactor:4
from /opt/local/bin/rspactor:19:in `load'
from /opt/local/bin/rspactor:19
osx/foundation is a part of RubyCocoa which in turn should be a part of your Leopard installation. If you use a custom Ruby installation you may need to adjust the loadpath or reinstall rubycocoa.
However, we'll remove this dependency in one of the next releases by including the foundation class directly in the source..
I reinstalled ruby-cocoa 1.0.1, but same error. I need macports ruby 1.8.7 to be first in my load path, so I'll wait till next update. Thanks!
Same error here - I'm also using macports ruby 1.8.7
Experiencing the same issue with rvm managing my ruby installs.
Tried re-installing RubyCocoa and compiled my ruby install with --enable-shared=yes
Hey guys.. I was having the same problem as above with rvm's ruby 1.8.7
And then I fixed it... As in, it works for me now...
have a look http://gist.github.com/289868