Install gem ‘Rake ‘ in windows

The reason is old rubygems. So we need to remove ssl source to be able to update gem --system which includes rubygems and so on. after this we can feel free to get back to ssl source.
gem sources -r - to temporarily remove secure connection
gem sources -a - add insecure connection
gem update --system - now we're able to update rubygems without SSL
after updating rubygems do vice versa
gem sources -r - to remove insecure connection
gem sources -a - add secure connection
Now you're able to update gems using secure connection.
gem update

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s