Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard hangs in tmux? #41

Open
cmer opened this issue Jul 21, 2021 · 1 comment
Open

Guard hangs in tmux? #41

cmer opened this issue Jul 21, 2021 · 1 comment

Comments

@cmer
Copy link

cmer commented Jul 21, 2021

This is the output I am getting:

❯ be guard -d
13:55:43 - DEBUG - Notiffany: gntp not available (Please add "gem 'ruby_gntp'" to your Gemfile and run your app with "bundle exec".).
13:55:43 - DEBUG - Notiffany: growl not available (Unsupported platform "linux").
13:55:43 - DEBUG - Notiffany: terminal_notifier not available (Unsupported platform "linux").
13:55:43 - DEBUG - Notiffany: libnotify not available (Please add "gem 'libnotify'" to your Gemfile and run your app with "bundle exec".).
13:55:43 - DEBUG - Command execution: which notify-send
13:55:43 - DEBUG - Command execution: {"ALTERNATE_EDITOR"=>"false"} emacsclient --eval '1'
13:55:43 - DEBUG - Notiffany: emacs not available (Emacs client failed).
13:55:43 - DEBUG - Command execution: tmux -V
13:55:43 - DEBUG - Notiffany: file not available (No :path option given).
13:55:43 - DEBUG - Command execution: which notify-send
13:55:43 - DEBUG - Command execution: tmux -V
13:55:43 - DEBUG - Notiffany is using NotifySend to send notifications.
13:55:43 - DEBUG - Notiffany is using Tmux to send notifications.
13:55:43 - DEBUG - Command execution: tmux list-clients -F '#{client_tty}'
@olivereri
Copy link

olivereri commented Mar 22, 2024

@e2 I'm seeing this issue as well and I spent the past hour searching around for and implementing resolutions without success. I added the ruby_gntp gem that clears up some of the original posters errors but I'm still stuck at this:

$ bundle exec guard --debug
17:09:52 - DEBUG - Command execution: {"ALTERNATE_EDITOR"=>"false"} emacsclient --eval '1'
17:09:52 - DEBUG - Notiffany: emacs not available (Emacs client failed).
17:09:52 - DEBUG - Command execution: tmux -V
17:09:52 - DEBUG - Notiffany: file not available (No :path option given).
17:09:52 - DEBUG - Command execution: tmux -V
17:09:52 - DEBUG - Notiffany is using GNTP to send notifications.
17:09:52 - DEBUG - Notiffany is using Tmux to send notifications.
17:09:52 - DEBUG - Command execution: tmux list-clients -F '#{client_tty}'

I really don't know where to go from here. I'm running on 22.04.1-Ubuntu on AWS Cloud9. This is my Gemfile:

source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.1.2"

gem "rails",                      "7.0.4"
gem "image_processing",           "1.12.2"
gem "active_storage_validations", "0.9.8"
gem "bcrypt",                     "3.1.18"
gem "faker",                      "2.21.0"
gem "will_paginate",              "3.3.1"
gem "bootstrap-will_paginate",    "1.0.0"
gem "bootstrap-sass",             "3.4.1"
gem "sassc-rails",                "2.1.2"
gem "sprockets-rails",            "3.4.2"
gem "importmap-rails",            "1.1.0"
gem "turbo-rails",                "1.1.1"
gem "stimulus-rails",             "1.0.4"
gem "jbuilder",                   "2.11.5"
gem "puma",                       "5.6.4"
gem "bootsnap",                   "1.12.0", require: false
gem 'uglifier',       '3.0.0'
gem 'jquery-rails',   '4.1.1'

group :development, :test do
  gem "sqlite3", "1.4.2"
  gem "debug",   "1.5.0", platforms: %i[ mri mingw x64_mingw ]
  gem 'byebug',  '9.0.0', platform: :mri
  gem "ruby_gntp",                  "0.3.4"
end

group :development do
  gem "web-console", "4.2.0"
  gem 'listen',                '3.0.8'
  gem 'spring',                '1.7.1'
  gem 'spring-watcher-listen', '2.0.0'
end

group :test do
  gem "capybara",                 "3.37.1"
  gem "selenium-webdriver",       "4.2.0"
  gem "webdrivers",               "5.0.0"
  gem "rails-controller-testing", "1.0.5"
  gem "minitest",                 "5.15.0"
  gem "minitest-reporters",       "1.5.0"
  gem "guard",                    "2.18.0"
  gem "guard-minitest",           "2.4.6"
  gem "notiffany"
end

group :production do
  gem "pg",         "1.3.5"
  gem "aws-sdk-s3", "1.114.0", require: false
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem.
# Uncomment the following line if you're running Rails
# on a native Windows system:
# gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]

I'm following along this course, so someone got Guard working on AWS cloud 9:
https://www.learnenough.com/course/ruby_on_rails_tutorial_7th_edition/static_pages/advanced_testing_setup/guard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants