0
I'm trying install Dradis in my Mac OS X Catalina
git clone https://github.com/dradis/dradis-ce.git
cd dradis-ce/
./bin/setup
I kept getting
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
and
Yes, I have Ruby installed
⚡️ dradis-ce which ruby
/usr/bin/ruby
⚡️ dradis-ce ruby --version
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
⚡️ dradis-ce
"You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory." So give yourself write permission? – DavidPostill – 2020-02-18T15:40:41.323
I'm on a Mac, and logged in as admin as user : kyo – cyber8200 – 2020-02-18T15:41:37.377
That doesn't mean you have permission. What are the current permissions on that folder? – DavidPostill – 2020-02-18T15:42:39.760
See if adding
– JakeGould – 2020-02-18T15:42:45.510eval "$(rbenv init -)"
to the end of your~/.bash_profile
helps; source for this tip can be found here. Do that and close the terminal and open it up again and see if that clears things up. @DavidPostill Generally one doesn’t face such permission change issues for stuff like this. The issue is most likely thedradis-ce
Ruby lib directory is not being checked before the system one is checked in/Library/Ruby/Gems/2.6.0
.@JakeGould, now I can't run
bundle install
, I kept gettingYour Ruby version is 2.6.3, but your Gemfile specified 2.4.1
– cyber8200 – 2020-02-18T15:44:31.033@kyo Well, then undo that change! – JakeGould – 2020-02-18T15:48:20.900