Getting error message when starting Guard in sublime text 2: "Failed to find Guardfile and Gemfile in any of the open folders"

57 views
Skip to first unread message

iEye

unread,
Jun 1, 2012, 2:02:06 AM6/1/12
to guard-dev
Hi,
Getting error message when starting Guard in sublime text 2: "Failed
to find Guardfile and Gemfile in any of the open folders".
Im running on windows 7 64x.

At https://github.com/cyphactor/sublime_guard
there is this answer in the FAQ:
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = =
Why would I get "Failed to find Guardfile and Gemfile in any of the
open folders." as an error?

This error message is a result of the project currently loaded in
Sublime Text 2 missing either the Guardfile, the Gemfile, or both.
Currently, this plugin requires a Guardfile and a Gemfile to be
present in the projects root path to run Guard.

Where do I find out about Guardfiles?

The best place to find out about Guardfiles is the Guard project page.

Where do I found out about Gemfiles?

The best place to find out about Gemfiles is the Bundler project.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = =
I downloaded the guardfile from the project page and also the gemfile.
here http://github.com/guard/guard

In the article they refer to get more info about the gemfile at the
Bundler Project http://gembundler.com/

I want to run guard with jasmine from sublime text 2 (and later
perhaps with headless-webkit) and I would like some help with creating
the guardfile and gemfile, since thats what the error and the
explanation is pointing to.

If you have any other ideas how to set Guard up on windows 7 for
sublime text 2 using "Install Package" please contribute.

(I also have minggw32 with gnu bash 3.1 if I need to run/compile/
create anything there...)

/iEye

Thibaud Guillaume-Gentil

unread,
Jun 5, 2012, 3:08:08 AM6/5/12
to guar...@googlegroups.com
Hi,

You need to have your own Gemfile & Guardfile (don't copy it from the Guard repo).
I don't use Sublime Text and sublime_guard, so maybe asking on the sublime_guard will be more useful.

Thibaud
Reply all
Reply to author
Forward
0 new messages