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 6637139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:16:35+00:00 2026-05-25T23:16:35+00:00

I already installed Ruby 1.9.2 with Rubygems successfully on my main machine. Now on

  • 0

I already installed Ruby 1.9.2 with Rubygems successfully on my main machine.

Now on my server I’m again in this job.

Last time I had a problem, which came up right now as well:

gem install rails
ERROR:  Loading command: install (LoadError)
    no such file to load -- zlib
ERROR:  While executing gem ... (NameError)
    uninitialized constant Gem::Commands::InstallCommand

I knew how to fix this, but forgot it.

I found an article here on stackoverflow (which I cannot find again) that tells me to compile some native ruby extension first. In the source code you have to go into a dir, where you find dirs for zlib, linecache and so on. Those you have to compile and you’re done: everything then works.

Can somebody tell me again how to do this?

Sorry, Google and the Stackoverflow search didn’t help this time.

Thanks.

Yours,

Joern

  • 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-25T23:16:35+00:00Added an answer on May 25, 2026 at 11:16 pm

    I found the thread again!

    Has anyone tried installing ruby & rubygems from source on ubuntu

    In the 3rd answer of Evgeny you find exactly what I was searching for!

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

Sidebar

Related Questions

I have ruby 1.9.2p180 (2011-02-18) [i386-mingw32] installed on my windows 7 machine. Now I
I am getting this issue. passenger-install-apache2-module Already installed Apache2 and passenger gem /usr/lib/ruby/gems/1.8/gems/passenger-3.0.6/lib/phusion_passenger/platform_info/apache.rb:277:in `_unmemoized_apr_config_needed_for_building_apache_modules?':
I installed Ruby Enterprise 1.8.7 on a Ubuntu server that already has the standard
I installed SQL Server 2008 (SQL Server 2005 was already installed) on my XP
OS X 10.5.8 came with Python 2.5, and had PyObjC already installed. I installed
Glassfish had already been installed into Netbeans. But I forgot the password and username.
I want to install Rad Studio 2010 on a machine that already has installed
I am attempting to install Ruby with RVM. I already have Ruby installed, but
I had already installed rails 1.8.7, forgot about it, then installed 1.9.3 through RVM.
I need to get Ruby on Rails (3.0.9) installed onto a production server that

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.