Skip to content

Instantly share code, notes, and snippets.

@alcabanillas-engh
Created October 16, 2008 23:32
Show Gist options
  • Save alcabanillas-engh/17299 to your computer and use it in GitHub Desktop.
Save alcabanillas-engh/17299 to your computer and use it in GitHub Desktop.
mayluc:asserted-identity jsgoecke$ ahn start .
/opt/adhearsion/lib/adhearsion/initializer.rb:167:in `each_pair'
/opt/adhearsion/lib/adhearsion/initializer.rb:167:in `bootstrap_rc'
/opt/adhearsion/lib/adhearsion/initializer.rb:108:in `start'
/opt/adhearsion/lib/adhearsion/initializer.rb:70:in `start'
/opt/adhearsion/lib/adhearsion/cli.rb:70:in `start'
/opt/adhearsion/lib/adhearsion/cli.rb:18:in `send'
/opt/adhearsion/lib/adhearsion/cli.rb:18:in `execute!'
/opt/adhearsion/bin/ahn:28
Deprecation Warning
-------------------
The (hidden) .ahnrc file in this app is of an older format and needs to be fixed.
There is a rake task to automatically fix it or you can do it manually. Note: it's
best if you do it manually so you can retain the YAML comments in your .ahnrc file.
The rake task is called "deprecations:fix_ahnrc_path_format".
To do it manually, find all entries in the "paths" section of your ".ahnrc" file
which look like the following:
paths:
key_name_could_be_anything:
directory: some_folder
pattern: *.rb
Note: the "models" section had this syntax before:
models:
directory: models
pattern: "*.rb"
The NEW syntax is as follows (using models as an example):
models: models/*.rb
This new format is much cleaner.
Adhearsion will abort until you fix this. Sorry for the incovenience.
mayluc:asserted-identity jsgoecke$ rake deprecations:fix_ahnrc_path_format
(in /Users/jsgoecke/Documents/Development/asserted-identity)
rake aborted!
no such file to load -- adhearsion
/Users/jsgoecke/Documents/Development/asserted-identity/rakefile:2
(See full trace by running task with --trace)
mayluc:asserted-identity jsgoecke$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment