Skip to content

Instantly share code, notes, and snippets.

@rknLA
Last active December 11, 2015 00:18
Show Gist options
  • Save rknLA/4515420 to your computer and use it in GitHub Desktop.
Save rknLA/4515420 to your computer and use it in GitHub Desktop.
guard fail outside of rails.
source :rubygems
gem 'guard-sass'
guard init sass
guard 'sass', :input => 'style/sass', :output => 'style/css'
17:04:31 - INFO - Guard here! It looks like your project has a Gemfile, yet you are running
> [#] `guard` outside of Bundler. If this is your intent, feel free to ignore this
> [#] message. Otherwise, consider using `bundle exec guard` to ensure your
> [#] dependencies are loaded correctly.
> [#] (You can run `guard` with --no-bundler-warning to get rid of this message.)
17:04:31 - ERROR - Invalid Guardfile, original error is:
> [#] undefined local variable or method `sass' for #<Guard::Dsl:0x007fc90a8621a0>
17:04:31 - ERROR - No guards found in Guardfile, please add at least one.
17:04:31 - INFO - Guard uses TerminalTitle to send notifications.
17:04:31 - INFO - Guard is now watching at '/Users/kevin/work/presentations/rdio-deck'
[1] guard(main)>
17:04:48 - INFO - Bye bye...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment