Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't make sqlite3 work on Ruby on Rails
    primarykey
    data
    text
    <p>I just installed ruby on my windows 7 computer. I installed rails and sqlite3 with the gem. I then made my app work on local BUT I still seem to have problems with sqlite3. When I try this:</p> <pre><code>rake db:create </code></pre> <p>the only thing i get is an error:</p> <pre><code>Please install the sqlite3 adapter: "gem install activerecord-sqlite3-adapter" (sqlite3 is not part of the bundle. Add it to the GemFile). </code></pre> <p>I've been doing some digging here and there, and I could make this error go away adding this line to my GemFile:</p> <pre><code>gem "sqlite3", group: :sqlite3 </code></pre> <p>And i got a new error:</p> <pre><code>no driver for sqlite3 found </code></pre> <p>I tried the 'bundle' command and I have both sqlite3 and sqlite3-ruby, I reinstalled everything but the problem won't go away. This is my gemFile, I hope it helps:</p> <pre><code>source 'https://rubygems.org' gem 'rails', '3.2.12' # Bundle edge Rails instead: # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git' #I tried this too, but nothig changes #gem 'sqlite3-ruby', :require =&gt; 'sqlite3' gem 'sqlite3-ruby', '1.2.5', :require =&gt; 'sqlite3' gem "sqlite3", group: :sqlite3 # Gems used only for assets and not required # in production environments by default. group :assets do gem 'sass-rails', '~&gt; 3.2.3' gem 'coffee-rails', '~&gt; 3.2.1' # See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem 'therubyracer', :platforms =&gt; :ruby gem 'uglifier', '&gt;= 1.0.3' end gem 'jquery-rails' </code></pre> <p>I really don't know what to do. It's kind of frustrating, it seems like something is not (obviously) properly working with sqlite3, because fixing one error leads to a new error. How can I possibly fix this problem ?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload