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…
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…
On Tue, Mar 8, 2011 at 8:31 AM, pradeep koppaka [email protected]
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 editionplz 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? Does the user have
permissions to access the directory?
Cheers
robert
Robert K. wrote in post #986156:
On Tue, Mar 8, 2011 at 8:31 AM, pradeep koppaka [email protected]
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 editionplz gimme solution for this… Its very urgent for me…
Attachments:
http://www.ruby-forum.com/attachment/6007/rubyerror1.JPGWhat does “ls -ld /usr/lib64/ruby” tell you? Does the user have
permissions to access the directory?Cheers
robert
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
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
On Tue, Mar 8, 2011 at 12:30 PM, pradeep koppaka [email protected]
wrote:
Attachments:
http://www.ruby-forum.com/attachment/6007/rubyerror1.JPGWhat does “ls -ld /usr/lib64/ruby” tell you? Does the user have
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
Robert K. wrote in post #986186:
On Tue, Mar 8, 2011 at 12:30 PM, pradeep koppaka [email protected]
wrote:Attachments:
http://www.ruby-forum.com/attachment/6007/rubyerror1.JPGWhat does “ls -ld /usr/lib64/ruby” tell you? Does the user have
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/rubyLooks 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_rubyNow 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
hi these are the steps followed from
http://www.rubyenterpriseedition.com/documentation.html
tar xzvf ruby-enterprise-x.x.x.tar.gz
PREFIX=/opt/ruby-enterprise
cd ruby-enterprise-x.x.x/source/distro/google-perftools-*
./configure --prefix=$PREFIX --disable-dependency-tracking
make libtcmalloc_minimal.la
sudo mkdir -p $PREFIX/lib
sudo rm -f $PREFIX/lib/libtcmalloc_minimal*.so*
sudo cp -Rpf .libs/libtcmalloc_minimal*.so* $PREFIX/lib/
cd …/…
5)./configure --prefix=$PREFIX --enable-mbari-api CFLAGS=‘-g -O2’
6)Open Makefile. Search for a line which starts with:
append the string $(PRELIBS) to the part after the = sign. for me it
came like this
LIBS = $(PRELIBS) -lrt -lcrypt -lm $(EXTLIBS)
upto here worked fine but while running
the script like this
make PRELIBS=“-Wl,-rpath,$PREFIX/lib -L$PREFIX/lib -ltcmalloc_minimal”
i am facing error…I am attaching the same screen shot.kindly resolve
it.would be a help for me.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs