Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Example for programmatic use doesn't work #249

Closed
oreoshake opened this Issue · 2 comments

1 participant

@oreoshake
require 'guard'

Guard.setup

guardfile = <<-EOF
  guard 'rspec' do
    watch(%r{^spec/.+_spec\.rb$})
  end
EOF

Guard::Dsl.evaluate_guardfile(:guardfile_contents => guardfile)
Guard.start

Output:

Using inline Guardfile.
ERROR: No Guardfile found, please create one with `guard init`.
@oreoshake

And when using a filename:

Using Guardfile at /Users/donkey/workspace/shared/Guardfile.
ERROR: No Guardfile found, please create one with `guard init`.
@oreoshake

Not sure why this wasn't linked to the pull request...

@oreoshake oreoshake closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.