Connecting to a database without Rails breaks
Reported by Jay Phillips | October 9th, 2008 @ 09:28 PM
Caused by the new refactoring
mayluc:asserted-identity jsgoecke$ ahn start .
/opt/adhearsion/lib/adhearsion/initializer/configuration.rb:60:in `files_from_setting': Paths ["paths", "models"] not found in .ahnrc! (NameError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in `inject'
from /opt/adhearsion/lib/adhearsion/initializer/configuration.rb:56:in `each'
from /opt/adhearsion/lib/adhearsion/initializer/configuration.rb:56:in `inject'
from /opt/adhearsion/lib/adhearsion/initializer/configuration.rb:56:in `files_from_setting'
from /opt/adhearsion/lib/adhearsion/initializer/database.rb:36:in `require_models'
from /opt/adhearsion/lib/adhearsion/initializer/database.rb:12:in `start'
from /opt/adhearsion/lib/adhearsion/initializer.rb:162:in `init_modules'
from /opt/adhearsion/lib/adhearsion/initializer.rb:101:in `start'
from /opt/adhearsion/lib/adhearsion/initializer.rb:57:in `start'
from /opt/adhearsion/lib/adhearsion/cli.rb:70:in `start'
from /opt/adhearsion/lib/adhearsion/cli.rb:18:in `send'
from /opt/adhearsion/lib/adhearsion/cli.rb:18:in `execute!'
from /opt/adhearsion/bin/ahn:28
Comments and changes to this ticket
-
Jay Phillips October 15th, 2008 @ 06:00 PM
- State changed from new to open
For some reason, @ahnrc is set to nil when this database initializer starts. That's not supposed to happen... Looking into it.
-
Jay Phillips October 17th, 2008 @ 11:11 PM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป