pitluga / subcontractor

rvm aware process launcher for foreman
85 stars 24 forks source link

constant not defined #17

Closed dwaynemac closed 11 years ago

dwaynemac commented 11 years ago

I've got 2 rails apps.

App A and app B.

The both work just fine when started manually from the console.

When I try to start app B with foreman + subcontractor from app A I get

accounts/config/initializers/active_admin.rb:1:in `<top (required)>': uninitialized constant ActiveAdmin (NameError)

This is my procfile:

mondodb: ~/mongodb/bin/mongod
accounts: subcontract --rvm 1.9.2 --chdir ../accounts -- bundle exec rails s -p 3001
web: ./script/start.sh

I've tried

accounts: subcontract --rvm "--with-rubies rvmrc" --chdir ../accounts -- bundle exec rails s -p 3001

and

 new_rvm_app: accounts: subcontract --rvm --with-rubies default-with-rvmrc do --chdir ../accounts --signal INT -- bundle exec rails s -p 3001

They don't work either (the 2nd one has a different error though)

I'm using subcontractor 0.6.0

pgr0ss commented 11 years ago

Hi Dwayne,

Can you try with 0.6.1? We are now cleaning the bundler environment.

If that still fails, is it possible to boil down the test case into something you can push to github? Then I can try it locally and debug the problem.

Thanks, Paul

dwaynemac commented 11 years ago

it works now!

--- Dwayne

On Fri, Mar 1, 2013 at 10:04 PM, Paul Gross notifications@github.comwrote:

Hi Dwayne,

Can you try with 0.6.1? We are now cleaning the bundler environment.

If that still fails, is it possible to boil down the test case into something you can push to github? Then I can try it locally and debug the problem.

Thanks, Paul

— Reply to this email directly or view it on GitHubhttps://github.com/pitluga/subcontractor/issues/17#issuecomment-14319908 .