# File lib/heroku/commands/plugins.rb, line 32 def installation_failed(plugin, message) plugin.uninstall error "Could not initialize \#{plugin}: \#{message}\n\nAre you attempting to install a Rails plugin? If so, use the following:\n\nRails 2.x:\nscript/plugin install \#{plugin.uri}\n\nRails 3.x:\nrails plugin install \#{plugin.uri}\n" end