ext/faye_websocket_mask/extconf.rb in faye-websocket-0.4.2 vs ext/faye_websocket_mask/extconf.rb in faye-websocket-0.4.3
- old
+ new
@@ -1,6 +1,6 @@
-require 'mkmf'
+return if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
+require 'mkmf'
extension_name = 'faye_websocket_mask'
dir_config(extension_name)
create_makefile(extension_name)
-