При попытке запустить первый проект на Ubuntu 10.10 я получил это:
antonio@antonio-desktop:~/Documents/tickets$./script/rails server
Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
Ну, а потом я пишу:
antonio@antonio-desktop:~/Documents/tickets$ bundle install
и получите в середине процесса установки:
/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite3-devel' and check your shared library search path (the
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Итак, я попробовал это:
sudo yum install sqlite3-devel
И получил это:
Setting up Install Process
No package sqlite3-devel available.
Nothing to do
Почему? Я использую Rails 3.1, кстати.