I try to install ruby ββon rails, but I keep getting so many errors when I try to create an application.
Here is what I did on my Windows machine:
1) Downloaded software railsinstaller-3.0.0.exe 2) Installed rails on my machine. 3) Make sure the installation was successful:
E: \ Rails> ruby ββ-v ruby ββ2.0.0p598 (2014-11-13) [i386-mingw32]
E: \ Rails> sqlite3 --version 3.8.7.2 2014-11-18 20:57:56 2ab564bf9655b7c7b97ab85cafc8a48329b27f93
E: \ Rails> rails -v DL is deprecated, use Fiddle Rails 4.1.8
Now, when I try to create an application, I get the following exceptions:
Command Used: rails new blog
run bundle install DL is deprecated, please use Fiddle Fetching gem metadata from https://rubygems.org/........... Fetching additional 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.
Now I tried to run this command - gem install rake -v '10.4.2' , now I started getting below error:
E:\Rails>gem install rake -v '10.4.2' ERROR: Could not find a valid gem 'rake' (= 10.4.2), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/specs.4.8.gz)
I am completely stuck here, could you tell me where I am mistaken in this installation? I tried various options given in SO, but I fail all the time.
If I try to start the server, I get the following exceptions:
E:\Rails> cd blog E:\Rails\blog>rails server Could not find gem 'tzinfo-data (>= 0) x86-mingw32' in the gems available on this machine. Run `bundle install` to install missing gems.
Now, if I run bundle install , I get a new error:
E:\Rails\blog>bundle install DL is deprecated, please use Fiddle Fetching gem metadata from https://rubygems.org/........... Fetching additional 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.
Again, if I try to install rake, I get a new exception:
E:\Rails\blog>gem install rake -v '10.4.2' ERROR: Could not find a valid gem 'rake' (= 10.4.2), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/specs.4.8.gz)
I have been trying this for the last 2 days, but still I canβt figure out where I am making the installation error.