Tried to bundle install in my first ruby project, doing a tutorial so i'm pretty new to all of this coding stuff. I was following part of the tutorial and everything was going fine until I encountered this:
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
An error occured while installing rake <10.4.2>, and Bundler cannot continue.
Make sure that 'gem install rake -v '10.4.2' succeeds before bundling.
Please explain in layman terms
Make sure that 'gem install rake -v '10.4.2' succeeds before bundling.
Type gem install rake -v '10.4.2 in to your command line and it'll install the rake gem.
Gems are simply other Ruby programs you can add to use within your program. See here: https://rubygems.org/ and here: https://en.wikipedia.org/wiki/RubyGems
Related
I have installed rails from railsinstaller.org and i tried to run a
Rails new myrubyblog
and after the gems were created it told me
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read sever certificate B: certificate Verify failed (https://rubygems.org/gems/i18n-0.7.0.gem)
An error occurred while installing i18n (0.7.0), and Bundler cannot continue. Make sure that 'gem install i18n -v '0.7.0''succeeds before bundling.
After that occured i then ran:
gem install i18n -v '0.7.0'
Then i ran
Rails new my
and the same thing occurred but instead it told me to run:
gem install json -v '1.8.3'
I don't know what else to do now could someone help me.
I have the following error. Could you please let me know how to solve them?
Many thanks in advance.
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.
C:\Sites\firstTest>gem install rake -v '10.4.2'ERROR: While executing gem... (Encoding::UndefinedConversionError) U+00E9 to IBM866 in conversion from UTF-16LE to UTF-8 to IBM866
You may need to manually upgrade your rubygems version as explained here: unable-to-pull-data-from-https-rubygems
I am new to this forum and web development :-) Career change.... I am having problems with the installation. I am following the instructions from Railsbridge Installfest for MS Windows.
I am now stuck at Create a Rails app, step rails new test_app. Everything else so far has installed without any issues. I get the following output and error:
run 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.
I would appreciate help in what I need to do next. I am not very technical and would love some assistance! Thanks a lot.
Bundle install on rails does not complete due to the following error:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.global.ssl.fastly.net/gems/jbuilder-2.2.5.gem)
An error occurred while installing jbuilder (2.2.5), and Bundler cannot
continue.
Make sure that gem install jbuilder -v '2.2.5' succeeds before bundling.
Each time I try to bundle install or bundle update, I get the same error.
How do I fix this problem?
Okay, so I got the solution to my problem. Looks like I was running an old version of bundler.
So I updated the version of bundler and then installed the required gem. Bundler version information and commands can be found on http://bundler.io/. It works perfectly fine now!
I'm trying to run my first rails app. The first error I get is:
Could not find gem 'sdoc (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
So then I try running "bundle install" and get:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/gems/i18n-0.6.9.gem)
An error occurred while installing i18n (0.6.9), and Bundler cannot continue.
Make sure that `gem install i18n -v '0.6.9'` succeeds before bundling.
So then I tried "gem install il8n -v '(0.6.9)'" and I get:
ERROR: Could not find a valid gem 'il8n' (= 0.6.9), 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://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz)
---------------- UPDATE
I then changed
source 'https://rubygems.org'
to
source 'http://rubygems.org'
After trying bundle install I now get:
An error occurred while installing atomic (1.1.14), and Bundler cannot continue.
Make sure that `gem install atomic -v '1.1.14'` succeeds before bundling.
So then I try:
$ bundle update --source atomic
and get
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at bit.ly/bundler-issues.
Stuck! Any advice is much appreciated.
Charlie
Figured it out. Needed to update Xcode and agree to the new licence.
It works for RubyMine, Ubuntu 14.04x64
replace in your Gemfile
source 'https://rubygems.org'
to
source 'http://rubygems.org'
replace in your Gemfile
source 'https://rubygems.org'
to
source 'http://rubygems.org'
without 's' which mean secure
then
bundle install