title: undefined method `devise' for Install (call 'Install.connection' to establish a connection):Class
body: <p>So when I run my application using <code>rails s -b $IP -p $PORT</code>it gives me the following error:</p>
  
  <pre><code>/usr/local/rvm/gems/ruby-2.3.4/gems/activerecord-4.2.5/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined method `devise' for Install (call 'Install.connection' to establish a connection):Class (NoMethodError)
  </code></pre>
  
  <p>In my gemfile, I already added <code>gem 'devise'</code> and in my development.rb I have put <code>config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }</code> <strong>Note that I'm currently using cloud 9 ide for this project.</strong> The error occurs when I also try to migrate my database, also, I get the same error trying to run <code>rails g devise:install</code> Thanks in advance!</p>