【发布时间】:2010-02-21 12:54:28
【问题描述】:
我正在努力学习 rails3。
我尝试按照 guides.rails.info 中的安装指南进行操作,我安装了
sudo gem install rake rack-test rack-mount erubis mailsudo gem install tzinfo builder i18n memcache-clientsudo gem install text-format thor
通过
和rails 3sudo gem install rails --pre
现在我创建一个新应用
rails abc
然后试试
rake db:create
失败了
Could not find gem 'sqlite3-ruby (>= 0, runtime)' in any of the sources.
所以我尝试安装sqlite3-ruby
sudo gem install sqlite3-ruby
失败了
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.
所以我通过 apt-get 安装它
sudo aptitude install libsqlite3-ruby1.8.
在rake db:create 上仍然出现同样的错误。
【问题讨论】:
-
我用 rake db:create --trace 得到这个。 dpaste.de/Lf2E
标签: ruby-on-rails installation ruby-on-rails-3