# Install Dradis on MAC OSX 11.4

**URL:** <https://discuss.dradis.com/t/install-dradis-on-mac-osx-11-4/809>\
**Category:** Community Edition\
**Created:** [June 5, 2021, 4:25pm UTC](https://discuss.dradis.com/t/install-dradis-on-mac-osx-11-4/809 "2021-06-05T16:25:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadownet](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@shadownet](https://discuss.dradis.com/u/shadownet)\
**Post date:** [June 5, 2021, 4:25pm UTC](https://discuss.dradis.com/t/install-dradis-on-mac-osx-11-4/809/1 "2021-06-05T16:25:55Z")

</div>

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](https://github.com/dradis/dradis-ce.git)  
$ 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  
/usr/local/opt/ruby/bin//ruby

which bundler  
/usr/local/opt/ruby/bin//bundler

bundler -v  
Bundler version 2.2.19

---

<div class="post-metadata">

**Author:** ![etd](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/etd/32/5_2.png) [@etd](https://discuss.dradis.com/u/etd)\
**Post date:** [June 7, 2021, 11:36am UTC](https://discuss.dradis.com/t/install-dradis-on-mac-osx-11-4/809/2 "2021-06-07T11:36:11Z")

</div>

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

> **[GitHub - rbenv/rbenv: Manage your app's Ruby environment](https://github.com/rbenv/rbenv)**
>
> Manage your app's Ruby environment. Contribute to rbenv/rbenv development by creating an account on GitHub.

Using the [Basic GitHub Checkout](https://github.com/rbenv/rbenv#basic-github-checkout) instructions.

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

```auto
$ rbenv versions
  system
  2.0.0-p353
  2.2.10
  # ...
* 2.7.2 (set by /Users/etd/Code/dradis/dradis-ce/.ruby-version)

```

Then follow the original instructions.

HTH,  
Daniel
