如何安装ROR到ubuntu 12.04?使用sqlite3获取错误

时间:2013-02-14 06:27:54

标签: ruby-on-rails ruby ubuntu-12.04 sqlite3-ruby

我是ROR的新手。所以当我试图安装ROR时。     当我尝试启动rails(rails s)时出现错误:

Could not find gem 'sqlite3 (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.

P.S. I'm working on Ubuntu 12.04

2 个答案:

答案 0 :(得分:0)

sudo apt-get install libsqlite3-dev

sudo gem install sqlite3-ruby

然后运行

bundle install

您刚刚阅读了指示您的错误消息。

Run `bundle install` to install missing gems.

答案 1 :(得分:0)

RyanBigg的博客非常适合为ubuntu安装ROR。以下链接可以帮助您。
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/