mirror of
https://github.com/faye/websocket-driver-ruby.git
synced 2025-11-01 13:59:38 +00:00
- websocket_mask.rb is in lib which in turn then loads websocket_mask.so which should reside in the extensions directory external to the gem directory at least as of rubygems 2.2.2. - Changed extensions directory to match gemname as suggested in rubygems guide Simplifies loading the native extension but only tested on ruby 2.1.1 and only in my environment.
6 lines
109 B
Ruby
6 lines
109 B
Ruby
require 'mkmf'
|
|
extension_name = 'websocket_mask'
|
|
dir_config(extension_name)
|
|
create_makefile(extension_name)
|
|
|