Capistrano 1.4.2 with rake not working with RPM
Cannot deploy after installing due to this error:
undefined method `instance' for Capistrano::Configuration:Class
./vendor/plugins/newrelic_rpm/recipes/../lib/new_relic/recipes.rb:66
undefined method `instance' for Capistrano::Configuration:Class
./vendor/plugins/newrelic_rpm/recipes/../lib/new_relic/recipes.rb:66
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?We add a cap recipes file in the plugin which will get loaded automatically if your Capfile has this line:
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
Unfortunately it won't load properly in versions prior to 2.0.0. We'll fix the next version so it will handle the error more gracefully.
In the meantime you'll need to either delete the newrelic_rpm/recipes/recipes.rb file to be able to deploy again.
Sorry for the inconvenience.
Loading Profile...



EMPLOYEE