0

I am currently trying to deploy using capistrano, but keep running into this deployment error:

Caused by:

SSHKit::Runner::ExecuteError: Exception while executing on host : rake exit status: 1
rake stdout: rake aborted!
NoMethodError: undefined method `wepay' for #<Rails::Application::Configuration:0x0000557f33d52d18>

I am using the wepay gem in the application, and also have a credential with the name of wepay, so I am not sure which this is suggesting is the problem.

Anyone have any ideas?

Sara Fuerst
  • 5,688
  • 8
  • 43
  • 86

1 Answers1

0

In my production.rb I needed to remove this configuration line:

config.wepay.use_stage = true 
Sara Fuerst
  • 5,688
  • 8
  • 43
  • 86