On Tue, Mar 19, 2013 at 1:05 PM, Deniz Po <lists / ruby-forum.com> wrote:
> 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've already made:
> $ sudo apt-get install libsdl1.2-dev (libsdl1.2-dev is already the
> newest version.)
> and
> $ sudo gem install -r rubysdl and
> and
> $sudo apt-get install libsdl-ruby (libsdl-ruby is already the newest
> version.)
> and even: $ rvm remove 1.9.3 and $ rvm install 1.9.3
>
> But always this "cannot load such file"!!! Whyyy ? What else does it
> want ?

Have you tried running gem without sudo?