# Nginx Performance Report plugin incompatible with development environment setup script

**URL:** <https://meta.discourse.org/t/nginx-performance-report-plugin-incompatible-with-development-environment-setup-script/48261>\
**Category:** Development\
**Created:** [August 5, 2016, 4:14pm UTC](https://meta.discourse.org/t/nginx-performance-report-plugin-incompatible-with-development-environment-setup-script/48261 "2016-08-05T16:14:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jamesmarkcook](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesmarkcook/32/168563_2.png) [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)\
**Post date:** [August 5, 2016, 4:14pm UTC](https://meta.discourse.org/t/nginx-performance-report-plugin-incompatible-with-development-environment-setup-script/48261/1 "2016-08-05T16:14:02Z")

</div>

I stumbled upon a ruby version issue when setting up a Discourse development environment.

The install script that the beginners guide links to installs Ruby 2.2.3 [here](https://github.com/techAPJ/install-rails/blob/master/mac#L83)

However [this code](https://github.com/discourse/discourse/blob/master/plugins/discourse-nginx-performance-report/app/jobs/scheduled/daily_performance_report.rb#L13) uses syntax that’s [only compatible from Ruby 2.3](https://infinum.co/the-capsized-eight/articles/multiline-strings-ruby-2-3-0-the-squiggly-heredoc)

This resulted in a syntax error for me when running the initial DB setup steps locally.

Either we need to change the version in the script to install 2.3 or change the code in that file.

---

_[View the full topic](https://meta.discourse.org/t/nginx-performance-report-plugin-incompatible-with-development-environment-setup-script/48261)._
