-
-
Save jbmyid/11040118 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Add following in /home/usernam/.config/sublime-text-3/Packages/User/RubyTest.sublime-settings | |
If file not present then create one | |
in case you get errors like this | |
ruby:1: Invalid char `\x7F' in expression | |
ruby:1: Invalid char `\x01' in expression | |
ruby:1: Invalid char `\x01' in expression | |
ruby:1: Invalid char `\x01' in expression | |
ruby:1:in `<main>': uninitialized constant ELF (NameError) | |
it is because ruby tries to interpret a binary file | |
*/ | |
{ | |
"erb_verify_command": "bundle exec erb -xT - {file_name} | ruby -c", | |
"ruby_verify_command": "bundle exec ruby -c {file_name}", | |
"run_ruby_unit_command": "bundle exec ruby -Itest {relative_path}", | |
"run_single_ruby_unit_command": "bundle exec ruby -Itest {relative_path} -n '{test_name}'", | |
"run_cucumber_command": "bundle exec cucumber {relative_path}", | |
"run_single_cucumber_command": "bundle exec cucumber {relative_path} -l{line_number}", | |
"run_rspec_command": "bundle exec rspec {relative_path}", | |
"run_single_rspec_command": "bundle exec rspec {relative_path} -l{line_number}", | |
"ruby_unit_folder": "test", | |
"ruby_cucumber_folder": "features", | |
"ruby_rspec_folder": "spec", | |
"check_for_rbenv": false, | |
"check_for_rvm": true, | |
"ruby_use_scratch" : false, | |
"save_on_run": true, | |
"ignored_directories": [".git", "vendor", "tmp"], | |
"hide_panel": false, | |
"before_callback": "", | |
"after_callback": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment