Exception: Spring::TmpUnwritable

Inherits:
StandardError
  • Object
show all
Defined in:
lib/spring/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tmp_path) ⇒ TmpUnwritable

Returns a new instance of TmpUnwritable.



21
22
23
# File 'lib/spring/errors.rb', line 21

def initialize(tmp_path)
  @tmp_path = tmp_path
end

Instance Attribute Details

#tmp_pathObject (readonly)

Returns the value of attribute tmp_path.



19
20
21
# File 'lib/spring/errors.rb', line 19

def tmp_path
  @tmp_path
end

Instance Method Details

#messageObject



25
26
27
28
29
# File 'lib/spring/errors.rb', line 25

def message
  "Spring is unable to create a socket file at #{tmp_path}. You may need to " \
    "set the SPRING_TMP_PATH environment variable to use a different path. See " \
    "the documentation for details."
end