edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

snapshot 27 breaks on ruby library #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was using Mvim 26 on Mac os x leopard, and it worked fine. Upgraded to
snapshot 27 and it is dying on startup with message:

dyld: Library not loaded: /usr/lib/libruby.1.dylib
  Referenced from:
/Users/olek/bin/../../Shared/Apps/MacVim.app/Contents/MacOS/Vim
  Reason: image not found
Trace/BPT trap

Downgraded to 26, works fine again.

I am doing rails development, so naturally I have couple typical ruby
plugins installed (ruby, eruby, rails.vim).

Original issue reported on code.google.com by woodenb...@gmail.com on 15 May 2008 at 9:11

GoogleCodeExporter commented 9 years ago
Strange...don't you have /usr/lib/libruby.1.dylib?  Maybe it comes with 
Xcode...have you got that installed?

Original comment by bjorn.winckler@gmail.com on 15 May 2008 at 9:17

GoogleCodeExporter commented 9 years ago
aha... we are on the right track now.

I do have a link there, but it points to the non existing directory.
Why? Because I disabled ruby that came with leopard by renaming directory
/System/Library/Frameworks/Ruby.framework.

Why have I done that? Because I wanted to use version of ruby that came with
macports, in my case correct library to use would be
/mp/lib/libruby.1.8.dylib

Now that I corrected symbolic link to point to the correct library, mvim starts 
up fine.

I guess that you can dismiss this ticket as 'user error' :)

Thank you for you help.

Original comment by woodenb...@gmail.com on 15 May 2008 at 10:01

GoogleCodeExporter commented 9 years ago
I'm glad you sorted it out.

Björn

Original comment by bjorn.winckler@gmail.com on 17 May 2008 at 9:06