Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit a194644

Browse files
committed
Pass parent BUNDLE_GEMFILE when shell out
1 parent 9d0abb3 commit a194644

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ rvm:
55
- 2.1
66
- jruby-19mode
77
script:
8-
- BUNDLE_GEMFILE=$PWD/Gemfile bundle install
98
- bundle exec rake test_app
109
- bundle exec rake
1110
gemfile:

spec/reactive-ruby/rails/asset_pipeline_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
if ruby?
44
RSpec.describe 'test_app generator' do
55
it "does not interfer with asset precompilation" do
6-
expect(system("cd spec/test_app; bundle exec rake assets:precompile")).to be_truthy
6+
env = { "BUNDLE_GEMFILE" => ENV['BUNDLE_GEMFILE'] }
7+
expect(system(env, "cd spec/test_app; bundle exec rake assets:precompile")).to be_truthy
78
end
89
end
910
end

0 commit comments

Comments
 (0)