Displaying 20 results from an estimated 100 matches similar to: "gem fetching error"
2009 Sep 11
2
Installing Rails problem
I have installed Ruby and Apache, but when tried to install Rails (sudo
gem install rails --include-dependencies) I have got an error:
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
ERROR: While executing gem ... (URI::InvalidURIError)
the scheme http does not accept registry part: :8080 (or bad
hostname?)
2008 Nov 24
14
Problem with RubyGems installation
Hello,
I am trying to install RubyGems on Ubuntu and i''m having trouble. I''ve
downloaded rubygems 1.3.1 and when i run the sudo ruby setup.rb command
I get the problem mentioned below. I''d really appreciate if someone can
help me out.
Thanks
mkdir -p /usr/local/lib/site_ruby/1.8
mkdir -p /usr/bin
install -c -m 0644 rbconfig/datadir.rb
2008 Nov 20
1
running tests on gem
Is there a way to run he tests with cjust the gem installed?
I wanted to run the tests on the gem and tried:
$ jruby -S gem list RedCloth
*** LOCAL GEMS ***
RedCloth (4.1.1)
$ jruby --version
jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-14 rev 6586) [i386-java]
[jruby.git (master)]$ jruby -S gem check -test RedCloth
ERROR: While executing gem ... (OptionParser::InvalidOption)
2009 Jan 28
2
open_uri failure on good uri.
I am trying to open a URI using doc = Nokogiri::HTML(open(url)). I get
the following error:
URI::InvalidURIError: bad URI(is not URI?):
http://www.mauipropertytax.com/Datalets.asp?mnu=PSearch&submnu=Profile&pin=390350950000&tp=2&cp=1&State=1|1|*&item=1
from /usr/local/ruby/lib/ruby/1.8/uri/common.rb:436:in `split''
from
2013 Jan 30
2
Installing fog -0.7.2 for CloudProvisioner
Hi,
I am trying to install fog which is required for cloud provisioner.
> gem install fog -v 0.7.2
I am getting the following error
Building native extensions. This could take a while...
................
ERROR: Error installing fog:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
creating Makefile
make
2009 Jun 10
0
install pb(solved) : http://gems.rubyforge.org/ does not appear to be a repository
I''m installing ruby on rails on my local windows laptop,
piece of cake, ruby is adult now, so I thought...
http://rubyonrails.org/download
is clear :
install ruby with windows installer, ok
download gems, unzip and "ruby setup.rb", ok
but "gem install rails" tells :
"http://gems.rubyforge.org/ does not appear to be a repository"
here I groan, is it the
2010 Jul 30
1
Problem with installing Rails 2.3.8 on Ubuntu 10.04
hi,
I installed the ruby-full package. After downloading the rubygems
1.3.7, I installed it without any problem. I guess it should have
installed relative gems by default, such as activesupport.
Any help is appreciated.
Mars
root@mars-laptop:~# uname -a
Linux mars-laptop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02
UTC 2010 i686 GNU/Linux
root@mars-laptop:~# ruby -v
ruby 1.8.7
2006 Nov 22
1
to_absolute_uri typo in 0.6.3?
I just started using Mechanize, and started using Ruby about thirty
seconds before that, but one of the sites I''m scraping does a redirect
on form submission to a badly-formed relative URL:
index.cfm?action=bing&bang=boom=1|a=|b=|c= (etc.)
Interestingly, Mechanize 0.6.2 handled this OK, but in 0.6.3 this causes
a URI::InvalidURIError exception from URI.parse() in to_absolute_uri
2010 Mar 08
4
install problems on fedora 12
I just got set up with fedora 12 and am a new user for that distro.
I got ruby 1.8.6 installed. Then I tried to install rails using yum
which gave me rails 2.3.4. When I tried to start a rails project I had
an error saying the wrong version of rack was supplied. I tried to
resolve that with gem installs but got errors saying it couldn''t find
rubygem sources. Then I decided to see if I
2009 Jun 22
2
URI::InvalidURIError with open-uri and Google Maps
Hello,
I''m getting an URI::InvalidURIError in my controller when I use german
characters in the uri. Google accepts them but open-uri not. How to
encode them?
That''s my controller simplified:
def index
require ''open-uri''
address = "Bürgerstraße+68+01127+Dresden"
api_key = "my api key"
json =
2007 Mar 20
6
bad URI problem when submitting a form
Hi all,
I''ve a problem when submitting a form : the URL seems to be invalid. I really
don''t see the way I should try to solve that problem. I searched on the web,
but didn''t found any kind of that problem.
Here is the code :
require ''mechanize''
agent = WWW::Mechanize.new
page =
2012 Aug 08
5
Error Bundler
Any body can help me!
i try create a new project, at the end i had message
error bundler.
root@xxx:/home/xxx# rails new depot_b
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/images/rails.png
create app/assets/javascripts/application.js
create
2008 Jun 27
0
gem install rails issue CRC error
im trying to install rails with gem. i have compiled 1.8.6 from source
and am running gem 1.1.1
here is the output:
[root@webapp1 ~]# gem install rails --include-dependencies --verbose
--backtrace
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
connection reset after 2 requests, retrying
Missing metadata for 14022
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
Hi,
I was getting an odd error installing rails-3.0.0.beta3 on a fresh
Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu
9.10 install, so I''m sure it isn''t something specific to the Ubuntu
version (nor beta for that matter).
This is the error:
mike@ubuntu:~/rubygems-1.3.6$ sudo gem1.9.1 install rails --pre
Successfully installed activesupport-3.0.0.beta3
2010 Feb 04
3
Rails Edge: gem bundle error
Hi.
Having installed Ruby 1.9 from source, I decided to have a look at
Rails3 aka Rails edge from git. Therefore, I followed wycats
instructions (http://weblog.rubyonrails.org/2010/1/1/getting-a-new-app-
running-on-edge), but keep getting an error related to Bundler:
$ sudo gem bundle --backtrace
ERROR: While executing gem ... (NoMethodError)
undefined method `path'' for
2008 Apr 04
2
can't install rails. gem zlib crc error
hi all
i''m trying to install ruby on rails on my debian server. i didn''t use
apt-get. i installed everything from source. i used this tutorial
(without PD-Admin): http://railswiki.de/Ruby_on_Rails_auf_einem_Debian_Server_installieren
now i can''t install rails over gem, i''m getting this zlib crc error:
root@co2:~# gem install rails --include-dependencies
2007 Nov 14
0
Hpricot & mechanize fail to parse page after redirect1q
Hi everyone,
My quest with mechanize/Hpricot continues :)
Something extremely strange happened today - some simple working code broke
down, and i can''t figure out why.
I am trying to access a piratebay.org search page, which does a redirect to
a relative url like this:
original link:
http://thepiratebay.org/s/?page=0&orderby=3&q=football+manager+2008&searchTitle=on
redirects
2007 Jan 12
0
why dose to_absolute_uri use URI.escape?
hello.
This code is abort with Mechanize 0.6.4 .
----------------------------
# sample.rb
require "rubygems"
require "mechanize"
agent = WWW::Mechanize.new
agent.user_agent_alias=''Windows Mozilla''
# top page of wikipedia for japanese
agent.get("http://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8")
2006 Aug 22
0
gem install postgres, dead meat - revisited
I''m still trying to install this sucker ... (RR)
I''m behind a firewall on a WinXP machine.
I open up a DOS window, go to my RR sample app and type the following to
set up postgres:
gem install postgres
I get back the following error:
ERROR: While executing gem ... (SocketError)
getaddrinfo: no address associated with hostname.
So ... I create this environment variable
2010 Jul 29
0
want to get original url from short(i.e tiny,bit.ly etc) url
Hi all,
I am using Expurrel gem to get the original url from the short url
for all the url shortener services.It works good on the script/console
and irb but it is throughing me error like "URI::InvalidURIError in
KeywordsController#create" in my application after giving some no. of
original url and its for "bit.ly" url shortener. So is there any
solution for this or any