Reputation: 13548
I get this error message when running rake db:create
Could not find gem 'sqlite3 (>= 0, runtime)' in any of the gem sources listed in your Gemfile.
Any ideas on what I should do?
Upvotes: 0
Views: 198
Reputation: 13
I'm totally new to Rails development, but I had this same problem this week. Eventually, I replaced the line gem 'sqlite-ruby, :require => 'sqlite3'
with gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3'
(in the Gemfile)
I had to do this because I'm running Mac OS 10.5.8 rather than 10.6
Maybe that will help.
Upvotes: 0
Reputation: 83680
Open Gemfile
from the root of your Rails application
Add this line gem 'sqlite3-ruby', :require => 'sqlite3'
run bundle install
run rake db:create
Upvotes: 3