From a8e4aa77c89b43cf66d58dbaf7e327567e5825f9 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sun, 25 Aug 2013 16:33:06 -0400 Subject: [PATCH] Fix environment path for mac (FIXME: test on ubuntu) --- bin/bundle | 2 +- bin/rails | 2 +- bin/rake | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/bundle b/bin/bundle index b71536d..66e9889 100755 --- a/bin/bundle +++ b/bin/bundle @@ -1,3 +1,3 @@ -#!/usr/bin/env ruby1.9.1 +#!/usr/bin/env ruby ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) load Gem.bin_path('bundler', 'bundle') diff --git a/bin/rails b/bin/rails index 38cca63..728cd85 100755 --- a/bin/rails +++ b/bin/rails @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby1.9.1 +#!/usr/bin/env ruby APP_PATH = File.expand_path('../../config/application', __FILE__) require_relative '../config/boot' require 'rails/commands' diff --git a/bin/rake b/bin/rake index 3dffd3e..1724048 100755 --- a/bin/rake +++ b/bin/rake @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby1.9.1 +#!/usr/bin/env ruby require_relative '../config/boot' require 'rake' Rake.application.run