≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feedback #1715

Feedback #1715: Tip for Ruby 1.9, rvm, macvim 7.3

Kind feedback
Product Command-T
When Created 2010-10-16T18:37:01Z, updated 2011-09-14T03:56:17Z
Status closed
Reporter anonymous
Tags no tags

Description

Not sure where to put this.

For those trying to get command-t to work under ruby 1.9, first set system to ruby 1.8.7 using rvm. Port install macvim using +ruby option. This didnt affect rvm, though I didnt test for it. Work through the installation following the doc (vi command-t.vba, :s %, navigate to .vim/ruby/command-t, ruby extconf.rb, make). Macvim used to crash w/ the SEGV error, but now I can follow along with the command-t tutorial. You can set system ruby back to ruby 1.9.2 using rvm, and command-t will still work.

Comments

  1. Greg Hurrell 2010-10-17T02:22:35Z

    Just to be clear, your summary makes it sound like these are instructions for getting Command-T to work with Ruby 1.9.2 but what you've actually done here is build Vim and Command-T with Ruby 1.8.7; even when you switch back to Ruby 1.9.2 with rvm afterwards, Vim and Command-T will continue to use Ruby 1.8.7 (you can demonstrate this for yourself by doing :ruby puts RUBY_VERSION inside Vim).

    But, yes, this is a correct recipe for building Command-T (in fact, the documentation explicitly recommends that rvm users should switch to the system Ruby when building, especially seeing as it's the system Ruby that MacVim will use by default). It shouldn't actually be necessary to do a port install of MacVim, though; downloading the standard pre-built MacVim binary should work fine.

  2. Greg Hurrell 2010-11-02T20:34:21Z

    A couple weeks have passed now with no additional comments, so going to mark this one as closed. Feel free to post another comment though if you (or anyone else reading this) have more to add on the topic.

  3. Greg Hurrell 2010-11-02T20:34:28Z

    Status changed:

    • From: new
    • To: closed
  4. anonymous 2011-09-14T03:56:17Z

    Thank you for the solution Wincent!

    Just to clarify for any other pour souls in not knowing why their command-t isn't working, while using RVM you need to do rvm use system then, when you have pathogen installed you can do your clone and rake make.

    Don't forget to switch back to your other version of ruby (I'm guessing 1.9.2) after your done.

    - Fourcolors

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets