search for: rvm_local_install

Displaying 1 result from an estimated 1 matches for "rvm_local_install".

2011 Mar 03
1
Does RSpec interfere with Pathname#dirname or Pathname#realpath ?
...rspec-core (2.5.1) rspec-expectations (2.5.0) rspec-mocks (2.5.0) When I try to run this spec: require Pathname(__FILE__).ascend { |d| h=d+''spec_helper.rb''; break h if h.file? } describe B3::Bdd do it "should indicate RVM is installed locally" do B3::Bdd::Helpers.rvm_local_install?.should be_true end end The spec helper is: require ''rspec'' ; require_relative ''../lib/b3'' Which describes this code: class B3 module Bdd module Helpers def rvm_local_install? puts ENV[''rvm_path''] rvm_path = Path...