problems to install gems behind a proxy (thus, bbb0.8 install failed)

829 views
Skip to first unread message

Xavi

unread,
Feb 23, 2012, 12:50:04 PM2/23/12
to BigBlueButton-Setup
Hi all:

I'm trying to install bbb 0.8 on an ubuntu server 10.04, following the
steps in
http://code.google.com/p/bigbluebutton/wiki/08InstallationUbuntu

However, I'm stuck at this point:
sudo gem install hello

in which I can't install anything. Our institution is behind a proxy,
and I can't seem to succeed to setup up the proxy info for the gems to
install successfully.

I get:
---------------------
$ sudo gem install hello
ERROR: While executing gem ... (URI::InvalidURIError)
the scheme http does not accept registry part:
ourproxy_url:port (or bad hostname?)

$ sudo gem install -p ourproxy_url:port hello
invalid argument: -p ourproxy_url:port hello
---------------------

Where it says ourproxy_url:port, I wrote the right http address and
port of our proxy, and it works nicely for http pages, wget, rsync,
etc. But not for gem , it seems.

Any tip?

Xavi

Fred Dixon

unread,
Feb 23, 2012, 1:03:57 PM2/23/12
to bigbluebu...@googlegroups.com
Hi Xavi,

See


And let us know if that gets you going.


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton




Xavi

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To post to this group, send email to bigbluebu...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.






Xavier de Pedro

unread,
Feb 24, 2012, 1:02:41 PM2/24/12
to bigbluebu...@googlegroups.com, Fred Dixon
Dear Fred:

I tried something like:

---------
export HTTP_PROXY="http://ourproxy:port"

gem install --http-proxy $HTTP_PROXY builder -v 2.1.2
ERROR: While executing gem ... (OptionPArser::InvalidArgument)
   Invalid argument: --http-proxy http://ourproxy:port
---------

In case it matters, we installed ubuntu 10.04 server 64 bit "minimal server" setup, not the standard one. Maybe we are missing some extra package for ruby gem to work?

Xavi (the same xavi as in tiki.o, btw)

Xavier de Pedro

unread,
Feb 29, 2012, 8:46:41 AM2/29/12
to bigbluebu...@googlegroups.com, Fred Dixon
Oh well, I finally reinstalled the whole server with a ubuntu 10.04 desktop, in a network outside of our firewall and proxy, and everything went smooth. I have (apparently) everything up and running.
I did move the machine back to the firewall-protected environment, change the ip to the local ip of the machine inside our firewall, and I'll report back if any issues.

So far, I couldn't upload files when in the demo bbb instance, but anyway, I'll try again in a few days, and "ping back" about this issue if I can't solve it.

Cheers

Xavier
Reply all
Reply to author
Forward
0 new messages