On Tue, Mar 8, 2011 at 12:30 PM, pradeep koppaka <bulls66 / gmail.com> wrote:
> Robert Klemme wrote in post #986156:
>> On Tue, Mar 8, 2011 at 8:31 AM, pradeep koppaka <bulls66 / gmail.com>
>> wrote:
>>> hi I am trying to install passenger gem. But it is throwing the
>>> error.the error is attached in screen shot.
>>> I am using
>>> rails 2.3.10
>>> ruby 1.8.7 enterprise edition
>>>
>>> plz gimme solution for this... Its very urgent for me..
>>>
>>> Attachments:
>>> http://www.ruby-forum.com/attachment/6007/rubyerror1.JPG
>>
>> What does "ls -ld /usr/lib64/ruby" tell you?  ¨Βοετθυσες θαφε
>> permissions to access the directory?

> Hi this is how I am getting i am new to suse linux plz assist me
> deamax@usqlh05d3:~> ls -ld /usr/lib64/ruby
> drwxr-xr-x 6 root root 4096 2011-03-07 08:09 /usr/lib64/ruby

Looks OK.

> ideamax@usqlh07d2:~> cd /usr/lib64/ruby
> ideamax@usqlh07d2:/usr/lib64/ruby>
>
> ideamax@usqlh07d2:/usr/lib64/ruby> ls -l
> total 12
> drwxr-xr-x 29 root root 4096 2011-02-28 22:21 1.8
> drwxr-xr-x 3 root root 4096 2011-02-28 22:21 site_ruby
> drwxr-xr-x 3 root root 4096 2011-02-28 22:21 vendor_ruby

Now I'm confused.  In your screenshot there is a ruby.h in that
directory.  Now there isn't.  I'd say you found the source of the
error.  You should probably check your ruby installation.  How did you
install ruby?

Cheers

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/