On Tuesday, October 15, 2013 10:31:58 AM UTC+8, feliperama wrote:
> Hello Guys!
> 
> 
> 
>    First of all sorry if here is not the best place to share my experiment. 
> I'm a new mac user which is migrating from ubuntu as a rails environment. 
> However I would like to share my case.
> 
> 
> 
>    What don't work for me: install macvim compiled with native support for 
> ruby2.0.0 which was installed via RVM. I will not put all the outputs here, 
> but I think that is very easy to reproduce.
> 
> 
> 
>   I tried two methods to install macvim: compiling from the source git 
> repository and homebrew. In both cases I got the same thing: If i try to use 
> any ruby command inside macvim or vim (like :ruby puts $: ) or an ruby omni 
> completion, the screen closes and got in the terminal:
> 
> 
> 
>  $ Caught deadly signal SEGV
> 
>  $ Finished.
> 
>  $ Segmentation fault: 11   (this last one just on vim)
> 
> 
> 
> Then i removed everything on my new mac, macports, homebrew, and start all 
> the process again. The unique difference it was that now I installed 
> ruby2.0.0 by brew + rbenv following this tutorial:
> 
> 
> 
> http://createdbypete.com/articles/ruby-on-rails-development-with-mac-os-x-mountain-lion/
> 
> 
> 
> After this I installed macvim by hombres and voilá!!! works!!! The trick here 
> is that i edited the macvim formula on home-brew (brew edit macvim) and put 
> 
> 
> 
> "--with-ruby-command=/Users/[username]/.rbenv/shims/ruby" 
> 
> 
> 
> directly inside the  formula. If i don't do that, brew or make was compiling 
> with the system 1.8.x ruby! Another point is that I had to brew edit because 
> the pass by argument by command line  was not working just for this argument  
> "brew install macvim 
> --with-ruby-command=/Users/[username]/.rbenv/shims/ruby". 
> 
> 
> 
> The interesting is that I did exactly the same steps in the first moment but 
> with RVM and not RBENV ruby installation. I think that on MAC something is 
> broken on compilation if the system is using RVM as the ruby manager.
> 
> 
> 
> Any one had experience that? Anyway, I hope this kind of information could 
> help someone : )

Right now on home-brew, macvim formula does not allow options to change ruby 
commands anymore :(

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to