How about?
```html
<body data-env="#{Rails.env}">
```