I'm trying to install sass. But not able to install.
Im facing this issue.
C:\Users\Administrator>gem install sass
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNABORTED: An established connection was aborted by the software i
n your host machine. - SSL_connect (https://rubygems.org/quick/Marshal.4.8/sass-
3.4.13.gemspec.rz)
Related
Whenever I follow the instructions on the compass-style.org website I keep getting this error in the terminal:
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
MARS:Enrollment MARS$ gem install compass
I don't know how to troubleshoot things like this and was wondering if anyone had encountered this issue before and how they resolved it.
Thanks.
I built a Ubuntu (14.04) box using Puphpet.
When I run the command vagrant up. The box does get generated but the provisioning is interrupted by the following error:
==> default: ERROR: Could not find a valid gem 'deep_merge' (>= 0), here is why :
==> default: Unable to download data from https://rubygems.org/ - SSL_ connect returned=1 errno=0 state=error:
certificate verify failed (https://rubygems.org/latest_specs.4.8.gz)
==> default: ERROR: Could not find a valid gem 'activesupport' (>= 0), here is why:
==> default: Unable to download data from https://rubygems.org/ - SSL_ connect returned=1 errno=0 state=error:
certificate verify failed (https://rubygems.org/latest_specs.4.8.gz)
==> default: ERROR: Could not find a valid gem 'vine' (>= 0), here is why:
==> default: Unable to download data from https://rubygems.org/ - SSL_ connect returned=1 errno=0 state=error:
certificate verify failed (https://rubygems.org/latest_specs.4.8.gz)
The SSH command responded with a non-zero exit status. Vagrant assumes
that this means the command failed. The output for this command should
be in the log above. Please read the output to determine what went
wrong.
I am using Vagrant 1,8.1. The relevant Vagrantfile and config.yaml file. I am working on a Windows 7 host machine.
Appreciate any help in the matter.
Melekes' answer is probably on the right path. There was an SSL upgrade in RubyGems which caused quite a few headaches in other tools using Ruby. You can manually upgrade the RubyGems gem itself using something like gem install rubygems to upgrade, or follow the directions at the Ruby site to manually fix this if the automatic upgrade doesn't work.
http://guides.rubygems.org/ssl-certificate-update/#manual-solution-to-ssl-issue
please help me to resolve this installation error.
first install ruby "Ruby 2.1.5" and then wrote in cmd "gem install sass" but got an error
C:\Ruby21
C:>ruby -v ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]
C:>gem install sass ERROR: Could not find a valid gem 'sass' (>= 0),
here is why:
Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Se produjo un error durante el intento de conexi?n
ya que la parte conectada no respondi? adecuadamente tras un periodo
de tiempo, o bien se produjo un error e n la conexi?n establecida ya
que el host conectado no ha podido responder. - con nect(2) for
"api.rubygems.org" port 443 (https://api.rubygems.org/latest_specs.4
.8.gz)
I have removed the proxy and have even given me free ip and permissions to install "gem install sass" but the error keeps coming but now appears to be another
C:\Users\usuario>gem install sass
ERROR: Could not find a valid gem 'sass' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://api.rubygems.org/latest_specs.4.8.gz)
I got friends thanks to https://www.youtube.com/user/johanricardo1108/about
that have:
gem sources -a http://rubygems.org/
comfirmed and then this:
gem install sass
C:\Ruby21>gem sources -a http://rubygems.org/
https://rubygems.org is recommended for security over http://rubygems.org/
Do you want to add this insecure source? [yn] y
http://rubygems.org/ added to sources
C:\Ruby21>gem install sass
Fetching: sass-3.4.12.gem (100%)
Successfully installed sass-3.4.12
Parsing documentation for sass-3.4.12
Installing ri documentation for sass-3.4.12
Done installing documentation for sass after 6 seconds
WARNING: Unable to pull data from 'https://rubygems.org/': SSL_connect returned
=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (htt
ps://api.rubygems.org/latest_specs.4.8.gz)
1 gem installed
C:\Ruby21>sass -v
Sass 3.4.12 (Selective Steve)
Check out your firewall and network connections. I have this problem when connecting through the network of company where I work, because we have a proxy that blocks those.
Check for these addresses and ports to be open in a firewall:
rubygems.org 443
github.com 443
s3.amazonaws.com 443
I am trying to get SASS installed on my windows machine at work, however after installing ruby I cannot seem to install it ..
Ruby Version - 2.1.5
The error I am getting when running gem install sass on the command prompt :
ERROR: Could not find a valid gem 'SASS' ,.= 0., 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://api.rubygems.org/latest_specs.4.8.gx
Has anyone else encountered this? Know a way around it??
Turns out the latest download of ruby is having issues with it's SSL cert .. Installed an older version - works a treat
I was trying to install compass on my OS X terminal using the following command:
sudo gem install compass
but an error prompt:
ERROR: Could not find a valid gem 'compass' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Connection refused - Connection refused (https://rubygems.org/latest_specs.4.8.gz) ERROR: Possible alternatives: compass
What's causing this?
I then googled and found the same issue here:
Errno::ECONNREFUSED No connection could be made because
But I don't understand how the following command can resolve the issue:
Try to use environment variables to set the proxies:
export http_proxy="http://user:pass#server.com:port"
export HTTP_PROXY="http://user:pass#server.com:port"
I am only installing compass on my localhost. What should the USER, PASS, and #SERVER be replaced with?
Thank you in advance
I have successfully installed compass now after fixing my proxy via this link:
http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/
Basically I just did the following commands on the terminal:
$ export http_proxy=http://server-ip:port/
$ export http_proxy=http://127.0.0.1:3128/