syntax error when using commands
Overload119 opened this issue · 0 comments
Overload119 commented
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.