List Info

Thread: fetcher.rb - error (zlib) on SUSE




fetcher.rb - error (zlib) on SUSE
country flaguser name
United States
2007-09-12 02:18:50
hi folks!

i got a rather nasty problem installing and running RoR on
SUSE linux.
at first, the distro is suse 9.3 with all required stuff
installed
(and trust me, i'm running RoR on several other distros
without the
slightest problem) - but i can't install gems without root
permissions
since i always get the following:

/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb
:4:in
`require': no such file to load -- zlib (LoadError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
remote_fetcher.rb:4
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
source_index.rb:8:in `require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
source_index.rb:8
        from
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:504:in
`require'
        from
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:504
        from /usr/local/bin/gem:9:in `require'
        from /usr/local/bin/gem:9

zLib is installed perfectly fine via yast and everything
works neat
once i'm root, but since the system is for other users, too,
i don't
want everyone to be root ; )

anyone an idea for me? any help appreciated...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails" group.
To post to this group, send email to rubyonrailsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/rubyonrails
-~----------~----~----~----~------~----~------~--~---


Re: fetcher.rb - error (zlib) on SUSE
country flaguser name
United States
2007-09-13 16:17:53
On Sep 12, 2:18 am, Schu <use...vista-development.net>
wrote:
> hi folks!
>
> i got a rather nasty problem installing and running RoR
on SUSE linux.
> at first, the distro is suse 9.3 with all required
stuff installed
> (and trust me, i'm running RoR on several other distros
without the
> slightest problem) - but i can't install gems without
root permissions
> since i always get the following:
>
> (snip)
>
> zLib is installed perfectly fine via yast and
everything works neat
> once i'm root, but since the system is for other users,
too, i don't
> want everyone to be root ; )
>
> anyone an idea for me? any help appreciated...

How about this, 'How to install gems when you're not root':
http://scottstuff.net/blog
/articles/2006/07/28/how-to-install-gems-when-youre-not-root



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails" group.
To post to this group, send email to rubyonrailsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/rubyonrails
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )