torquebox/backstage — Issue #13: backstage deploy not working with gem version of torquebox
Author: AndreasWurm
Created: 2012-02-12 17:27:05+00:00
State: open

I installed torquebox 2.0.0.beta3 and backstage 1.0.0.beta2 as gems.
Because the gem version of torquebox does not set the environment variables, the deployment through "backstage deploy" does not work.

rvm use jruby-1.6.5.1@global

jruby -J-Xmx1024m -S gem install torquebox-server --pre

gem install torquebox-backstage --pre

backstage deploy
Exception: $TORQUEBOX_HOME must be set
check at .../.rvm/gems/jruby-1.6.5.1@global/gems/torquebox-backstage-1.0.0.beta2/bin/backstage:68
deploy at .../.rvm/gems/jruby-1.6.5.1@global/gems/torquebox-backstage-1.0.0.beta2/bin/backstage:28