Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set macvim ruby to higher version #484

Closed
thefonso opened this issue Mar 23, 2017 · 2 comments
Closed

How to set macvim ruby to higher version #484

thefonso opened this issue Mar 23, 2017 · 2 comments

Comments

@thefonso
Copy link

I use rbenv and my native cli vim internal ruby is set to ruby 2.4. how can I set macvim internal ruby to 2.4 instead of 2.0.0 so that the command :ruby p RUBY_VERSION displays 2.4 ?

@splhack
Copy link
Contributor

splhack commented Mar 24, 2017

The binary release supports only system Ruby, 2.0. You need to build MacVim by yourself for that. I updated the official Homebrew MacVim formula to support that as well.

https://github.com/macvim-dev/homebrew-macvim

(Install Homebrew)
(One time set up)
$ brew tap macvim-dev/macvim
(Set up $PATH environment to ensure to have the ruby command what you want to use if_ruby with)
(Install MacVim)
$ brew install --HEAD macvim-dev/macvim/macvim

@splhack splhack closed this as completed Mar 24, 2017
@thefonso
Copy link
Author

Followed above instructions...problem persist. cli vim :ruby p RUBY_VERSION displays 2.4. macvim :ruby p RUBY_VERSION displays 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants