ruby gems/rails

Discussion in 'Ruby' started by blackwater dev, Aug 1, 2005.

  1. 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!
    blackwater dev, Aug 1, 2005
    #1
    1. Advertising

  2. ------=_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, blackwater dev <> wrote:=20
    >=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--
    Robert Oliver, Aug 1, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tomás

    Gems -- #include <gems.hpp>

    Tomás, Mar 4, 2006, in forum: C++
    Replies:
    7
    Views:
    413
    Tomás
    Mar 5, 2006
  2. Lloyd Zusman
    Replies:
    3
    Views:
    175
    Lloyd Zusman
    Jun 21, 2005
  3. Dany Cayouette

    'private' gems/gems hierarchy

    Dany Cayouette, Nov 25, 2005, in forum: Ruby
    Replies:
    3
    Views:
    149
    Jim Weirich
    Nov 25, 2005
  4. Thaddeus L Olczyk

    Problem getting gems/listing gems. EINVAL

    Thaddeus L Olczyk, Aug 15, 2006, in forum: Ruby
    Replies:
    0
    Views:
    180
    Thaddeus L Olczyk
    Aug 15, 2006
  5. YAG
    Replies:
    2
    Views:
    154
    Ron Fox
    Apr 4, 2008
Loading...

Share This Page