Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6330679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:54:51+00:00 2026-05-24T17:54:51+00:00

my ruby environment cant see an installed gem, at least the require fails It’s

  • 0

my ruby environment cant see an installed gem, at least the require fails

It’s about the gem wordnet http://deveiate.org/projects/Ruby-WordNet I start an example script ( as user of course )

./meronymTree.rb 
./meronymTree.rb:8:in `require': no such file to load -- wordnet (LoadError)
    from ./meronymTree.rb:8

In some example scripts it’S called “WordNet” and in some it’s lowercase, the error is same.

here’s the scripts first lines

#!/usr/bin/ruby -w

$LOAD_PATH.unshift "lib"
require 'wordnet'

Check if gem is installed, as user root

gem list |grep word
wordnet (0.0.5)


root@auedv18:/var/lib/gems/1.8/gems/wordnet-0.0.5# ls
ChangeLog  convertdb.rb  examples  lib  LICENSE  rake  Rakefile  Rakefile.local  README  spec  utils.rb

Other gems are fine.

I am on current ubuntu and got ruby1.8 and rubygems-1.8.6 on it, (if that makes a difference).

hm and i downloaded the wordnet-0.0.5.gem file from above site and did

gem install wordnet-0.0.5.gem 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:54:54+00:00Added an answer on May 24, 2026 at 5:54 pm

    Try this:

    require 'rubygems'
    require 'wordnet'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see this all the time in Ruby: require File.dirname(__FILE__) + /../../config/environment What does
I have a standard Rails3 environment, RVM 1.2.9, Rails 3.0.5, Ruby 1.9.2p180, MySQL2 Gem
I'm trying to use config/environment.rb to install a ruby gem dependency (because I don't
My development environment: Ubuntu 9 Ruby 1.9.1/1.8.7 (rvm) Rails 2.3.5 Mysql 5.0 Apache Passenger
we have a mixed development environment using ASP.NET MVC and Ruby on Rails. We
How do I export an environment variable from within a Ruby script to the
I am trying to set my DOS environment variable in Ruby, and have it
Ruby on Rails does not do multithreaded request-responses very well, or at least, ActiveRecord
Can anyone explain why this happens? mybox:$ ruby script/console Loading development environment (Rails 2.3.5)
I'm trying to load up rails in the test environment using a ruby script.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.