Giter Club home page Giter Club logo

Comments (12)

mulaiko avatar mulaiko commented on September 24, 2024

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?
Im on windows 7, 32bit machine

from bcrypt-ruby.

tjschuck avatar tjschuck commented on September 24, 2024

@mulaiko What version of Ruby? ruby -v

On Friday, August 2, 2013, mulaiko wrote:

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?
Im on windows 7, 32bit machine


Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-22000335
.

from bcrypt-ruby.

mulaiko avatar mulaiko commented on September 24, 2024

@tjschuck ruby 2.0.0p247

from bcrypt-ruby.

tjschuck avatar tjschuck commented on September 24, 2024

@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, gem "bcrypt-ruby", "3.1.2.rc1", or standalone, just gem install bcrypt-ruby -v 3.1.2.rc1.

Thank you for your help!

from bcrypt-ruby.

cipacda avatar cipacda commented on September 24, 2024

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 :)

from bcrypt-ruby.

tjschuck avatar tjschuck commented on September 24, 2024

@mulaiko @cipacda Thanks for your help -- version 3.1.2 final is now up on RubyGems.

from bcrypt-ruby.

dreamerzfly avatar dreamerzfly commented on September 24, 2024

@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!

from bcrypt-ruby.

tjschuck avatar tjschuck commented on September 24, 2024

@dreamerzfly Try uninstalling the gem first (gem uninstall bcrypt-ruby, and uninstall all versions).

Then, in your Gemfile, add the line gem 'bcrypt-ruby', '~> 3.1.2', making sure you don't have any other line also loading bcrypt -- if you do, remove those lines. Then bundle install, and you should be good to go.

from bcrypt-ruby.

ryannealmes avatar ryannealmes commented on September 24, 2024

I have the exact same setup as @dreamerzfly and I am getting the same error

 Gem::LoadError:
   can't activate bcrypt-ruby (~> 3.0.0), already activated bcrypt-ruby-3.1.2-x86-mingw32. Make sure all dependencies are added to Gemfile.

The above fix does nothing to help :/

Please help ... I have tried everything :/

from bcrypt-ruby.

vladtco avatar vladtco commented on September 24, 2024

try this: http://stackoverflow.com/questions/18541062/issues-using-bcrypt-3-0-1-with-ruby2-0-on-windows/18933570#18933570

from bcrypt-ruby.

ryannealmes avatar ryannealmes commented on September 24, 2024

Shot man. Seems to have sorted out my issue after testing :)

from bcrypt-ruby.

piyush avatar piyush commented on September 24, 2024

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

Install Devkit compatible to your ruby version

Link : http://rubyinstaller.org/downloads/

Download under

C:/Ruby Folder/devkit

Then on command line go to above path

C:/Ruby Folder/devkit

then say

gem install bcrypt-ruby

This should install it,

Post this, you need to add the gem to your Gemfile and say

bundle install
bundle update
bundle install

This should work fine. Also solves update issues related to active_record etc.


The same should work for WIN 64, WIN 32 also.


from bcrypt-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.