Sha256: 8e8e12d9f5ef4d345af55fc5102e9f104a8c9c810fb4de1ec949dc1a4c9601ce
Contents?: true
Size: 1005 Bytes
Versions: 36
Compression:
Stored size: 1005 Bytes
Contents
module Spring class ClientError < StandardError; end class UnknownProject < StandardError attr_reader :current_dir def initialize(current_dir) @current_dir = current_dir end def message "Spring was unable to locate the root of your project. There was no Gemfile " \ "present in the current directory (#{current_dir}) or any of the parent " \ "directories." end end class MissingApplication < ClientError attr_reader :project_root def initialize(project_root) @project_root = project_root end def message "Spring was unable to find your config/application.rb file. " \ "Your project root was detected at #{project_root}, so spring " \ "looked for #{project_root}/config/application.rb but it doesn't exist. You can " \ "configure the root of your application by setting Spring.application_root in " \ "config/spring.rb." end end class CommandNotFound < ClientError end end
Version data entries
36 entries across 36 versions & 2 rubygems