Exception: SpringStandalone::CommandNotFound

Inherits:
ClientError
  • Object
show all
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 message
  "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