Failed to install Rails No such file to load -- rubygems/security (LoadError)

Discussion in 'Ruby' started by Zoong Pham, Aug 11, 2005.

  1. Zoong Pham

    Zoong Pham Guest

    I failed to install Rails on OpenBSD-3.6 following instruction from
    this site:
    http://wiki.rubyonrails.com/rails/revision/RailsOnOpenBSD?rev=0
    except I installed ruby-gems-0.8.11 instead of ruby-gems-0.8.10.

    # /usr/local/bin/gem install rails
    /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:397:in `require': No such file to load -- rubygems/security (LoadError)
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:397
    from /usr/local/bin/gem:3:in `require'
    from /usr/local/bin/gem:3

    # pkg_info | grep -i ruby
    ruby-1.8.2 object oriented script language with threads
    ruby-gems-0.8.11 Ruby package management framework

    # uname -a
    OpenBSD obsd01 3.6 GENERIC#3 i386

    Please help.

    TIA.
    Zoong
    Zoong Pham, Aug 11, 2005
    #1
    1. Advertising

  2. Zoong Pham

    Chad Fowler Guest

    On 8/10/05, Zoong Pham <> wrote:
    >=20
    > I failed to install Rails on OpenBSD-3.6 following instruction from
    > this site:
    > http://wiki.rubyonrails.com/rails/revision/RailsOnOpenBSD?rev=3D0
    > except I installed ruby-gems-0.8.11 instead of ruby-gems-0.8.10.
    >=20
    > # /usr/local/bin/gem install rails
    > /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:397:in `require': No such f=

    ile to load -- rubygems/security (LoadError)
    > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:397
    > from /usr/local/bin/gem:3:in `require'
    > from /usr/local/bin/gem:3
    >=20
    > # pkg_info | grep -i ruby
    > ruby-1.8.2 object oriented script language with threads
    > ruby-gems-0.8.11 Ruby package management framework
    >=20


    Hi. Can you check to see if you have a file at
    /usr/local/lib/ruby/site_ruby/1.8/rubygems/security.rb? It looks like
    it might be missing in your distro for some reason, which would be
    pretty strange.

    Thanks
    --=20
    Chad Fowler
    http://chadfowler.com
    http://rubycentral.org=20
    http://rubygarden.org=20
    http://rubygems.rubyforge.org (over 700,000 gems served!)
    Chad Fowler, Aug 11, 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. Ruby Ruby
    Replies:
    0
    Views:
    189
    Ruby Ruby
    Apr 22, 2004
  2. Erik Veenstra
    Replies:
    4
    Views:
    809
    Austin Ziegler
    Feb 4, 2005
  3. kazaam
    Replies:
    1
    Views:
    291
    kazaam
    Aug 29, 2007
  4. Chih tung Chao
    Replies:
    6
    Views:
    434
    Ryan Davis
    Dec 15, 2010
  5. Bhupendra Mishra
    Replies:
    2
    Views:
    731
    Bhupendra Mishra
    Jan 27, 2011
Loading...

Share This Page