Skip to content

Instantly share code, notes, and snippets.

@ayan4m1
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayan4m1/591c83edb9c38e219acf to your computer and use it in GitHub Desktop.
Save ayan4m1/591c83edb9c38e219acf to your computer and use it in GitHub Desktop.
Compiling sensu-em on Windows
  1. Get the 64-bit Ruby 2.x installer and the 64-bit DevKit for 2.x from http://rubyinstaller.org/downloads/
  2. Install Ruby, run the DevKit extractor and follow its README to add the DevKit to your Ruby install and PATH
  3. Grab the 64-bit OpenSSL knapsack package from http://packages.openknapsack.org/openssl/openssl-1.0.0i-x64-windows.tar.lzma - extract to C:\openssl\
  4. Run rake -rdevkit to create a makefile, compile and test the native code
  5. From here you can use gem build

Notes:

  • The 64-bit versions of Ruby, the Ruby DevKit, and the OpenSSL package can be replaced with the 32-bit versions as long as they are consistent.
  • test_bad_server hangs indefinitely for me on win 8.1 x64.
  • Several tests fail because fork() is not implemented.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment