S
samyw
high
my problem was the following:
H:\>gem search bla --remote
*** REMOTE GEMS ***
ERROR: While executing gem ... (Errno::EBADF)
Bad file descriptor - connect(2)
a long time i could not figure out, why this happens - though i had
the intention, it must be, because i only can go thru a proxy to the i-
net. so, here is finally the solution, if you suffer the same
circumstances.
1. find out, what your proxy url is (in your functioning browsers
options you will find something like a http://terra.sol.org/proxy.pac;
donwload this, open in an editor an find your proxy-server url)
2. assuming your proxys url is: http://terra.sol.proxy.org:8080, set
an environment variable called http_proxy to that url:
open a shell/command-window an do:
REALOS> export http_proxy=http://terra.sol.proxy.org:8080
NOOS> set http_proxy=http://terra.sol.proxy.org:8080
ANYOS> gem install fxri
thats it
have fun!
my problem was the following:
H:\>gem search bla --remote
*** REMOTE GEMS ***
ERROR: While executing gem ... (Errno::EBADF)
Bad file descriptor - connect(2)
a long time i could not figure out, why this happens - though i had
the intention, it must be, because i only can go thru a proxy to the i-
net. so, here is finally the solution, if you suffer the same
circumstances.
1. find out, what your proxy url is (in your functioning browsers
options you will find something like a http://terra.sol.org/proxy.pac;
donwload this, open in an editor an find your proxy-server url)
2. assuming your proxys url is: http://terra.sol.proxy.org:8080, set
an environment variable called http_proxy to that url:
open a shell/command-window an do:
REALOS> export http_proxy=http://terra.sol.proxy.org:8080
NOOS> set http_proxy=http://terra.sol.proxy.org:8080
ANYOS> gem install fxri
thats it
have fun!