Created
November 20, 2013 00:03
-
-
Save jonleighton/7554889 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
if !Process.respond_to?(:fork) || Gem::Specification.find_all_by_name("spring").empty? | |
APP_PATH = File.expand_path('../../config/application', __FILE__) | |
require_relative '../config/boot' | |
require 'rails/commands' | |
else | |
ARGV.unshift "rails" | |
load Gem.bin_path("spring", "spring") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment