Install Ruby

766 views
Skip to first unread message

KLam

unread,
Nov 30, 2011, 4:07:04 PM11/30/11
to BigBlueButton-Setup
I was doing some other installs with aptitude, and aptitude told me
that there were some packages installed as dependence and no longer
needed, and asked me to removed them. I ignored this request for a
couple times, but this time, I accidentally agreed, and aptitude wiped
out my installation, and I am trying to redo it.

These are the packages that it removed:

Removing bbb-apps-deskshare ...
* Stopping Red5 Server
red5
[ OK ]
* Starting Red5 Server
red5
Waiting for 9 connections on port 1935 to close before starting
Red5 ...........

[ OK ]
Removing bbb-apps-video ...
Removing bbb-client ...
Removing bbb-common ...
Removing bbb-playback-slides ...
Removing bbb-record-core ...
Record and Playback monitoring stopped
Removing mencoder ...
Removing mplayer ...
Removing liblircclient0 ...
Removing libopenal1 ...
Removing libx264-85 ...
Removing red5 ...
* Stopping Red5 Server
red5
Waiting for BigBlueButton to finish starting up before shutting
down: ..... [ OK ]
Removing vorbis-tools ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Press return to continue.

I am in the process of re-installation, and have a problem with Ruby.
When I first setup the new server for the first time, I didn't have
this problem.

I am trying to install Ruby with the instruction here.
http://code.google.com/p/bigbluebutton/wiki/08InstallationUbuntu

I am getting error:

root@ubuntu:~# ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
root@ubuntu:~# gem -v
<internal:lib/rubygems/custom_require>:29:in `require': no such file
to load -- rbconfig (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from /usr/lib/ruby/1.9.2/rubygems.rb:128:in `<module:Gem>'
from /usr/lib/ruby/1.9.2/rubygems.rb:107:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /usr/bin/gem:8:in `<main>'

This site seem to have the answer, but I am not sure where to make the
changes.
http://stackoverflow.com/questions/3865515/strange-inability-to-require-config-boot-after-upgrading-to-ruby-1-9-2

Thank you.

Fred Dixon

unread,
Nov 30, 2011, 4:15:40 PM11/30/11
to bigbluebu...@googlegroups.com
Hi KLam,

We had encountered this ruby error before -- it drove us crazy because
ruby would almost always install fine, but occasionally we'd get this
error. The solution is to go through the installation process again

http://code.google.com/p/bigbluebutton/wiki/08InstallationUbuntu#2._Install_Ruby

on the server for ruby. After you do all the steps again, the command

gem -v

should work. We took a deeper look into it and, for some reason, a
ruby install doesn't install all the needed files for gem. When there
is a problem, we get the above error. Do the installation again and
it should all work


Regards,... Fred
--
BigBlueButton Developer
http://bigbluebutton.org/
http://code.google.com/p/bigbluebutton


> root@ubuntu:~# gem -v
> <internal:lib/rubygems/custom_require>:29:in `require': no such file
> to load -- rbconfig (LoadError)
>        from <internal:lib/rubygems/custom_require>:29:in `require'
>        from /usr/lib/ruby/1.9.2/rubygems.rb:128:in `<module:Gem>'
>        from /usr/lib/ruby/1.9.2/rubygems.rb:107:in `<top (required)>'
>        from <internal:lib/rubygems/custom_require>:29:in `require'
>        from <internal:lib/rubygems/custom_require>:29:in `require'
>        from /usr/bin/gem:8:in `<main>'

and the solution is to go through the installation of

--
BigBlueButton Developer
http://bigbluebutton.org/
http://code.google.com/p/bigbluebutton

> --
> 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.
>

KLam

unread,
Nov 30, 2011, 4:54:48 PM11/30/11
to BigBlueButton-Setup
I setup a New VPS, and this time Ruby and Gem installed property.

Where are the places that I update to set an static IP without using
DHCP?

On Nov 30, 1:15 pm, Fred Dixon <ffdi...@gmail.com> wrote:
> Hi KLam,
>
> We had encountered this ruby error before -- it drove us crazy because
> ruby would almost always install fine, but occasionally we'd get this
> error.   The solution is to go through the installation process again
>

>  http://code.google.com/p/bigbluebutton/wiki/08InstallationUbuntu#2._I...


>
> on the server for ruby.  After you do all the steps again, the command
>
>    gem -v
>
> should work.  We took a deeper look into it and, for some reason, a
> ruby install doesn't install all the needed files for gem.  When there
> is a problem, we get the above error.  Do the installation again and
> it should all work
>
> Regards,... Fred
> --

