title: Uninitialized constant SQLite error
body: <p>As soon as I add code to access my .sqlite database, I get a strange error:</p>
  
  <pre><code>in 'total': uninitialized constant Test2::SQLite (NameError)
  </code></pre>
  
  <p>My code is as follows:</p>
  
  <p>Test1.rb</p>
  
  <pre><code>require_relative 'Test2.rb'
  
  co = Test2.new()
  price = co.total
  </code></pre>
  
  <p>Test2.rb</p>
  
  <pre><code>require 'sqlite3'
  
  class Test2
  
      def initialize()
              @items = []
      end
  
      def total()
          db = SQLite::Database.open "Database.sqlite"
          db.close()
          return 0
      end
  end
  </code></pre>