Install Dradis on MAC OSX 11.4

I am installing dradis on my Mac OS X 11.4 using the following method,
$ git clone GitHub - dradis/dradis-ce: Dradis Framework: Colllaboration and reporting for IT Security teams
$ cd dradis-ce/
$ ./bin/setup

I am getting the following message,
Your Ruby version is 3.0.1, but your Gemfile specified 2.7.2

Below are the versions and other details,

ruby -v
ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin20]

which ruby

which bundler

bundler -v
Bundler version 2.2.19

1 Like

Two options:

  1. (try this first) Update the .ruby-version file in the folder to match your installed version (3.0.1). Then follow the original instructions

  2. If that fails, then you need to get the 2.7.2 version running in your box, alongside the already installed 3.0.1. To do so we recommend rbenv

Using the Basic GitHub Checkout instructions.

After installing rbenv and Ruby 2.7.2, you should see this, if run from within the cloned directory:

$ rbenv versions
  # ...
* 2.7.2 (set by /Users/etd/Code/dradis/dradis-ce/.ruby-version)

Then follow the original instructions.