Hi I am trying to set up meshery docs locally, but while using the command
make site I am getting an error for bundler not present but while installing it, it shows "
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory". Please help.
subham@Subhams-MacBook-Pro docs % make site bundle install /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.3.16) required by your /Users/subham/Documents/meshery/docs/Gemfile.lock. (Gem::GemNotFoundException) To update to the latest version installed on your system, run `bundle update --bundler`. To install the missing version, run `gem install bundler:2.3.16` from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path' from /usr/bin/bundle:23:in `<main>' make: *** [install] Error 1 subham@Subhams-MacBook-Pro docs % gem install bundler:2.3.16 ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.