{"action":"created","issue":{"url":"https://api.github.com/repos/codahale/bcrypt-ruby/issues/116","labels_url":"https://api.github.com/repos/codahale/bcrypt-ruby/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/codahale/bcrypt-ruby/issues/116/comments","events_url":"https://api.github.com/repos/codahale/bcrypt-ruby/issues/116/events","html_url":"https://github.com/codahale/bcrypt-ruby/issues/116","id":67299019,"number":116,"title":"Add support for ruby 2.2.1 on Windows","user":{"login":"topac","id":1309537,"avatar_url":"https://avatars.githubusercontent.com/u/1309537?v=3","gravatar_id":"","url":"https://api.github.com/users/topac","html_url":"https://github.com/topac","followers_url":"https://api.github.com/users/topac/followers","following_url":"https://api.github.com/users/topac/following{/other_user}","gists_url":"https://api.github.com/users/topac/gists{/gist_id}","starred_url":"https://api.github.com/users/topac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topac/subscriptions","organizations_url":"https://api.github.com/users/topac/orgs","repos_url":"https://api.github.com/users/topac/repos","events_url":"https://api.github.com/users/topac/events{/privacy}","received_events_url":"https://api.github.com/users/topac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-04-09T07:30:49Z","updated_at":"2015-11-08T12:33:26Z","closed_at":null,"body":"hi, bcrypt does not work on `ruby 2.2.1p85 (2015-02-26 revision 49769) [i386-mingw32]` (windows server 2008)\r\n\r\n\r\n```\r\nC:\\test\\test-db>gem install bcrypt\r\nSuccessfully installed bcrypt-3.1.10-x86-mingw32\r\nParsing documentation for bcrypt-3.1.10-x86-mingw32\r\nDone installing documentation for bcrypt after 0 seconds\r\n1 gem installed\r\n\r\nC:\\test\\test-db>irb\r\nirb(main):001:0> require 'bcrypt'\r\nLoadError: cannot load such file -- bcrypt_ext\r\n        from C:/Ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n        from C:/Ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n        from C:/Ruby/lib/ruby/gems/2.2.0/gems/bcrypt-3.1.10-x86-mingw32/lib/bcrypt.rb:16:in `rescue in <top (required)>'\r\n        from C:/Ruby/lib/ruby/gems/2.2.0/gems/bcrypt-3.1.10-x86-mingw32/lib/bcrypt.rb:12:in `<top (required)>'\r\n        from C:/Ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'\r\n        from C:/Ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'\r\n        from C:/Ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'\r\n        from (irb):1\r\n        from C:/Ruby/bin/irb:11:in `<main>'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/codahale/bcrypt-ruby/issues/comments/154821215","html_url":"https://github.com/codahale/bcrypt-ruby/issues/116#issuecomment-154821215","issue_url":"https://api.github.com/repos/codahale/bcrypt-ruby/issues/116","id":154821215,"user":{"login":"richpeck","id":1104431,"avatar_url":"https://avatars.githubusercontent.com/u/1104431?v=3","gravatar_id":"","url":"https://api.github.com/users/richpeck","html_url":"https://github.com/richpeck","followers_url":"https://api.github.com/users/richpeck/followers","following_url":"https://api.github.com/users/richpeck/following{/other_user}","gists_url":"https://api.github.com/users/richpeck/gists{/gist_id}","starred_url":"https://api.github.com/users/richpeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richpeck/subscriptions","organizations_url":"https://api.github.com/users/richpeck/orgs","repos_url":"https://api.github.com/users/richpeck/repos","events_url":"https://api.github.com/users/richpeck/events{/privacy}","received_events_url":"https://api.github.com/users/richpeck/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T12:33:26Z","updated_at":"2015-11-08T12:33:26Z","body":"For anyone getting `make` errors - you must know that in order to *build* from a `Makefile`, you need to use `make.exe`.\r\n\r\nThe `devkit` comes with `make.exe` already -- you need to [add the `devkit/bin` and `devkit/mingw/bin` paths to your `PATH` var](http://www.computerhope.com/issues/ch000549.htm).\r\n\r\nThis will allow you to call `make` in your cmd.\r\n\r\nYou then need to `cd` into your gem dir and type `make`. This will build the makefile."}}