From: Carlos Agarie Date: 2013-03-20T15:40:01+09:00 Subject: Re: library sdl (cannot load such file) --e89a8f3ba32dbf86a004d8557deb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey, can you post more information? Do you have any file that is requiring sdl? Also, you should update your Ruby to 1.9.3-p392. :P ----- Carlos Agarie Skype: carlos.agarie Control engineering Polytechnic School, University of S=E3o Paulo, Brazil Computer engineering Embry-Riddle Aeronautical University, USA 2013/3/19 Carlo E. Prelz > Subject: library sdl (cannot load such file) > Date: mer 20 mar 13 03:05:59 +0900 > > Quoting Deniz Po (lists@ruby-forum.com): > > > Why i have always: > > > > > /.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/custom_req= uire.rb:36:in > > `require': cannot load such file -- sdl (LoadError) > > I do not use rvm, and I try to stay as clear as possible from > gems. Your problem is probably related to one of these two > technologies, so I really can't give you a solution. But if you are > using Linux, I can suggest a way to shed some light. > > Say your script is called script.rb Run it like this: > > strace -eopen ruby script.rb 2>/tmp/output > > This command dumps a line in /tmp/output for each file that is opened, > or fails to be opened. > > Your error message indicates that you cannot find file sdl.rb. Thus, > do: > > grep sdl.rb /tmp/output > > you will see where the Ruby interpreter looks for your file. The > places will not include the directory where the file included in the > gem has been installed. > > From then on, it really depends on what you find out. It may be that > you were running another instance of the ruby interpreter when you > loaded the gem, for example. > > You need to research a bit more, it seems. > > Carlo > > -- > * Se la Strada e la sua Virtu' non fossero state messe da parte= , > * K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebb= e > * di parlare tanto di amore e di rettitudine? (Chuang-Tzu= ) > > --e89a8f3ba32dbf86a004d8557deb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hey, can you post more information? Do you have any file t= hat is requiring sdl?

Also, you should update your Ruby to 1.9.3-p39= 2. :P


-----
Carlos Agarie
Skype: carlos.agarie
=
Control engineering
Polytechnic School,=A0University of S=E3o = Paulo, Brazil
Computer engineering
Embry-Riddle Aeronau= tical University, USA


2013/3/19 Carlo E. Prelz <fluido@fluido.= as>
=A0 =A0 =A0 =A0 Subject: library sdl (cannot load such file)
=A0 =A0 =A0 =A0 Date: mer 20 mar 13 03:05:59 +0900

Quoting Deniz Po (lists@ruby-forum.= com):

> Why i have always:
>
> /.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/custom_= require.rb:36:in
> `require': cannot load such file -- sdl (LoadError)

I do not use rvm, and I try to stay as clear as possible from
gems. Your problem is probably related to one of these two
technologies, so I really can't give you a solution. But if you are
using Linux, I can suggest a way to shed some light.

Say your script is called script.rb Run it like this:

strace -eopen ruby script.rb 2>/tmp/output

This command dumps a line in /tmp/output for each file that is opened,
or fails to be opened.

Your error message indicates that you cannot find file sdl.rb. Thus,
do:

grep sdl.rb /tmp/output

you will see where the Ruby interpreter looks for your file. The
places will not include the directory where the file included in the
gem has been installed.

From then on, it really depends on what you find out. It may be that
you were running another instance of the ruby interpreter when you
loaded the gem, for example.

You need to research a bit more, it seems.

Carlo

--
=A0 * =A0 =A0 =A0 =A0 Se la Strada e la sua Virtu' non fossero state me= sse da parte,
* K * Carlo E. Prelz - fluido@fluido.as= =A0 =A0 =A0 =A0 =A0 =A0 che bisogno ci sarebbe
=A0 * =A0 =A0 =A0 =A0 =A0 =A0 =A0 di parlare tanto di amore e di rettitudin= e? (Chuang-Tzu)


--e89a8f3ba32dbf86a004d8557deb--