Install “bcrypt-ruby” on Windows

rails, Uncategorized

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s