gem_original_require': no such file to load -- /usr/local/lib/ruby/gems/1.8/gems/gosu-0.7.25-universal-darwin/lib/gosu.bundle (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
require'
require "#{File.dirname(__FILE__)}/gosu.for_#{version}.#{Config::CONFIG['DLEXT']}"
require "#{File.dirname(__FILE__)}/gosu/swig_patches.rb"
rescue LoadError => e
require "#{File.dirname(__FILE__)}/gosu.#{Config::CONFIG['DLEXT']}"
require "#{File.dirname(__FILE__)}/gosu/swig_patches.rb"
require 'rbconfig'
begin
if defined? RUBY_VERSION and RUBY_VERSION[0..2] == '1.9' then
version = '1_9'
else
version = '1_8'
end
require "#{File.dirname(__FILE__)}/gosu.for_#{version}.#{Config::CONFIG['DLEXT']}"
require "#{File.dirname(__FILE__)}/gosu/swig_patches.rb"
#rescue LoadError => e
# require "#{File.dirname(__FILE__)}/gosu.#{Config::CONFIG['DLEXT']}"
# require "#{File.dirname(__FILE__)}/gosu/swig_patches.rb"
end
require "#{File.dirname(__FILE__)}/gosu/patches.rb"
/usr/local/lib/ruby/gems/1.8/gems/gosu-0.7.25-universal-darwin/lib/gosu.for_1_8.bundle: dlopen(/usr/local/lib/ruby/gems/1.8/gems/gosu-0.7.25-universal-darwin/lib/gosu.for_1_8.bundle, 9): Library not loaded: /usr/lib/libruby.1.dylib (LoadError)
Referenced from: /usr/local/lib/ruby/gems/1.8/gems/gosu-0.7.25-universal-darwin/lib/gosu.for_1_8.bundle
Reason: image not found - /usr/local/lib/ruby/gems/1.8/gems/gosu-0.7.25-universal-darwin/lib/gosu.for_1_8.bundle
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require'
from /usr/local/lib/ruby/gems/1.8/gems/gosu-0.7.25-universal-darwin/lib/gosu.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from x.rb:8
/usr/local/lib/ruby/gems/1.8/gems/gosu-0.7.25-universal-darwin/lib
directory:gosu
gosu.for_1_8.bundle
gosu.for_1_9.bundle
gosu.rb
/usr/lib/libruby.1.dylib
and saw that it was a broken alias. After some further investigation I learned that it should point to ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/libruby.1.dylib
. Somehow, I'm not sure how or why, my /System/Library/Frameworks/Ruby.framework
doesn't exist. I'll correct this.Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill