mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
414b1485d6
commit
f217faf1da
Notes:
git
2020-06-18 19:14:59 +09:00
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ RSpec.describe "bundle executable" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "looks for a binary and executes it if it's named bundler-<task>" do
|
it "looks for a binary and executes it if it's named bundler-<task>" do
|
||||||
skip "obscure error" if Gem.win_platform?
|
skip "Could not find command testtasks, probably because not a windows friendly executable" if Gem.win_platform?
|
||||||
|
|
||||||
File.open(tmp("bundler-testtasks"), "w", 0o755) do |f|
|
File.open(tmp("bundler-testtasks"), "w", 0o755) do |f|
|
||||||
ruby = ENV["RUBY"] || "/usr/bin/env ruby"
|
ruby = ENV["RUBY"] || "/usr/bin/env ruby"
|
||||||
|
|
|
@ -28,7 +28,7 @@ RSpec.describe "bundle help" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "looks for a binary and executes it with --help option if it's named bundler-<task>" do
|
it "looks for a binary and executes it with --help option if it's named bundler-<task>" do
|
||||||
skip "obscure error" if Gem.win_platform?
|
skip "Could not find command testtasks, probably because not a windows friendly executable" if Gem.win_platform?
|
||||||
|
|
||||||
File.open(tmp("bundler-testtasks"), "w", 0o755) do |f|
|
File.open(tmp("bundler-testtasks"), "w", 0o755) do |f|
|
||||||
f.puts "#!/usr/bin/env ruby\nputs ARGV.join(' ')\n"
|
f.puts "#!/usr/bin/env ruby\nputs ARGV.join(' ')\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue