Ruby on Rails: Can anyone identify what could cause this error when using a rake?


Does anyone have any idea what would cause this error when running a rake?:

dlopen(/Users/someone/.rvm/gems/[email protected]/gems/linecache19-0.5.13-x86_64-darwin-11/lib/trace_nums19.bundle, 9): Library not loaded: /Volumes/Users/barry/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib Referenced from: /Users/someone/.rvm/gems/[email protected]/gems/linecache19-0.5.13-x86_64-darwin-11/lib/trace_nums19.bundle Reason: image not found - /Users/someone/.rvm/gems/[email protected]/gems/linecache19-0.5.13-x86_64-darwin-11/lib/trace_nums19.bundle

It seems to me that you happen to use the quick fix for the ruby-debug19 which in fact use a custom gem source, more specifically this source '' in your Gemfile.

If you do, then you probably bump into the same issue I have here, that is a all gems installed from this source, for example linecache19 or pg-0.13.2-x86_64-darwin-11 are statically linked to library of user barry (probably the author). I did not much have success with custom source gems so I uninstall all of them and do it the hard way that is to grab the linecache gem from the sourceforge site.