I’m going through the 4th edition of the book Agile Web D.
in Rails.
One of the exercises involves automatically creating 100 orders. The
command to run locally is “rails runner script/load_orders.rb”. I
have no problems here - it works.
What’s the command for running this in the deployed Heroku application?
2011/11/13 Jason H., Mr. Swift L. [email protected]:
What’s the command for running this in the deployed Heroku application?
I did a quick peek in the heroku docs:
BUT! I cant use “heroku run rails ”, some further digging in
the docs showed me, that on my stack (Bamboo) this is not possible,
you need to have the Cedarstack.
This is something that you can find with some thinking-around-corners
Why I think it is like mentioned above:
These two in combination made me think that we need a Cedarstack to
use “heroku run rails ”. Since the Cedarstack is the only
one that supports the assetpipeline, I think we should consider the
change
It is a pitty that Cedar is not the default stack when creating new
apps…
HTH
Norbert