Skip to content

Can't get chruby to play nice with vim :(. #196

@myronmarston

Description

@myronmarston

I just got a new MacBook Pro (first time in ~ 3 years) and decided to give chruby a go this time round instead of RVM.

I've sourced chruby in my ~/.zshrc:

source /usr/local/opt/chruby/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh

In my vim config, I have:

set shell=$SHELL\ -l

.ruby-version in my project root is:

1.9.3-p448

...yet, when I run :!ruby --version it shows me that it's running Apple's default system ruby:

ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

Any ideas what I'm doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions