Could not find a valid gem install activerecord-sqlite3-adapter
You cannot install activerecord-sqlite3-adapter
as a gem, because this adapter is included with ActiveRecord already. The problem is not in activerecord-sqlite3-adapter
, but in that you don't have sqlite3
as part of your Gem bundle (the error message tells us this at the end: "sqlite3 is not part of the bundle.")
To fix it, add it to your Gemfile first:
# in your Gemfilegem 'sqlite3'
then run from command line:
$ bundle install
Ensure that sqlite3
installs correctly and shows up in your Gem bundle, and everything should work.
I had the same issue as you are presenting, and after a lot of trial and error, i found some simple steps to fix it.
First, add to your Gemfile:
gem 'sqlite3', '1.3.5'
Then run in your console:
bundle install
And then you should proceed normally
Ruby 2.0 has problems with sqlite3 and can't run. If you need to use sqlite3 you'll have to downgrade to 1.9.3. I don't have the link to the documentation about this, but I know if you downgrade to 1.9.3 you'll be fine. I'll see if I can find the link.