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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:31:12+00:00 2026-06-03T20:31:12+00:00

Ubuntu 12.04 When I execute: rails server I get some information that seems to

  • 0

Ubuntu 12.04

When I execute:
rails server

I get some information that seems to contradict itself (1.9.3 and 1.8.7?)

/home/byoung/.rvm/gems/ruby-1.9.3-p194/gems/pg-0.13.2/lib/pg_ext.so: [BUG] Segmentation fault
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

sudo ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

sudo rails server starts up just fine but is running version 1.8.7

EDIT Yes I have RVM

  • 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-03T20:31:13+00:00Added an answer on June 3, 2026 at 8:31 pm

    When you change over to sudo, you are leaving your shell, where RVM has setup shop. In your shell, it’s using 1.9.3, but in sudo land, it’s using the default 1.8.7

    In general: don’t use sudo with rvm.

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

Sidebar

Related Questions

I have some code that seems to execute improperly when it is serialized and
Currently I use puTTY, open SSH connection to my Ubuntu server and execute some
I have a VPS server with Ubuntu 11.10 64bit and sometimes when I execute
I have Ubuntu 8.04 running on a Xen based VPS server that runs on
I am following this great post to configure my rails production server on ubuntu
I just installed passenger (apache2) on my ubuntu server to deploy my rails 3.1
I have just installed Rails Ready script from GitHub on my Ubuntu Server 10.04.
I am using ubuntu. There are some processes that are doing io frequently on
I'm on ubuntu 10.04 when I try to execute a java program in a
ubuntu 9.04, fedora 11, redhat... what are the differences from a web server/development standpoint?

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.