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 7589061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:04:27+00:00 2026-05-30T20:04:27+00:00

I used to run the default bash terminal that comes with Mac Os X

  • 0

I used to run the default bash terminal that comes with Mac Os X Lion but have recently upgraded to ZSH with the Oh My Zsh addon.

Since then I get an odd error when using Ruby gems.

In essence all gems return a “Command not found” error even though they are installed.


Here is an example straight from my ZSH terminal:

  1. Shows that the RVM ruby is running as it should.
  2. rvm list shows my RVM ruby to be the default as I want it.
  3. rvm gem list shows that my gems are installed, note the sass gem .
  4. Running a simple sass --watch command returns zsh: command not found: sass.
  5. Just in case it helps, my $PATH variable output.

    Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static
    → which ruby
    /Users/jannis/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
    
    Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static
    → rvm list     
    
    rvm rubies
    
    =* ruby-1.9.2-p290 [ x86_64 ]
    
    # => - current
    # =* - current && default
    #  * - default
    
    
    Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static
    → rvm gem list
    Please note that `rvm gem ...` is only an alias to `rvm do gem ...`,
     it might work different as in earlier versions of RVM and will be shortly removed!
     Also note that you do not have to prefix every command with `rvm`, they should just work by itself.
    `rvm do gem list` is deprecated, use `rvm all do gem list` or `rvm 1.9.2 do gem list` instead.
    
    *** LOCAL GEMS ***
    
    addressable (2.2.7, 2.2.6)
    chunky_png (1.2.5)
    compass (0.11.7, 0.11.6, 0.11.5)
    css_parser (1.2.6)
    fssm (0.2.8.1, 0.2.7)
    grid-coordinates (1.2.0)
    haml (3.1.4, 3.1.3)
    htmlentities (4.3.1)
    json (1.6.5)
    nokogiri (1.5.0)
    oily_png (1.0.2)
    premailer (1.7.3)
    rake (0.9.2.2, 0.9.2)
    rb-fsevent (0.9.0, 0.4.3.1)
    rdoc (3.12)
    rubygems-update (1.8.17, 1.8.15, 1.8.13, 1.8.11)
    sass (3.1.15, 3.1.12, 3.1.10)
    stitch (0.1.3.2)
    
    Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static
    → sass --style compressed --watch scss:css
    zsh: correct 'sass' to 'case' [nyae]? n
    zsh: command not found: sass
    
    Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static
    → echo $PATH
    /Users/jannis/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/jannis/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/jannis/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin
    

If anyone has an idea of why everything appears to be running and be installed but then doesn’t actually find and run the gem command I would appreciate your help.

  • 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-30T20:04:28+00:00Added an answer on May 30, 2026 at 8:04 pm

    check your rc files

    • .zshenv
    • .zshrc
    • .zlogin
    • .zprofile

    most likely in one of those PATH is reset after RVM was sourced

    also some oh-my-zsh plugins can break stuff, try disabling them and enabling one by one.

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

Sidebar

Related Questions

I previously used bash on ubuntu 10.04 LTS as my default shell environment. Recently
I have an initializer which sets a default that is used throughout the app.
I have two batch files which is used to run a large C++ build,
In oracle database, command host can be used to run bash command from database
We have a .NET 2.0 application which we normally run on IIS6, and used
I am trying to run the native activity sample that comes with the Android
I used the ASP.NET (.NET4) default ASPNETDB.mdf database that gets created when using membership,
I have a default nant build that runs on every checkin in CC.net. What
I have an html Input box to enter value used to run a PHP
How can I make Emacs run in terminal (or console) mode by default, as

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.