Exception: Jade::Project::NotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/jade/project.rb

Instance Method Summary collapse

Constructor Details

#initialize(from) ⇒ NotFound

Returns a new instance of NotFound.



30
31
32
33
34
35
36
37
38
39
40
# File 'lib/jade/project.rb', line 30

def initialize(from)
  super(<<~MSG)
    no #{MANIFEST} in #{from} or any parent directory

    Tools that run outside the app can't see a `Jade.setup` block, so
    they need the manifest to find your sources and load the gems
    that ship the modules you import. Write one at the project root:

      { "source_roots": ["lib"], "extensions": ["jade-sql"] }
  MSG
end