Skip to content

Commit

Permalink
[Rakefile] Dont use bundler when checking for lack of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Aug 7, 2018
1 parent b011143 commit 9c34035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ begin

files = FileList['lib/**/*.rb']

out, err = Open3.popen3('ruby', '-w', '-Ilib') do |stdin, stdout, stderr, _wait_thr|
out, err = Open3.popen3(Bundler.original_env, Gem.ruby, '-w', '-Ilib') do |stdin, stdout, stderr, _wait_thr|
files.each do |file|
stdin.puts "require '#{file.gsub(%r{(^lib/|\.rb$)}, '')}'"
end
Expand Down

0 comments on commit 9c34035

Please sign in to comment.