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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:23:39+00:00 2026-06-15T08:23:39+00:00

Problem: I installed ruby, but it is not recognized correctly. I’m following the deploying

  • 0

Problem: I installed ruby, but it is not recognized correctly.
I’m following the deploying to VPS: https://github.com/railscasts/335-deploying-to-a-vps

I am setting my server on ubuntu 12.04 LTS to deploy my rails app. I’m following the railscast on deploying to a VPS, and trying to install ruby through rbenv. It seemed everything was installed correctly, but when I tried to check the ruby version, it gave me errors. The following are the commands that I ran.

deployer@max:~$ rbenv install 1.9.3-p125
Downloading yaml-0.1.4.tar.gz...
-> http://cloud.github.com/downloads/sstephenson/ruby-build-download-mirror/36c852831d02cf90508c29852361d01b
Installing yaml-0.1.4...
Installed yaml-0.1.4 to /home/deployer/.rbenv/versions/1.9.3-p125

Downloading ruby-1.9.3-p125.tar.gz...
-> http://cloud.github.com/downloads/sstephenson/ruby-build-download-mirror/e3ea86b9d3fc2d3ec867f66969ae3b92
Installing ruby-1.9.3-p125...
Installed ruby-1.9.3-p125 to /home/deployer/.rbenv/versions/1.9.3-p125

Downloading rubygems-1.8.23.tar.gz...
-> http://cloud.github.com/downloads/sstephenson/ruby-build-download-mirror/178b0ebae78dbb46963c51ad29bb6bd9
Installing rubygems-1.8.23...
Installed rubygems-1.8.23 to /home/deployer/.rbenv/versions/1.9.3-p125

deployer@max:~$ rbenv global 1.9.3-p125
deployer@max:~$ ruby -v
'ruby' program can be found in the following packages:
 * ruby1.8
 * ruby1.9.1

How do I solve this?

  • 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-06-15T08:23:39+00:00Added an answer on June 15, 2026 at 8:23 am

    You don’t need to use rbenv to install a specific version of Ruby. Instead use ruby-build to install 1.9.3-p125 into /usr/local:

    ruby-build 1.9.3-p125 /usr/local/
    

    Or, install Ruby manually:

    # Compile Ruby (instead of rbenv)
    sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
    cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    make
    sudo make install
    sudo gem install bundler --no-ri --no-rdoc
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've used whenever gem with ruby 1.9.2 without any problems, but I installed ruby
I have the problem I just installed the new Monodevelop 2.2.2 on Windows but
I've installed gtk2hs-buildtools with no problem, but here's the output when I try to
Recently installed new wordpress theme. The problem is, there are only following font options
I have a Linode (Ubuntu 9.10, but upgrading not a problem) where I run
My problem is summarized in the following lines: Joses-MacBook-Pro:~ jose$ cd Estate/ Using /Users/jose/.rvm/gems/ruby-1.9.2-p290
Based on my previous thread : RVM installed by Ruby not working? where i
I recently installed Ubuntu Jaunty and I'm encountering a problem when I try to
I installed git on visual studio 2010 (the installation is done well) the problem
having a problem with a new ASP NET app and ASPNETDB Installed on existing

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.