updated code error

call ruby env vars that was not available without ruby tags !!