Marcus van der Neut
Marcus van der Neut

Reputation: 11

Creating a Rails app in Windows

I have been trying to install Rails on my Windows PC for the past days. I got the bundle from www.railsinstaller.org and it installed great. When creating a new application I can see that all the app files are created then I get the following error:

  bundle install

DL is deprecated, please use Fiddle Fetching gem metadata from https://rubygems.org/.......... Resolving dependencies... Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B : certificate verify failed (https://rubygems.org/gems/rake-10.4.2.gem) An error occurred while installing rake (10.4.2), and Bundler cannot continue. Make sure that gem install rake -v '10.4.2' succeeds before bundling.

Hoping someone can help with resolving this.

Upvotes: 1

Views: 102

Answers (3)

Edmund Lee
Edmund Lee

Reputation: 2584

This link could be helpful.

Creating a Ruby on Rails environment on Windows, in a VM Vagrant Box

Instead of install ROR directly onto Windows, you might want to use a Linux like OS. Not because Rails environment cannot be setup in Windows. But all the problems you will encounter, especially when most of tools are designed for that when you are not using a Linux like OS and try to mimic that.

But I highly recommend you skip doing all that if you are just trying to learn, and use Nitrous.io, which is an online IDE that gives you all the tool. IMHO, dealing with Windows in this case is a waste of time.

Upvotes: 1

coderz
coderz

Reputation: 4999

I simply run

gem update --system

and it fixed. More info please check bundle install fails with SSL certificate verification error

Upvotes: 0

shivam
shivam

Reputation: 16506

First message:

DL is deprecated, please use Fiddle Fetching gem metadata ..

is a warning message. You read about it here.

The main error is encountered while installing rake.

An error occurred while installing rake (10.4.2), and Bundler cannot continue. Make sure that gem install rake -v '10.4.2' succeeds before bundling.

To solve this, you should first update Rubygems:

gem update --system

And then update Bundler:

gem install bundler

Upvotes: 0

Related Questions