Skip to content

Commit 856b995

Browse files
committed
Use ruby local variable
Bundler nor `ruby` may be unavailable because this is a bundled-gem.
1 parent 3a6f716 commit 856b995

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Rakefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ task :confirm_annotation do
4444
end
4545

4646
task :templates do
47-
sh "bundle exec ruby templates/template.rb include/rbs/constants.h"
48-
sh "bundle exec ruby templates/template.rb include/rbs/ruby_objs.h"
49-
sh "bundle exec ruby templates/template.rb src/constants.c"
50-
sh "bundle exec ruby templates/template.rb src/ruby_objs.c"
47+
sh "#{ruby} templates/template.rb include/rbs/constants.h"
48+
sh "#{ruby} templates/template.rb include/rbs/ruby_objs.h"
49+
sh "#{ruby} templates/template.rb src/constants.c"
50+
sh "#{ruby} templates/template.rb src/ruby_objs.c"
5151
end
5252

5353
task :compile => "ext/rbs_extension/lexer.c"

0 commit comments

Comments
 (0)