From c36028552823ef728da8df4037a35001d95a0afe Mon Sep 17 00:00:00 2001 From: Kuang-che Wu Date: Sat, 6 Dec 2014 16:15:57 +0800 Subject: Don't hard code ruby path On FreeBSD, ruby is installed at /usr/local/bin/ruby. To make it more portable, find ruby interpreter from env (PATH). --- examples/get_distribution_image.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/get_distribution_image.rb b/examples/get_distribution_image.rb index b840a1a..b318b6c 100755 --- a/examples/get_distribution_image.rb +++ b/examples/get_distribution_image.rb @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby # # get_distribution_image DB KEY nodes|ways # -- cgit v1.2.3