> BigBlueButton Developerhttp://bigbluebutton.org/http://code.google.com/p/bigbluebutton


>
> > root@ubuntu:~# gem -v
> > <internal:lib/rubygems/custom_require>:29:in `require': no such file
> > to load -- rbconfig (LoadError)
> >        from <internal:lib/rubygems/custom_require>:29:in `require'
> >        from /usr/lib/ruby/1.9.2/rubygems.rb:128:in `<module:Gem>'
> >        from /usr/lib/ruby/1.9.2/rubygems.rb:107:in `<top (required)>'
> >        from <internal:lib/rubygems/custom_require>:29:in `require'
> >        from <internal:lib/rubygems/custom_require>:29:in `require'
> >        from /usr/bin/gem:8:in `<main>'
>
> and the solution is to go through the installation of
>
> --

> BigBlueButton Developerhttp://bigbluebutton.org/http://code.google.com/p/bigbluebutton

> >http://stackoverflow.com/questions/3865515/strange-inability-to-requi...

Fred Dixon

unread,
Nov 30, 2011, 5:18:23 PM11/30/11
to bigbluebu...@googlegroups.com
Hi Klam,

I googled around a bit for you using the terms "dhcp static ip ubuntu"
and found this article

http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/

In the future, definitely use google for networking-related posts. To
specify a new IP address for the BigBlueButton configuration, see

http://code.google.com/p/bigbluebutton/wiki/08InstallationUbuntu#Change_the_BigBlueButton_Server's_IP


Regards,... Fred
-- BigBlueButton
Developerhttp://bigbluebutton.org/http://code.google.com/p/bigbluebutton

KLam

unread,
Nov 30, 2011, 7:32:03 PM11/30/11
to BigBlueButton-Setup
Thank you Fred. You are awesome. I finally got the server up and
running. I was having problem with the joining the audio conferencing.
It is now working. YEAH!!!

1.
In the config files, it have 127.0.0.1 for the sip server. Somehow, it
just didn't work for me. I have to change the IPs to the static IP for
it to work, by modifying the following files.
vi /opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
vi /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-
sip.properties
vi /usr/share/red5/webapps/bigbluebutton/WEB-INF/
bigbluebutton.properties

2.
Once inside the room, I think the Users tab and the Listeners tab is
redundant. Would be better to combine these two tab into one tab.
Ideally, all the users wants to be able to listen automatically, like
everyone sees the video tab. But if they want to be able to speak,
then, they click on sometime to enable to speak.

3.
By the way, is there a feature that allow it to present a youtube
video to all the users? like how we it is presenting slides?

4.
The audio quality sounded so so when I tested it on my server. Not
sure what are the way to tune it. I have 2 GB memory on a 4 core 2.6
CPU.

On Nov 30, 2:18 pm, Fred Dixon <ffdi...@gmail.com> wrote:
> Hi Klam,
>
> I googled around a bit for you using the terms "dhcp static ip ubuntu"
> and found this article
>

>    http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-...


>
> In the future, definitely use google for networking-related posts. To
> specify a new IP address for the BigBlueButton configuration, see
>

>  http://code.google.com/p/bigbluebutton/wiki/08InstallationUbuntu#Chan...

Fred Dixon

unread,
Nov 30, 2011, 7:55:43 PM11/30/11
to bigbluebu...@googlegroups.com
Hi KLam,

Good to hear!

(2) -- We started with two separate windows because BigBlueButton was
built, in the beginning, with FreeSWITCH and there was no built-in
audio. It was only in later versions that we built in the ability to
do voice from within the BigBlueButton client.

We have the unifiying of the two windows as an enhancement issue.

http://code.google.com/p/bigbluebutton/issues/detail?id=901

(3) -- Synchronized playback of video is another open enhancement request. See

http://code.google.com/p/bigbluebutton/issues/detail?id=218

(4) -- If you have a quad-core CPU, then you have the right horsepower
for doing audio. Other factors are the network bandwidth and the
quality of connection between the speaker and the server. Since the
audio is sent via TCP/IP packets, if there is a poor network
connection, the Flash client will resend any packets that are
corrupted. To much re-sending will degrade the audio.

Again, glad to hear you got it working.


Regards,... Fred
--
BigBlueButton Developer
http://bigbluebutton.org/

http://code.google.com/p/bigbluebutton

Reply all
Reply to author
Forward
0 new messages