| Article: |
Rolling with Ruby on Rails | |
| Subject: | difficulty installing | |
| Date: | 2005-01-26 10:41:07 | |
| From: | Challman | |
|
I'm behind a corporate firewall and proxy (with authentication). I can't get the "gem install rails --remote" to establish a connection. I've tried pointing local but it keeps looking to the 'net. I downloaded and ran install.rb for actionmailer, actionpack, activerecord and rake. I then tried "gem install rails" but it failed again. I then did a --force and it appeared to install:
|
||
Showing messages 1 through 6 of 6.
-
difficulty installing
2005-02-02 02:49:27 Chilli [View]
-
difficulty installing
2005-01-26 11:02:01 Challman [View]
Wow! I finally got this working. I had to
1. download and run setup.rb fro rubygems
2. download, run install.rb and gem install actionmailer.gem
3. download, run install.rb and gem install actionpack.gem
4. download, run install.rb and gem install activerecord.gem
5. download, run install.rb and gem install rake.gem
Then I was able to get "gem install rails" to work properly. I'm now able to run "rails cookbook".
Anyone have any idea why this was so difficult for my besides the fact that I'm on a M$ server? :) -
difficulty installing
2005-01-26 11:20:23 Curt Hibbs |
[View]
It shouldn't be that difficult (although, congrats on finding a workaround!).
Basically, you downloaded the "gems" (ruby packages, similar to jar files) manually and then installed them. This bypassed the need to get through your proxy server.
-
difficulty installing
2005-01-26 10:57:36 Curt Hibbs |
[View]
For non-authenticating proxys you can do this:
gem install rails -p http://<proxy-url>
I don't know how to do authenticating proxy's, but I've got a query in with the RubyGems developers and as soon as I know, I will post it here. -
difficulty installing
2005-11-14 09:38:02 elaveriao [View]
With an authenticating proxy, I have used
gem install rails -p http://user@pass:proxy-url
and it has worked
HTH -
difficulty installing
2005-12-09 06:13:57 Plog [View]
If you'r like me, behind a firewall/auth. proxy/etc... You can use HTTrack (http://www.httrack.com/) to get all gems at once. You'll be then able to install everything offline
On Linux :
# httrack http://rubyforge.lauschmusik.de/gems/ -O /MygemsDir -P username:password@your.proxy.xxx:port
Patrick LOGÉ
http://www.voxteneo.com



Windows: set HTTP_PROXY="http://proxyurl:8080"
Linux/Bash: export HTTP_PROXY="http://proxyurl:8080"