Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6210757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:13:00+00:00 2026-05-24T06:13:00+00:00

Trying to install Guard on my ubuntu machine, but when I try to run

  • 0

Trying to install Guard on my ubuntu machine, but when I try to run it from command line I get this error:

No command 'guard' found, did you mean:
 Command 'guards' from package 'quilt' (main)
guard: command not found

All my other gems work fine from command line, so the gems path is good. gem list shows guard (0.5.1) and guard-rspec (0.4.0). I also installed libnotify and rb-inotify

What am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:13:00+00:00Added an answer on May 24, 2026 at 6:13 am

    I had no issues setting up the guard-rspec gem on Ubuntu. I assume you do not use sudo to install your gems. This would cause a problem.

    Update in response to comment regarding installing gems using sudo.

    If you sudo gem install – which you really should not do – then your terminal will have no access to the gem. If this is the case then uninstall all your gems then re-install using bundle, rvm or whatever without the sudo command. On Ubuntu when you use the command shell you are not logged in as root.

    I highly recommend you use rvm to manage your gems. They will be installed to your home folder
    See here for more details https://rvm.io
    End of update

    If your really have to sudo install your gems then you will have to sudo run them as well and as your app is not run under a sudo shell this will cause issues.

    I suggest you check the name of your gem in your gemfile.rb it should be
    gem "guard-rspec"

    define this in your test group and make sure you run bundle install.

    One major benefit of using Ubuntu is that you can also use the libnotify and libnotify-rails gems which work beautifully well. You will see a message about this after you have run guard rspec:install and then guard for the first time. Check the messages carefully you will be very pleasantly surprised.

    The libnotify gems give you a popup window that tells you the state of your tests every time they run. It’s totally awesome

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

when trying to install cygwin, I keep getting this error message: the entry point
When trying to install gems I run into Bad Request 400 error when it
Trying to install rattle on a windows server 2008 R2 64bit machine, using 64-bit
Trying to install some gems under jruby 1.6, but getting connection refused: $ gem
When trying to install the ruby gem libxml-ruby on my windows computer I get
Trying to install various packages on a Windows 7 64 bit and learned that
Trying to install http://www.dotlesscss.org/ to my project and I'm a bit stuck on step
Am trying to install juggernaut following the steps here juggernaut -c juggernaut.yml, I got
im trying to install the google GUI builder Window maker pro im using eclipse
While trying to install PIL for Python 2.6 on Mac OS X Snow Leopard

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.