alexgb / guard-konacha

Automatically run konacha tests through Guard
MIT License
31 stars 17 forks source link

$ bundle exec guard init konacha fails - "Cannot load..." #32

Open thebucknerlife opened 7 years ago

thebucknerlife commented 7 years ago

Hi,

I've added the gem to my Gemfile (see below) and I continually get this error on guard init:

$ bundle install
Using rake 10.5.0
Using i18n 0.7.0
... (normal output blah blah blah) ...
Using guard-konacha 1.0.5
Bundle complete! 49 Gemfile dependencies, 145 gems now installed.

$ bundle exec guard init konacha
14:28:18 - ERROR - Could not load 'guard/konacha' or '~/.guard/templates/konacha' or find class Guard::Konacha
14:28:18 - ERROR - Error is: No such file or directory @ rb_sysopen - /Users/gbuck/.guard/templates/konacha

Gemfile:

source 'https://rubygems.org'

gem 'rails', '4.2.4'
gem 'pg'
gem 'puma'
gem 'contentful-management'
gem 'contentful'
gem 'httparty'
gem 'redcarpet'
gem 'shortcode'
gem 'rack-rewrite', '~> 1.5.0'
gem 'devise'
gem 'airbrake', '~> 5.2'
gem 'postgres_ext'
gem 'cloudinary'
gem 'carrierwave'

# front end
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'jquery-rails'
gem 'normalize-rails'
gem 'autoprefixer-rails'
gem 'jquery-slick-rails'
gem 'canonical-rails'
gem 'bootstrap-sass', '~> 3.3.6'
gem 'devise-bootstrap-views'
gem 'ckeditor_rails'
gem 'coffee-rails' #neded for ckeditor

#ops
gem 'newrelic_rpm'

group :development, :test do
  gem 'pry-byebug'
  gem 'dotenv-rails'
  gem 'konacha'
  gem 'ejs'
end

group :development do
  gem 'pry-rails'
  gem 'web-console', '~> 2.0'
  gem 'guard', require: false
  gem 'guard-rspec', require: false
  gem 'guard-livereload', require: false
  gem 'guard-konacha'
  gem 'rack-livereload'
  gem 'rb-fsevent', require: false
end

group :test do
  gem 'rspec-rails'
  gem 'rspec-its'
  gem 'capybara'
  gem 'webmock'
  gem 'vcr'
  gem 'poltergeist'
  gem 'launchy'
  gem 'capybara-webkit'
  gem 'selenium-webdriver'
  gem 'database_cleaner'
  gem 'factory_girl'
end

I've tried moving the gem around, installing it from the CLI and using bundle exec and not using bundle exec - no change.

Any help would be appreciated! Missing my automated tests :( Thanks you!!

dennyluan commented 7 years ago

+1 , this seems to be breaking with guard 2.14.0

with guard 2.6.0, guard-konacha 1.0.5, was getting

ActionView::Template::Error: can't add a new key into hash during iteration