1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Skip spring install in Cygwin due to fork() bad support.

See also: https://www.cygwin.com/faq.html#faq.using.fixing-fork-failures
This commit is contained in:
michaeljayt 2014-11-17 02:42:29 +08:00
parent 823336c2c8
commit 2cfaa22d38

View file

@ -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