Guest User

Untitled

a guest
Apr 26th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. raggi@mbk:~/dev/ext/rails_ezra$ git grep RUBY_PLATFORM
  2. actionpack/test/template/compiled_templates_test.rb: windows = (RUBY_PLATFORM =~ /win32/)
  3. activesupport/lib/active_support/buffered_logger.rb: if !RUBY_PLATFORM.match(/java|mswin/) && !(@log == STDOUT) && @log.respond_to?(:write_nonblock)
  4. activesupport/lib/active_support/core_ext/kernel/reporting.rb: stream.reopen(RUBY_PLATFORM =~ /mswin/ ? 'NUL:' : '/dev/null')
  5. railties/CHANGELOG:* Windows: include MinGW in RUBY_PLATFORM check. #2982 [okkez000@gmail.com, Kaspar Schiess]
  6. railties/CHANGELOG:* Windows: include MinGW in RUBY_PLATFORM check. #2982 [okkez000@gmail.com, Kaspar Schiess]
  7. railties/builtin/rails_info/rails/info.rb: property 'Ruby version', "#{RUBY_VERSION} (#{RUBY_PLATFORM})"
  8. railties/lib/commands/console.rb:irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
  9. railties/lib/commands/process/inspector.rb:if RUBY_PLATFORM =~ /(:?mswin|mingw)/ then abort("Inspector is only for Unix") end
  10. railties/lib/commands/process/reaper.rb:if RUBY_PLATFORM =~ /(:?mswin|mingw)/ then abort("Reaper is only for Unix") end
  11. railties/lib/commands/process/spawner.rb: elsif RUBY_PLATFORM !~ /(:?mswin|mingw)/ && !silence_stderr { `spawn-fcgi -version` }.blank? && defined?(FCGI)
  12. railties/lib/commands/runner.rb: if RUBY_PLATFORM !~ /mswin/
  13. railties/lib/commands/server.rb: elsif RUBY_PLATFORM !~ /(:?mswin|mingw)/ && !silence_stderr { `lighttpd -version` }.blank? && defined?(FCGI)
  14. railties/lib/commands/servers/lighttpd.rb:unless RUBY_PLATFORM !~ /mswin/ && !silence_stderr { `lighttpd -version` }.blank?
  15. railties/lib/initializer.rb: if RUBY_PLATFORM =~ /(:?mswin|mingw)/
  16. railties/lib/rails/mongrel_server/commands.rb: unless RUBY_PLATFORM =~ /djgpp|(cyg|ms|bcc)win|mingw/
  17. railties/lib/rails_generator/generators/applications/app/app_generator.rb: MYSQL_SOCKET_LOCATIONS.find { |f| File.exist?(f) } unless RUBY_PLATFORM =~ /(:?mswin|mingw)/
  18. railties/lib/rails_generator/secret_key_generator.rb: return false unless RUBY_PLATFORM =~ /(:?mswin|mingw)/
  19. railties/lib/tasks/testing.rake: STDERR.reopen(RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'NUL:' : '/dev/null')
Add Comment
Please, Sign In to add comment