ruby gems/rails

B

blackwater dev

I just compiled ruby 1.8.2 on my linux Fedora box which installed
fine. I then grabbed ruby gems and did the setup.rb install and got
these errors at the end:

Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
...done.
No library stubs found.

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__': No such file to load -- syck (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:2=
1:in
`require'
from /usr/local/lib/ruby/1.8/yaml/syck.rb:5
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:2=
1:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:2=
1:in
`require'
from /usr/local/lib/ruby/1.8/yaml.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:2=
1:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:2=
1:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:6
... 13 levels...
from setup.rb:887:in `exec_install'
from setup.rb:705:in `invoke'
from setup.rb:674:in `invoke'
from setup.rb:1352

I then tried to install rails with gem install rails
--include-dependencies and got basically the same errors.

What do I need to do to get gems installed on Linux Fedora?

Thanks!
 
R

Robert Oliver

------=_Part_13073_12359583.1122934302339
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Make sure zlib-devel is installed by doing:
rpm -qa | grep "zlib-devel"
If it doesn't return something, do:
yum install zlib-devel=20
or
up2date zlib-devel
Make sure you compile ruby with:
./configure --prefix=3D/usr
so it can find all of the Fedora libs and includes it needs. Then try=20
rerunning gem's setup.

On 8/1/05 said:
=20
I just compiled ruby 1.8.2 on my linux Fedora box which installed
fine. I then grabbed ruby gems and did the setup.rb install and got
these errors at the end:
=20
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
...done.
No library stubs found.
=20
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__': No such file to load -- syck (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from /usr/local/lib/ruby/1.8/yaml/syck.rb:5
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from /usr/local/lib/ruby/1.8/yaml.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:6
... 13 levels...
from setup.rb:887:in `exec_install'
from setup.rb:705:in `invoke'
from setup.rb:674:in `invoke'
from setup.rb:1352
=20
I then tried to install rails with gem install rails
--include-dependencies and got basically the same errors.
=20
What do I need to do to get gems installed on Linux Fedora?
=20
Thanks!
=20
=20


--=20
Robert W. Oliver II
CEO / President - OCS Solutions, Inc.
http://www.ocssolutions.com/

Ruby / Ruby on Rails Discussion at http://www.rubyforums.com/

------=_Part_13073_12359583.1122934302339--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top