max-mapper / monu

menubar process monitor mac app [ALPHA]
https://github.com/maxogden/monu/releases
BSD 2-Clause "Simplified" License
1.11k stars 74 forks source link

syntax error when using commands #40

Open Overload119 opened 7 years ago

Overload119 commented 7 years ago

I'm trying to use this in a simple

cd ~/Projects/instant-pages && spring rails s

But spring command is not found. This has something to do with the path. When I cd into the folder on my computer, rvm does some magic to load the right ruby version, along with the gem commands (spring is a gem)

/Users/amirsharif/.rvm/gems/ruby-2.2.1/bin/bundle

I think some of that magic is in

/Users/amirsharif/.rvm/scripts/cli

But using source /Users/amirsharif/.rvm/scripts/cli makes the shell have a bunch of syntax errors. But it works fine in my terminal. My default shell is zsh if that makes a difference.