cucumber-attic / cucumber-tmbundle

TextMate bundle for Cucumber
http://www.benmabey.com
MIT License
204 stars 54 forks source link

Now works with RVM + latest Bundler #10

Closed hakanensari closed 13 years ago

hakanensari commented 13 years ago

No biggie here. Just lifted the setup wholesale from the latest RSpec tmbundle.

Hakan

bitcababy commented 13 years ago

It needs the rvm_textmate file in the lib directory

hakanensari commented 13 years ago

Both the RSpec bundle and this work fine for me as is.

Do you have TM_RUBY in preferences set to ~/.rvm/bin/rvm-auto-ruby?

timharding commented 13 years ago

This works for me w/ rvm_textmate (created as per the rvm documentation) as my TM_RUBY.

Thanks @hakanensari!

Be great if this was pulled.

sfsekaran commented 13 years ago

I copied the following lines into my Cucumber.tmbundle/Support/lib/cucumber/mate.rb within the first if statement and it worked! require "bundler" Bundler.setup Oh, also I set the TM_RUBY variable in TextMate to ~/.rvm/bin/rvm-auto-ruby as well.

diabolo commented 13 years ago

I'm pretty sure this is not required as master works with rvm and bundler. If not please resubmit with a patch from the latest head and some explanation of the symptoms its addressing.

Thanks

hakanensari commented 13 years ago

I think I sent this pull request nearly a year ago. I don't even use TM any longer.

Sent from my iPad

On 8 Jun 2011, at 16:45, diabolo reply@reply.github.com wrote:

I'm pretty sure this is not required as master works with rvm and bundler. If not please resubmit with a patch from the latest head and some explanation of the symptoms its addressing.

Thanks

Reply to this email directly or view it on GitHub: https://github.com/cucumber/cucumber-tmbundle/pull/10#issuecomment-1327641

sfsekaran commented 13 years ago

Let me guess: do you now use MacVim + Janus?