We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Daniel,
Great work with Qusion, it saved me a hell lot of time.
I can't seem to get it to load the YAML config file though. Here's its contents:
production: host: localhost port: 5672 user: guest pass: guest vhost: / timeout: 3600 logging: false ssl: false development: host: localhost port: 5672 user: guest pass: guest vhost: / timeout: 3600 logging: false ssl: false test: host: localhost port: 5672 user: guest pass: guest vhost: / timeout: 3600 logging: false ssl: false
The application then fails to start because of a NotMethodError exception:
You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each
Here's the backtrace:
0 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 58 in symbolize_keys' 1 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 49 inframework_amqp_opts' 2 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 39 in load_config_opts' 3 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 33 inconfig_opts' 4 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion.rb 17 in start' 5 ./config/environment.rb 67 6 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 614 incall' 7 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 614 in after_initialize' 8 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 613 ineach' 9 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 613 in after_initialize' 10 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 179 inprocess' 11 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 113 in send' 12 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 113 inrun' 13 ./config/environment.rb
symbolize_keys' 1 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 49 in
load_config_opts' 3 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 33 in
start' 5 ./config/environment.rb 67 6 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 614 in
after_initialize' 8 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 613 in
after_initialize' 10 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 179 in
send' 12 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 113 in
Any ideas?
Thanks,
Marcelo.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi Daniel,
Great work with Qusion, it saved me a hell lot of time.
I can't seem to get it to load the YAML config file though. Here's its contents:
production:
host: localhost
port: 5672
user: guest
pass: guest
vhost: /
timeout: 3600
logging: false
ssl: false
development:
host: localhost
port: 5672
user: guest
pass: guest
vhost: /
timeout: 3600
logging: false
ssl: false
test:
host: localhost
port: 5672
user: guest
pass: guest
vhost: /
timeout: 3600
logging: false
ssl: false
The application then fails to start because of a NotMethodError exception:
You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each
Here's the backtrace:
0 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 58 in
symbolize_keys' 1 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 49 in
framework_amqp_opts'2 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 39 in
load_config_opts' 3 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion/amqp_config.rb 33 in
config_opts'4 /var/www/apps/myapp/releases/20100915161758/vendor/plugins/qusion/lib/qusion.rb 17 in
start' 5 ./config/environment.rb 67 6 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 614 in
call'7 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 614 in
after_initialize' 8 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 613 in
each'9 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 613 in
after_initialize' 10 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 179 in
process'11 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 113 in
send' 12 /home/deploy/.gem/ruby/1.8/gems/rails-2.3.5/lib/initializer.rb 113 in
run'13 ./config/environment.rb
Any ideas?
Thanks,
Marcelo.
The text was updated successfully, but these errors were encountered: