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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:52:09+00:00 2026-05-17T14:52:09+00:00

EDIT: Please note that this question is OUTDATED; RVM got way easier to use

  • 0

EDIT: Please note that this question is OUTDATED; RVM got way easier to use now. So this problem/solution should no longer apply.

.

This question is really hard for me to describe, so any improvements on it would be nice.

I am currently on Ubuntu 10.4, I have installed RVM (probably as root, that could be my mistake)

I did what this guide told me to do: http://rubyonrails.dreamwidth.org/1713.html and from my point of view it worked.

I was able to create a project on Rails 3 painlessly, yay

But when starting the server or console i got:
Could not find gem 'sqlite3-ruby (>= 0, runtime)' in any of the gem sources.

I tryed: sudo gem install sqlite3-ruby All failed with the output:

/usr/bin/ruby1.8 extconf.rb
extconf.rb:3:in `require': no such file to load -- mkmf (LoadError)

Even after lots of dev packages installed over Ubuntu, still failed. So i ran: sudo gem1.9 install sqlite3-ruby and succeeded!

Now, I try running my server but still get the same error! My guess is that i must set gem = gem1.9, but I have no idea how =(

UPDATE:

fps ~ $ ls /var/lib/gems
# 1.8  1.9  1.9.0
fps ~ $ ls /var/lib/gems/1.8/gems
# actionmailer-2.3.5  activeresource-2.3.5  builder-2.1.2  rake-0.8.7
# actionpack-2.3.5    activesupport-2.3.5   rack-1.0.1     rubygems-update-1.3.7
# activerecord-2.3.5  activesupport-3.0.0   rails-2.3.5
fps ~ $ ls /var/lib/gems/1.9/gems
# ls: cannot access /var/lib/gems/1.9/gems: No such file or directory
fps ~ $ ls /var/lib/gems/1.9.0/gems
# sqlite3-ruby-1.3.1

UPDATE2
Have followed @”The MYYN” and @”ennuikiller” steps, here are the results:

fps ~ $ sudo rvm gem install sqlite3-ruby
[sudo] password for fps: 

info: ruby-1.8.7-p302: ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux] 
#...
1 gem installed
#...
info: ruby-1.9.2-head: ruby 1.9.2p0 (2010-09-15 revision 29252) [i686-linux] 

Building native extensions.  This could take a while...
Successfully installed sqlite3-ruby-1.3.1

and watched railscasts/201 Bundler

fps ~/Aptana Studio 3 Workspace/dum $ bundle install
Fetching source index for http://rubygems.org/
#...
Using railties (3.0.0) 
Using rails (3.0.0) 
Installing sqlite3-ruby (1.3.1) with native extensions /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensio
ns': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

/usr/bin/ruby1.8 extconf.rb 
extconf.rb:3:in `require': no such file to load -- mkmf (LoadError)
        from extconf.rb:3

Got the same error again.. If there is a way to make rails 3 work sudo remove this rvm, and bring my ruby back to 1.8.7, i am considering.

  • 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-17T14:52:10+00:00Added an answer on May 17, 2026 at 2:52 pm

    I guess my problem was too specific, the solution I found is documented on my Blog: http://fabianosoriani.wordpress.com/2010/09/21/installing-rails-3-0-0-on-ubuntu-10-4

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

Sidebar

Related Questions

[Please note that this is a different question from the already answered How to
Please note the Edit below for a lot more information, and a possible solution
Edit: This question was written in 2008, which was like 3 internet ages ago.
Edit: From another question I provided an answer that has links to a lot
EDIT: This was formerly more explicitly titled: - Best solution to stop Kontiki's KHOST.EXE
EDIT: This question is more about language engineering than C++ itself. I used C++
EDIT: Learned that Webmethods actually uses NLST, not LIST, if that matters Our business
edit #2: Question solved halfways. Look below As a follow-up question, does anyone know
Edit: This was accidentally posted twice. Original: VB.NET Importing Classes I've seen some code
Continuing from this question , i am confused whether DISPID_VALUE on IDispatch::Invoke() for 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.