New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Fat-Binary Gem with support for 1.8 and 2.0 #77
Comments
Hi there (i hope this is the correct place to post this), I just ran a gem install and this is what i get: gem install bcrypt-ruby Successfully installed bcrypt-ruby-3.1.1-x86-mingw32 Parsing documentation for bcrypt-ruby-3.1.1-x86-mingw32 unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/bcrypt_ext.so, skippin g 1 gem installed. Can you advise as to steps that i can take to resolve this issue? |
@mulaiko What version of Ruby? On Friday, August 2, 2013, mulaiko wrote:
|
@tjschuck ruby 2.0.0p247 |
@mulaiko I just pushed an RC version of the gem that should hopefully fix your issue. Can you please try to install version 3.1.2.rc1 and let me know if it succeeds or not? If it works, I will bump to 3.1.2 officially. In your Gemfile, Thank you for your help! |
I had the same problem, and it worked once I manually installed the 3.1.2.rc1 version and then replaced bcrypt_ext.so in {RUBY_DIR}\lib\ruby\gems\2.0.0\gems\bcrypt-ruby-3.1.1-x86-mingw32\lib with the one in the 3.1.2.rc1 installation folder. I thinks it is therefore safe to move to 3.1.2, @tjschuck Thanks :) |
@tjschuck: I added gem install bcrypt-ruby -v 3.1.2.rc1 to my gem file, then ran a bundle update and started rails server. however I'm still getting this error can't activate bcrypt-ruby (~> 3.0.0), already activated bcrypt-ruby-3.1.2.rc1-x86-mingw32. Make sure all dependencies are added to Gemfile I'm on Windows 8, with Rails 4.0.0 Ruby 2.0.0. Thanks! |
@dreamerzfly Try uninstalling the gem first ( Then, in your Gemfile, add the line |
I have the exact same setup as @dreamerzfly and I am getting the same error
The above fix does nothing to help :/ Please help ... I have tried everything :/ |
Shot man. Seems to have sorted out my issue after testing :) |
I was trying to install "bcrypt-ruby" on Windows 8, 64 bit . Tried a lot of configurations, ranging from different versions of the gem, direct from git, platform ruby etc. But nothing worked At the end installed DEVKIT compatible to my ruby version and thats it. Steps
Link : http://rubyinstaller.org/downloads/ Download under
Then on command line go to above path
then say
This should install it, Post this, you need to add the gem to your Gemfile and say
This should work fine. Also solves update issues related to active_record etc.
|
Version 3.1.1 removed support for Ruby 1.8 from the Windows binary version of the gem because of issues with rake-compiler.
Once tjschuck/rake-compiler-dev-box#2 lands, I will build a new version that supports 1.8, 1.9, and 2.0.
The text was updated successfully, but these errors were encountered: