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

  • SEARCH
  • Home
  • 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 3782924
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:09:05+00:00 2026-05-19T11:09:05+00:00

A gem I’m authoring doesn’t have any inline ri/rdoc of any kind, so when

  • 0

A gem I’m authoring doesn’t have any inline ri/rdoc of any kind, so when users gem install it they get warnings when rubygems tries to compile the docs:

Successfully installed mygem-0.0.1
1 gem installed
Installing ri documentation for mygem-0.0.1...
File not found: lib

I’m assuming this is due to it trying to run the ri tool against my app’s lib folder which doesn’t exist (gem is all binaries). How can I avoid this error? I tried placing dummy files in lib/ but that didn’t help.

  • 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-19T11:09:06+00:00Added an answer on May 19, 2026 at 11:09 am

    So there was actually a confusion of issues on this question. I mistakenly assumed the error message about lib was associated with the message before it about the ri install.

    This was not the case. The problem was that the default require_paths is ["lib"] which my gem did not have. Resetting the require_paths in my gemspec eliminated the error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

gem install heroku failed with following message and I have tried the solution here
I have ran gem install mysql2, added the lib file to the bin folder
WhenI run (as root) gem install pg -v '0.12.0' -- --with-pg-config=/usr/pgsql-9.1/bin/pg_config I get the
I typed the following: gem install omniauth In my environment.rb file, I also have:
For any gem that has dependencies, I get the following (with the names changed
I have a gem that has some ActiveRecord-derived models. They are tested and work.
gem install mygem ERROR: Error installing mygem: mygem requires mygem-adapter (>= 0, runtime) I
sudo gem install perftools.rb -p http://10.10.10.10:3128 ... /usr/local/lib/ruby/1.9.1/net/http.rb:762:in initialize: Connection refused - connect(2) (Errno::ECONNREFUSED)
I have a spork gem issue. Every time I run the spork command I
On doing gem install memcached following error gets thrown. .... .... checking for pod2man...

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.