Thanks for your effort on this issue.
> So I test and it works.
> It was - probably - because I rename my database.yml when I make my guacamole.yml and Rails could not find database.yml and it's normal.
Yes, you need to deactivate ActiveRecord for this.
>
> When I test, I had an error with my configuration on guacamole.yml because I use dotenv.
> I use the ENV['VAR'] to configure globale variables but it not work in guacamole:
> `split': bad URI(is not URI?): <%= ENV['PROTOCOL'] %>://<%= ENV['HOST'] %>:<%= ENV['PORT'] %>/_db/<%= ENV['DATABASE'] %>/_api (URI::InvalidURIError)
Currently you're right: We just take what was defined in `guacamole.yml`. We could of course add an ERB step before parsing the YAML. And it Rails seems to do the very same thing.
I created an issue for that:
https://github.com/triAGENS/guacamole/issues/47
Unfortunately I don't have the time to deal with it right away. You have too options: don't use dotenv for now (it will not take longer than 2 weeks) or fix it by yourself ;-)
Anyway, thanks for the feedback, really helps us.
Regards
Dirk
>
> I think Guacamole don't replace the variables by their values.
>