Displaying 20 results from an estimated 70000 matches similar to: "how to set proxy with gem"
2008 Dec 09
2
Rails and Ruby behind proxy
Hi there,
I''ve a little problem.
On my code, I use the flickraw gem. On the application.rb there is a
require ''flickraw'' who create a new instance, and for that need to
pass the net.
It works at home, but in my office we have a proxy, and when I launch
webrick I have an error saying that I''m behind a proxy :(.
Does anyone have an idea on how to correct this
2006 Mar 27
6
Problem installing Rails
Hi
I am getting the following error when i tried to install rails in
windows using command prompt....
Attempting remote installation of ''rails''
Updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::RemoteSourceException)
Error fetching remote gem cache: getaddrinfo: no address associated
with hostname.
There are proxy settings in
2006 Apr 11
1
Why will gems only install rails 1.0 when using a proxy?
Why will gems only install rails 1.0 when using a proxy?
gem install rails -p http:\\myproxy
will only install rails 1.0!!! why is this? it''s very irritating
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Jun 15
5
gem install rails locally without Internet?
I''ve got a machine that cannot be connected to the Internet (think
security precautions in a bank) and am thus trying to install rails
using
gem install rails-1.1.2.gem
thinking this would work. It does not. I get errors about
ActiveSupport module missing. It makes it sound like I have to get
separate gems for ActiveSupport, ActiveRecord, etc., and install them
all one at a
2008 Nov 21
2
How to install the plugin manually?
Dear all
I would like to install plugin auto_complete but failed..
jruby -S script/plugin discover
C:/jruby-1.1.5/lib/ruby/1.8/open-uri.rb:278:in `open_http'': 407 Proxy
Authentication Required (OpenURI::HTTPError)
I have set the http_proxy=http://user:password@host:port/, It is working
fine to fetch gem files.
I know the plugin is in here:
2006 Feb 02
2
Installation behind a proxy
Hi all,
I was a client site today on another project and we started talking about
RoR. I wanted to show it in action, so I downloaded the one-click Ruby
installer for Windows and then tried to do "gem install Rails
-include-dependencies". After a time-out period I received the following
error:
ERROR: While executing gem.(Gem::RemoteSourceException)
Error fetching remote gem
2007 Mar 16
5
Bad ActiveSupport gem in gem repository?
All,
I''m attempting to update my gems to 1.2 and I get the following:
Install required dependency activesupport? [Yn] Y
ERROR: While executing gem ... (Gem::InstallError)
invalid gem format for
c:/ruby/lib/ruby/gems/1.8/cache/activesupport-1.4.2.g
em
Anyone else seeing this? Anyone willing to try it to see what''s up?
Thanks,
Wes
--
Posted via
2008 Feb 06
3
slogging my way thru oracle, not adapter? gem install fails?
<ubuntu_gutsy> me@ubuntu:~/workspace/oracle/ro$ gem install
activerecord-oci-adapter
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find activerecord-oci-adapter (> 0) in any repository
<ubuntu_gutsy> me@ubuntu:~/workspace/oracle/ro$ rake db:migrate
(in /home/me/workspace/oracle/ro)
rake
2006 Feb 17
2
Http proxy set in yum.conf is not working for the new yum mirrorlist system
Hi,
It seems that the new update system does not consider the proxy option
set yum.conf. After installing centos-yumconf-4-4.4.noarch.rpm together
with the new yum packages, I was no longer able to use yum. In my case
HTTP access is allowed only through a proxy. The proxy URL is configured
in yum.conf.
If I set the environment variable http_proxy from the shell I start yum,
everything
2007 Dec 07
7
activerecord 2.0.1 gem
I have tried to install activerecord 2.0.1 both through gem update and
by manually downloading it and doing gem install. They both fail with
MANUAL:
C:\DRC\ruby>gem install activerecord-2.0.1
ERROR: Error installing gem activerecord-2.0.1[.gem]: buffer error
REMOTE:
R:\workzone\dwell-aware\trunk>gem update --source
http://gems.rubyonrails.com
Updating installed gems...
Attempting remote
2008 Jul 03
6
mysql gem warning on ubuntu
i just deployed my app on ubuntu with passenger.
i installed the mysql gem as follows:
$ sudo gem install mysql
Select which gem to install for your platform (i486-linux)
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation
> 3
Building native extensions. This could take a while...
Successfully installed
2008 Oct 10
3
Rails does not see installed gem in production.
Everything works like a charm locally, but running in production
(Dreamhost shared with Passenger if it matters), "These gems that this
application depends on are missing \n -rmagick"
Rmagick is installed on dreamhost, but I have also copied the gem into
the vendor directory, so it''s not even found within it''s local files.
I''m using config.gem
2007 Nov 29
6
Locomotive: Can not install mysql gem
I''m using Locomotive on MacOSX 10.4, and I have installed mysql
5.0.45.
To my surprise, the Ruby version included in Locomotive does not come
with the mysql
gem installed, so I tried to install it manually. According to the
instructions in database.yml,
this should be done using the --include switch, like this:
gem install mysql -- --include=/usr/local/lib
I selected the mysql 2.7
2006 Oct 08
1
gem remote installation error
Hi,
I am trying to install mysql driver for ruby via gem.
% gem install mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
ERROR: While executing gem ... (Errno::ECONNREFUSED)
Connection refused - connect(2)
gem --help indicates that more informatio can be found at
2006 Nov 08
2
Can I set the proxy server and authentification from within R?
Hi,
I am using Tinn-R and somehow I cannot point it to
start a R shortcut with http_proxy settings including
authentification. It always shows the .exe.
Is there any way to set the proxy from within R or any
other ideas how to do it?
I am using R 2.4 for Windows.
Thanks a million,
Werner
2008 Jul 30
1
Gem::RemoteFetcher::FetchError
E:\ruby\bin>gem update watir
Updating installed gems...
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
A connection attempt failed because the connected party did not
properly res
pond after a period of time, or established connection failed because
connected
host has failed to respond. - connect(2)(Errno::ETIMEDOUT)
E:\ruby\bin>gem update --system
Updating RubyGems...
2008 Jun 25
1
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
My attempts to install rails on a WIN XP fails..any ideas?
C:\ruby\bin>gem install rails
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
A request to send or receive data was disallowed because the
socket is not c
onnected and (when sending on a datagram socket using a sendto call)
no address
was supplied.(Errno::ENOTCONN)
I''m using ruby 1.8.6 (2007-09-24
2007 Oct 27
6
can't get gem to work
when I try to do
gem install rails
or gem install anything I get the following error:
ERROR: While executing gem ... (TypeError)
can''t instantiate uninitialized class
Anyone else seeing this and have any ideas?
- thanks
Johnny
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Aug 25
2
Color gem
I''m using the ruby gem "Color" and I''m having some troubles with to_hex.
I''ve installed the gem, and when I try and run the test program I get
this error:
>> red = Color.new(''ff0000'')
=> #<Color:0x3685990 @saturation=1.0, @hue=0.0, @lightness=0.5>
>> yellow = Color.new(''ffff00'')
=>
2007 Sep 03
1
Problem installing RMagick gem
Hi,
I have problems installing problem installing the RMagick gem.
My environment:
- winXP
- instantrails 1.4
- installed ImageMagick-6.3.0-7-Q8-windows-dll.exe
I have problems installing the gem:
cmd I''m running:
gem install rmagick --local --debug
Error:
Exception `Errno::ENOENT'' at F:/InstantRails/ruby/lib/ruby/site_ruby/
1.8/rubygems/config_file.rb:50 -
No such file or