Note that there are some explanatory texts on larger screens.

plurals
  1. PORails 3 + Heroku: cannot load such file -- test/unit/testcase (LoadError)
    text
    copied!<p>I'm having the following error when running the console in heroku (<code>heroku run console</code>...). The application is running without problems, but I seem to be unable to run the console because of this and in development I'm not having this issue.</p> <pre><code>/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- test/unit/testcase (LoadError) from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/test_case.rb:1:in `&lt;top (required)&gt;' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require' from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/console/app.rb:2:in `&lt;top (required)&gt;' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency' from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require' from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/application.rb:304:in `initialize_console' from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/application.rb:152:in `load_console' from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/commands/console.rb:27:in `start' from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/commands/console.rb:8:in `start' from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/commands.rb:41:in `&lt;top (required)&gt;' from script/rails:6:in `require' from script/rails:6:in `&lt;main&gt;' </code></pre> <p>This is my Gemfile:</p> <pre><code>source 'http://rubygems.org' ruby '1.9.3' gem 'rails', '3.2.9' gem 'oauth', '~&gt; 0.4.4' gem 'twitter', '~&gt; 1.4.1' gem 'sendgrid' gem 'koala' gem 'therubyracer', '0.10.2' gem 'execjs' # Rails 3.1 - Asset Pipeline gem 'json' group :assets do gem 'sass-rails', " &gt;= 3.2.3" gem 'coffee-rails', "&gt;= 3.2.1" gem 'uglifier', '&gt;= 1.0.3' gem 'bootstrap-sass' end gem 'coffee-script' gem 'jquery-rails' gem "fog" gem 'bootstrap-wysihtml5-rails', '0.3.1.10' group :production do gem "heroku" gem 'pg', '0.13' gem 'newrelic_rpm' gem 'newrelic_api' end group :test do gem 'email_spec' gem "cucumber-rails" gem "rspec-rails" gem "capybara" gem 'culerity' gem "selenium-webdriver" gem "database_cleaner" gem 'factory_girl_rails' end group :development, :grades, :test do gem "launchy" gem "mysql2" gem "letter_opener" gem "pry" gem "rails-erd" end gem "airbrake" gem "authlogic" gem 'awesome_print' gem 'cancan' gem 'dalli' #gem "oink" gem 'validates_timeliness', '~&gt; 3.0.2' gem 'hpricot' gem "ruby_parser" gem "prawn_rails" gem "thin" gem "nested_form", :git =&gt; "git://github.com/ryanb/nested_form.git" gem "meta_search" gem "carrierwave" gem "aws-s3" gem "mini_magick" gem 'will_paginate' gem "spreadsheet" gem "oauth-plugin", "&gt;= 0.4.0.pre1" gem 'flash_cookie_session' gem 'haml-rails' gem 'squeel' gem 'rails_best_practices', :group =&gt; :development gem 'simple_form' gem 'taps', :group =&gt; :development gem 'resque' gem "audited-activerecord", "~&gt; 3.0" gem "lograge" gem 'quiet_assets' gem 'yajl-ruby', :require =&gt; "yajl" gem 'switch_user' </code></pre> <p>I've got no idea why I'm getting this error. Any thoughts? Thanks</p>
 

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