Exception: SpringStandalone::CommandNotFound
- Inherits:
-
ClientError
- Object
- StandardError
- ClientError
- SpringStandalone::CommandNotFound
- Defined in:
- lib/spring_standalone/errors.rb
Overview
class MissingApplication < ClientError
attr_reader :project_root
def initialize(project_root)
@project_root = project_root
end
def
"SpringStandalone was unable to find your config/application.rb file. " \
"Your project root was detected at #{project_root}, so SpringStandalone " \
"looked for #{project_root}/config/application.rb but it doesn't exist. You can " \
"configure the root of your application by setting SpringStandalone.application_root in " \
"config/spring.rb."
end
end