---
title: "Ruby #1"
author: "beneo"
date: "2011-03-24T12:58:50Z"
tags: []
categories: ["编程语言"]
slug: "ruby-1"
draft: false
lastmod: "2011-03-24T13:00:11Z"
id: 973860
url: "https://beneo.iteye.com/blog/973860"
---

ubuntu 10.10开始安装ruby on rails

按照[官网](http://rubyonrails.org/download)step by step，结果发现在rails server这个代码的时候，出现

> 
> Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in
> your Gemfile.



仔细阅读安装步骤，发现我是用

> 
> sudo apt-get install ruby1.9.1
> 

而不是

> 
> sudo apt-get install ruby1.9.1-full
> 


重新安装后搞定，可以登陆到http://localhost:8808了。。