Fix environment path for mac (FIXME: test on ubuntu)

This commit is contained in:
Andrew Tomaka 2013-08-25 16:33:06 -04:00
parent 3978fec3d6
commit a8e4aa77c8
3 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/env ruby1.9.1 #!/usr/bin/env ruby
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
load Gem.bin_path('bundler', 'bundle') load Gem.bin_path('bundler', 'bundle')

View file

@ -1,4 +1,4 @@
#!/usr/bin/env ruby1.9.1 #!/usr/bin/env ruby
APP_PATH = File.expand_path('../../config/application', __FILE__) APP_PATH = File.expand_path('../../config/application', __FILE__)
require_relative '../config/boot' require_relative '../config/boot'
require 'rails/commands' require 'rails/commands'

View file

@ -1,4 +1,4 @@
#!/usr/bin/env ruby1.9.1 #!/usr/bin/env ruby
require_relative '../config/boot' require_relative '../config/boot'
require 'rake' require 'rake'
Rake.application.run Rake.application.run