diff options
author | michaeljayt <michaeljayt@gmail.com> | 2014-11-17 02:42:29 +0800 |
---|---|---|
committer | michaeljayt <michaeljayt@gmail.com> | 2014-11-17 02:42:29 +0800 |
commit | 2cfaa22d3829e89ff06cfdc5467e16a7921c62ef (patch) | |
tree | efdc14ae1308ce22a743fc0a5252f8eae86d65ee /railties/lib | |
parent | 823336c2c8b2492e44d532c452a81ef91134468c (diff) | |
download | rails-2cfaa22d3829e89ff06cfdc5467e16a7921c62ef.tar.gz rails-2cfaa22d3829e89ff06cfdc5467e16a7921c62ef.tar.bz2 rails-2cfaa22d3829e89ff06cfdc5467e16a7921c62ef.zip |
Skip spring install in Cygwin due to fork() bad support.
See also: https://www.cygwin.com/faq.html#faq.using.fixing-fork-failures
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 92ed9136a0..b651623b53 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -342,7 +342,7 @@ module Rails end def spring_install? - !options[:skip_spring] && Process.respond_to?(:fork) + !options[:skip_spring] && Process.respond_to?(:fork) && !RUBY_PLATFORM.include?("cygwin") end def run_bundle |