When using Split Ruby SDK in Windows Platform, initializing the Split factory object causes the error below:
uninitialized constant error. caused by 'Process::RLIMIT_NOFILE' in lib/net/http/persistent.rb .
This issue is related to net-http-persistent 3.0 library in Windows OS. This is a dependent library that the SDK uses. The library gets installed as a dependency when installing the SDK gem.
The Split SDK works fine with a slightly lower version of net-http-persistent (2.9.4), use the commands below to downgrade it:
gem uninstall net-http-persistent gem install net-http-persistent -v '2.9.4'