amazon web services - Install package globally with Elastic Beanstalk -
i'm deploying app using elastic beanstalk , part of app has grunt task runs "sass", have sass being installed being installed locally , isn't part of path
, grunt task fails.
i attempted adding command
beanstalk config sudo gem install sass
fails command failed on instance. return code: 1 output: sudo: sorry, must have tty run sudo.
what best way sass path? there didn't seem easy way update path / set .bashrc elastic beanstalk
using ebextensions commands way go. don't need sudo, commands run necessary privileges.
also looks using node solution stack (since mentioned grunt). there may multiple versions of ruby on instance. want sure use right gem binary dependencies installed in right location.
there ruby installed in /usr/bin
, 1 in /opt/elasticbeanstalk/lib
. latter used elastic beanstalk not want. want run gem binary under /usr/bin
.
Comments
Post a Comment