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

Does it work with sublime text 3? #255

Open
ericcj opened this issue Mar 24, 2015 · 3 comments
Open

Does it work with sublime text 3? #255

ericcj opened this issue Mar 24, 2015 · 3 comments

Comments

@ericcj
Copy link
Contributor

ericcj commented Mar 24, 2015

Thanks for the package I depend on it everyday. I tried upgrading to sublime text 3 today, installed this package via package control, tried to run a test, and got a dyld: Symbol not found: in my rvm 2.1.2 pg_ext gem even after setting check for rvm to true in user package settings. Then I tried cloning master into Packages directory but it didn't seem to actually install the package. Is master intended to work with sublime text 3 and how do you install it?

@karlingen
Copy link

WorksForMe™

Sublime Text 3 Build 3083 on Mac OS X 10.10.2 with the following config:

{
  "check_for_rbenv": true,
  "check_for_bundler": true,
}

@adsteel
Copy link

adsteel commented Apr 13, 2015

Not working for me, though it installed fine. When I run a test, I get:

[Finished in 0.1s with exit code 127]
[cmd: cucumber features/example.feature -l7]
[dir: /Users/user/path/to/app]
[path: /usr/bin:/bin:/usr/sbin:/sbin]

But I get no test results.

@cannikin
Copy link

cannikin commented Mar 1, 2016

I've been running on ST3 for years without problems. I don't use the default check_for_rbenv or check_for_bundler stuff, however. I've got a custom command that uses chruby:

{
  "run_ruby_unit_command": "source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby `cat .ruby-version` && bundle exec ruby -Itest {relative_path}",
  "run_single_ruby_unit_command": "source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby `cat .ruby-version` && bundle exec ruby -Itest {relative_path} -n '{test_name}'"
}

So it loads the chruby script to load up the correct version of Ruby (which is reads from .ruby-version in the root of the project) and then executes the test file with a bundle exec.

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

4 participants