Skip to content

Commit

Permalink
ENV['BUNDLE_PATH'] is different story.
Browse files Browse the repository at this point in the history
  • Loading branch information
ono committed Jun 7, 2010
1 parent eb45e10 commit 2e8a01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Support/lib/spec/mate.rb
Expand Up @@ -6,7 +6,7 @@
bundler_gemfile = File.join(ENV['TM_PROJECT_DIRECTORY'], 'Gemfile')

if File.exists?(bundler_gemfile)
bundle_path = (File.read(bundler_gemfile) =~ (/bundle_path[ (]+['"](.*?)['"]/) && $1) || ENV['BUNDLE_PATH'] || ".bundle"
bundle_path = (File.read(bundler_gemfile) =~ (/bundle_path[ (]+['"](.*?)['"]/) && $1) || ".bundle"
require File.join(ENV['TM_PROJECT_DIRECTORY'], bundle_path, "environment")
elsif File.directory?(rspec_rails_plugin)
$LOAD_PATH.unshift(rspec_rails_plugin)
Expand Down

0 comments on commit 2e8a01c

Please sign in to comment.