I followed the instructions in the Handsoap wiki.
However, when I try to run my application I get this error:
Missing these required gems:
troelskn-handsoap
And if I run:
gem install troelskn-handsoap
I get:
ERROR: Could not find a valid gem
'troelskn' (>= 0) in any repository
What am I missing?
Thx.
The gem has been renamed - It's now simply named handsoap. Install it from gemcutter:
gem sources -a http://gemcutter.org
sudo gem install handsoap curb nokogiri
The canonical repository for Handsoap is now on https://github.com/unwire/handsoap
Related
I was trying to install Ruby on Rails onto my PC, when I got this error:
gem install rails - ERROR: While executing gem (Net::HTTPServerException) 407 “Proxy Authentication Required” [on hold]
I tried:
gem install --http-proxy http://{domain}%5C{username}:{password}#{proxy.address}:{port}/ rails
got the error in the title
I also tried:
gem install -p http://pynewbie:mypassword#the-proxy-host.com:8888 rails
and got the error
ERROR: Could not find a valid gem 'rails' (>= 0), here is why: Unable to download data from https://rubygems.org/ - no such name(https://rubygems.org/specs.4.8.gz)
better to use proxychains to proxy all requests inside your command:
proxychains gem install rails
after install you have to create configuration file on ~/.proxychains/proxychains.conf
proxychains github
I'm loosing my mind trying to figure out how to solve this issue. I don't know anything about Ruby, I'm just trying to read the docs of react which needs Jekyll to serve them as they're markdowns (didn't understand why they need to complicate things like that). The readme file of the docs says that you have to install these:
Ruby (version >= 1.8.7)
RubyGems (version >= 1.3.7)
Bundler
which I've done. And then you'll have to do these instructions:
cd react/docs
bundle exec rake
bundle exec jekyll serve -w
open http://localhost:4000/react/index.html
But when I execute the second command bundle exec rake, this stupid error is thrown:
Could not find gem 'wdm (>= 0.1.0) x86-mingw32' in any of the gem sources listed in your Gemfile.
Run bundle install to install missing gems.
I run bundle install and it throw an error too:
An error occurred while installing json (2.0.1), and Bundler cannot continue.
Make sure that gem install json -v '2.0.1' succeeds before bundling.
I try to install gem install json -v '2.0.1' and it throws an error:
Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
What the hell is going on? Why don't they make something simple? This should be easy not as complicated as rocket science!
Note: I'm using Windows 32bit if that is of some importance.
Any help is very appreciated!
You have to install the DevKit. Learn how here!
Then make sure bundle is installed or install it like this:
gem install bundle
I've done a good search now and I haven't come across anything that quite relates.
I'm trying to install a local decimal to roman numeral gem I compiled myself using bundler to wrap the gem, on a Rails 4 application. I used bundle install with as many different variants in the gemfile as I could find/think of, but the error I get is the single line
ERROR: Could not find a valid gem 'AoifesRoman' (>= 0) in any repository
even using the sudo command wont work.
I used: gem search -l AoifesRoman
and it shows
*** LOCAL GEMS ***
AoifesRoman (0.0.1)
I found a command here http://help.rubygems.org/kb/rubygems/installing-gems-with-no-network
gem install --force --local *.gem
But its for installing a gem on a machine, does anyone think this would work or will it just break something?
Many Thanks
Kindly try this command,
gem install gem_name --source http://rubygems.org
Yes, gem install --local aoifes_roman.gem should work, if you want to install the gem locally, from your local directory.
Then you can reference it in your Gemfile as usual.
hiii
i am trying to update my gem file. Current version of gem is 1.8.5
When i am trying to update it using command " gem install rubygems-update -v 1.8.5 " it is giving following error
**
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SocketError: getaddrinfo: Name or service not known
(http://rubygems.org/gems/rubygems-update-1.8.5.gem)
**
I am working on ubuntu 10.04
also i tried to update using command " gem update --system "
it is giving the error as below
Updating rubygems-update
**
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find a valid gem 'rubygems-update' (1.8.6) locally or in
a repository
**
i also tried the solution given on the link http://lightyearsoftware.com/2009/07/updating-rubygems-to-recent-1-3-x/
please help me to resolve the problem..
If you are under Windows 7, run the command prompt as Administrator.
Read this thread. The error reported is the same of yours.
Try to apply the Google DNS configuration to your connection.
Otherwise you can try to install locally the gem, downloading it on rubygems.org. After this, in the directory you downloaded the gem, try to install it locally with the command: gem install gem_name --local
I also had this error. I resolved it with
gem uninstall rubygems-update
(you may need to be sudo) and then reinstalled with
gem install rubygems-update
now it's working fine, hope this is helpful
Try this:
Manually uninstall the gem you want to remove: gem uninstall [gemToUinistall]
Download the gem manually from http://rubygems.org/
try to install the gem from local : gem install [gemToInstall]
As shown in a blog I followed the instructions of setting up SQLite3 on my Windows, but after I pasted the necessary files in Bin folder of Ruby, which I downloaded from http://www.sqlite.org/download.html, I get the following error when I use the following commmands:
C:\gem install sqlite3-ruby --version=1.2.3
ERROR: http://rubygems.org does not appear to be a repository
ERROR: Could not find a valid gem 'sqlite3-ruby' (= 1.2.3) in any repository
Please help me out with this problem and suggest me alternate methods for gem installing SQLite3.
Thanks.
Check that you have the latest version of rubygems: gem -v executed in a command prompt should return 1.3.7. If it does not, you have several options (also explained on rubygems.org):
gem update --system
or
gem install rubygems-update
update_rubygems
Secondly, if you have the correct version and you are on a network with a proxy, you have to tell gem to use that proxy.
There are two ways to do that. First, you could do
gem install sqlite3-ruby -p http://yourproxyserver:port`
or you could define an environment variable
set HTTP_PROXY=http://yourproxyserver:port
and then this setting is saved (and you do not have to specify it explicitly anymore).
Hope this helps.
Try doing this: gem install sqlite3-ruby --version=1.2.3 --source http://gemcutter.org
If that does not work head over to http://gemcutter.org and download the particular version of the gem file, go to the destination to where you copied it to in the command line and install it locally using gem install sqlite3-ruby -l