poetic / rune

An opinionated Drupal distribution focused on developer happiness with a git-based workflow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: rune environments feature module

khalidadil opened this issue · comments

PHP 5.3.10-1ubuntu3.19, drush version 5.10.0, Ubuntu 12.04.5 LTS

I'm using the latest rune (built locally and renamed to a .lock file to use on a clean aegir 2 build).

I can get the platform to verify without errors, but when I try to spin up a site on the new platform, I'm seeing the following error (screenshot: http://cl.ly/image/0u0O0M2S0604):

Drush command terminated abnormally due to an unrecoverable error. Error: syntax error, unexpected '[' in /var/aegir/platforms/rune20150829/profiles/rune/modules/rune_environments/rune_environments.module, line 16

which corresponds to the following line (file: https://raw.githubusercontent.com/poetic/rune/master/modules/rune_environments/rune_environments.module):

variable_set('environment_indicator_overwritten_name', environment_load($target_env['label']);