Skip to content

Commit 2a550c7

Browse files
authored
bin/util.py: Change ruby executable to "bundle exec ruby"
Closes: carpentries/styles#547
1 parent ec29c6b commit 2a550c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def read_markdown(parser, path):
115115
for (i, line) in enumerate(body.split('\n'))]
116116

117117
# Parse Markdown.
118-
cmd = 'ruby {0}'.format(parser)
118+
cmd = 'bundle exec ruby {0}'.format(parser)
119119
p = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE,
120120
close_fds=True, universal_newlines=True, encoding='utf-8')
121121
stdout_data, stderr_data = p.communicate(body)

0 commit comments

Comments
 (0)