I am trying to run on my vagrant machine
sudo gem install foreman --source http://rubygems.org
But i am getting the following error.
ERROR: Could not find a valid gem 'foreman' (>= 0), here is why: Unable to download data from https://rubygems.org/ - no such name (ht tps://rubygems.org/specs.4.8.gz)
can someone tell me what could be wrong?
Related
I am using Debian 9 and I am trying to install gettc https://github.com/seri/gettc
I have done:
sudo apt-get install ruby gem
and
gem install --local gettc
gives me the error:
ERROR: Could not find a valid gem 'gettc' (>= 0) in any repository
You need to drop the --local flag if you want to install a gem located on a remote gem server and not on your local machine.
I got this when I tried to update gems:
LJ$ gem update --system
ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
no such name
and this when trying to install a gem:
LJ$ gem install mongrel
ERROR: Could not find a valid gem 'mongrel' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name
What's the problem?
I am getting
"Could not find a valid gem 'cucumber' (>= 0) in any repository... SocketError: getaddrinfo: No such host is known" error while trying to install cucumber. PFB the details:
"ruby -v"
ruby 1.9.3p484 (2013-11-22) [i386-mingw32]
"gem -v"
1.8.28
"gem install cucumber"
ERROR: Could not find a valid gem 'cucumber' (>= 0) in any repository
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) SocketError: getaddrinfo: No such host is known. (http://rubygems.org/latest_specs.4.8.gz)
"ruby dk.rb install"
[INFO] Skipping existing gem override for 'C:/Ruby/Ruby193'
[WARN] Skipping existing DevKit helper library for 'C:/Ruby/Ruby193'
I have placed Ruby in C:\Ruby\Ruby193 and DevKit in C:\Ruby\DevKit paths.
Do let me know what I am missing.
Error while trying to Install Dashing using Ruby Gems on SUSE linux....
sudo gem install -V dashing --source http://rubygems.org
ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
Unable to resolve dependency: dashing (= 1.3.1) requires sass (>= 0)
spothi # sudo gem install -V dashing
ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
Unable to resolve dependency: dashing (= 1.3.1) requires sass (>= 0)
spothi # sudo gem install dashing
ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
Unable to resolve dependency: dashing (= 1.3.1) requires sass (>= 0)
spothi # sudo gem install dashing-1.0.5.gem
ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
Unable to resolve dependency: dashing (= 1.0.5) requires sass (>= 0)
Please let me know, how to resolve as I already tried changing source from https to http as well.
t was mainly due to company's proxy and I have tried
gem install -p http:proxy:port dashing
it workeId
os: os x lion
i was not able to install any gems . checked the gem sources http://rubygems.org was in the list. tried using the system gem (ruby 1.8.7) and rvm ruby (1.9.2). For any gem install GemNotFoundException was thrown.
gem install sinatra --no-ri --no-rdoc
ERROR: Could not find a valid gem 'sinatra' (>= 0) in any repository
ERROR: Possible alternatives: sinatra
SKYLINE:rubygems-1.8.6 avinash$ gem sources
*** CURRENT SOURCES ***
http://rubygems.org/
Any ideas?
Help would be appreciated.
-Avinash
Wouldn't be simply that you are not connected to the internet when trying to download the gem ? ... (I had the same, it looks stupid, but it happens ;