1

I am trying to deploy symfony 2 application on Elastic Beanstalk. For assetic to work I need sass and compass installed. I created a provisioning script:

packages:
   rubygems:
       sass: '3.4.9'
       compass: '1.0.3'

It works, since in the logs I get:

2015-01-21 10:07:03,800 [DEBUG] Checking to see if sass-3.4.9 is already installed
2015-01-21 10:07:04,079 [INFO] sass-3.4.9 is already installed, skipping.
2015-01-21 10:07:04,080 [DEBUG] Checking to see if compass-1.0.3 is already installed
2015-01-21 10:07:04,363 [INFO] compass-1.0.3 is already installed, skipping.

When I ssh into the EC2 instance however, I cannot run neither (which says they are not installed, so does gem --list). Any idea how to hande this?

1
  • Have you tried switching user to root (# sudo su) and trying to run your commands? Commented Jan 21, 2015 at 13:15

1 Answer 1

3

Thanks for the suggestion George! It didn't help, but it turned out the files were located in /opt/elasticbeanstalk/lib/ruby/bin/ (with a different ruby version then system default). I simply created symlink in /usr/bin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.