Created
March 6, 2013 00:29
-
-
Save tomasv/5095700 to your computer and use it in GitHub Desktop.
Spring + Rubymine
This file contains 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
In shell: | |
export RUBYLIB=/path/to/RubyMine/rb/testing/patch/common:/path/to/RubyMine/rb/testing/patch/bdd | |
spring rspec spec/ # to launch spring server | |
In Rubymine: | |
Uncheck bundler | |
Select custom runner script as spring_rspec.rb | |
add same variable to environment variables: | |
RUBYLIB=/path/to/RubyMine/rb/testing/patch/common:/path/to/RubyMine/rb/testing/patch/bdd | |
This file contains 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
#!/usr/bin/env ruby | |
ARGV.unshift 'rspec' | |
require 'rubygems' | |
gem 'spring' | |
load Gem.bin_path('spring', 'spring') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment