Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 03/05/2012

New Faces

Rachel Bobbins – new intern

Help

Web 2 App – is there a service to mobile-optimise web sites?

There are many

Rubymine and Spork issue: when starting Spork from Rubymine, Rubymine doesn’t format test output correctly

The solution currently in use is to add a RUBYMINE_HOME path to the bash profile:

export RUBYMINE_HOME=/Applications/RubyMine.app/

And also the following block to a file loaded by spec_helper.rb (ex: YOUR_PROJECT/spec/support/rubymine.rb )

if ENV['RUBYMINE_HOME']
  $:.unshift(File.expand_path('rb/testing/patch/common', ENV['RUBYMINE_HOME']))
  $:.unshift(File.expand_path('rb/testing/patch/bdd', ENV['RUBYMINE_HOME']))
end

caveat: It may be necessary to launch Rubymine from a terminal with the mine command, rather than from the Dock or Spotlight, because variables set in .bash_profile normally apply only to the terminal environment in Mac OS X. See: Runtime Configuration Library: Environment Variables

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *