Run bundle install Error

Hi, I am having trouble running the bundle install in “A Ruby Project” - Run Tests.

When I run: bundle install
I get the error:
-bash: bundle: command not found

I tried to run the gem install for the bundler: gem install bundler,
and I get the following error:
ERROR: While executing gem … (Gem::FilePermissionError)
You don’t have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

Please help.

Hi All,

I figured out my issue using:
gem install bundler --user-install

and updating the PATH variable with the export PATH command.