Problem :
I want to run the specs, you will need to install RSpec. First, run the gem install bundler in a root directory of the project. Then, run the bundle install. To run the single spec file, run the command like below:
bundle exec rspec spec/00_hello_spec.rb.
To run all of a specs at once, run a bundle exec rspec.
So, I just typed gem install bundler to a terminal, and got below error
“You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.”
And this was in a project file in a atom *source "https://rubygems.org" gem "rspec", "~> 3.2.0" *
So my question is:
It seems like a terminal is giving me a response because I am not supposed to change anything on a ruby, and I want to bundle install inside of the atom? Could anyone tell me how to use the atom or run anything in the atom?