lib/cany/recipe.rb in cany-0.0.1 vs lib/cany/recipe.rb in cany-0.0.2
- old
+ new
@@ -55,10 +55,10 @@
# Run a ruby task (like gem, bundler, rake ...)
#
# The method expects as arguments the program name and additional parameters for the program.
# See exec for more examples
def ruby_bin(*args)
- exec 'ruby', '-S', *args
+ exec RbConfig.ruby, '-S', *args
end
# @api public
# Install files or directory from the build directory
# @param [String] source The relative file name to a filename or directory inside the build