Rails 3 can not find sqlite3-ruby
Posted
by uswaretech
on Stack Overflow
See other posts from Stack Overflow
or by uswaretech
Published on 2010-02-21T12:54:28Z
Indexed on
2010/05/23
0:30 UTC
Read the original article
Hit count: 715
I am trying to learn rails3.
I tried folowing the installation guide from guides.rails.info, I installed
sudo gem install rake rack-test rack-mount erubis mail
sudo gem install tzinfo builder i18n memcache-client
sudo gem install text-format thor
And rails 3 via
sudo gem install rails --pre
Now I create a new app
rails abc
And try
rake db:create
Which fails with
Could not find gem 'sqlite3-ruby (>= 0, runtime)' in any of the sources.
So I try installing sqlite3-ruby
sudo gem install sqlite3-ruby
Which fails with
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.
So I install it via apt-get
sudo aptitude install libsqlite3-ruby1.8
.
And still get same error on rake db:create
.
© Stack Overflow or respective owner