Created
December 10, 2008 05:51
-
-
Save jason/34254 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@dev /var/www/jasonwong]# script/console RAILS_ENV=production | |
Loading RAILS_ENV=production environment (Rails 2.2.2) | |
/opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:340:in `read':Errno::ENOENT: No such file or directory - /var/www/jasonwong/config/environments/RAILS_ENV=production.rb | |
/var/www/jasonwong/app/controllers/application.rb:9:NoMethodError: undefined method `auto_include!' for ApplicationController:Class | |
>> Asset | |
ActiveRecord::ConnectionNotEstablished: ActiveRecord::ConnectionNotEstablished | |
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection' | |
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:in `retrieve_connection' | |
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:113:in `connection' | |
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2237:in `quote_bound_value' | |
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2197:in `replace_bind_variables' | |
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2197:in `gsub' | |
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2197:in `replace_bind_variables' | |
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2186:in `sanitize_sql_array' | |
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2079:in `sanitize_sql' | |
from /var/www/jasonwong/app/models/asset.rb:7:in `send' | |
from /var/www/jasonwong/app/models/asset.rb:7 | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in `load_without_new_constant_marking' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in `load_file' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:381:in `load_file' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:256:in `require_or_load' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:427:in `load_missing_constant' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:in `const_missing' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:89:in `const_missing' | |
from (irb):1>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment