Skip to content

Commit fe4c477

Browse files
committed
Fix bundle exec rake install when command is buildin
When it was part of bin/setup, it was already run via sh. This makes that work again.
1 parent bd82326 commit fe4c477

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/ragel.rake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ namespace :ragel do
4343
task :install do
4444
next if ENV['CI']
4545

46-
if system('command -v ragel')
46+
if system('sh -c "command -v ragel"')
4747
# already installed
48-
elsif system('command -v brew')
48+
elsif system('sh -c "command -v brew"')
4949
puts 'ragel not found, installing with homebrew ...'
5050
`brew install ragel`
51-
elsif system('command -v apt-get')
51+
elsif system('sh -c "command -v apt-get"')
5252
puts 'ragel not found, installing with apt-get ...'
5353
`sudo apt-get install -y ragel`
5454
else

0 commit comments

Comments
 (0)