I installed the latest BOA-stable and after it RVM with Compass and SASS. According to the changelogs of BOA-2.0.4, I should be able to use Compass commands:

# Fixes:
Allow all standard compass/sass commands in limited shell.

As root, I am able to execute 'compass watch', but I am not with the limited shell (as user o1.ftp). It says:
sh: 1: compass: not found

Comments

omega8cc’s picture

Status: Active » Postponed (maintainer needs more info)

Please follow submission guidelines.

Anonymous’s picture

octopus_log.txt:

za jun 29 15:47:40 CEST 2013 / Debian.wheezy x86_64 / Aegir BOA-2.0.8 / Octopus
BOA-2.0.9 / FPM 5.3 / CLI 5.3

barracuda_log.txt

za jun 29 15:42:17 CEST 2013 / Debian.wheezy x86_64 XEN / Aegir BOA-2.0.8 / Barracuda BOA-2.0.9 / Nginx 1.5.1 / PHP 5.2.17 and 5.3.26 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.31 localhost / Wildcard YES
zo jun 30 13:55:52 CEST 2013 / Debian.wheezy x86_64 XEN / Aegir BOA-2.0.8 / Barracuda BOA-2.0.9 / Nginx 1.5.1 / PHP 5.2.17 and 5.3.26 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.31 localhost / Wildcard YES

.o1.octopus.cnf

###
### Configuration created on 130629-1542 with
### Octopus version BOA-2.0.9
###
### NOTE: the group of settings displayed bellow
### will *override* all listed settings in the Octopus script.
###
_USER="o1"
_MY_EMAIL="not@rele.vant"
_PLATFORMS_LIST="D7P D7S D7D D6P D6S D6D OAM"
_ALLOW_UNSUPPORTED=NO
_AUTOPILOT=YES
_HM_ONLY=NO
_O_CONTRIB_UP=NO
_DEBUG_MODE=NO
_MY_OWNIP=127.0.1.1
_FORCE_GIT_MIRROR=""
_THIS_DB_HOST=localhost
_DNS_SETUP_TEST=NO
_HOT_SAUCE=NO
_USE_CURRENT=YES
_REMOTE_CACHE_IP=127.0.0.1
_LOCAL_NETWORK_IP=127.0.1.1
_PHP_FPM_VERSION=5.3
_PHP_CLI_VERSION=5.3
_USE_STOCK=NO
_STRONG_PASSWORDS=NO
###
### NOTE: the group of settings displayed bellow will be *overriden*
### by config files stored in the /data/disk/o1/log/ directory,
### but only on upgrade.
###
_DOMAIN="o1.sub.aegir.local"
_CLIENT_EMAIL="not@rele.vant"
_CLIENT_OPTION="SSD"
_CLIENT_SUBSCR="Y"
_CLIENT_CORES="8"
###
### Configuration created on 130629-1542 with
### Octopus version BOA-2.0.9
###
omega8cc’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Thanks, but I can't reproduce this:

v182q:~# cat /var/log/barracuda_log.txt
Tue Jul  9 04:43:23 UTC 2013 / Debian.wheezy x86_64 VS / Aegir HEAD / Barracuda BOA-2.0.9-dev / Nginx 1.5.2 / PHP 5.2.17 and 5.3.26 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.31 localhost / Wildcard YES
v182q:~# su o1.ftp

         ======== Welcome to the Aegir and Drush shell ========
         Type '?' or 'help' to get the list of allowed commands
                   Your favorite command not allowed?
                     Contact us: support@omega8.cc

o1.ftp:~$ compass --version
Compass 0.12.2 (Alnilam)
Copyright (c) 2008-2013 Chris Eppstein
Released under the MIT License.
Compass is charityware.
Please make a tax deductable donation for a worthy cause: http://umdf.org/compass
o1.ftp:~$
Anonymous’s picture

In my situation it didn't work in combination with RVM. I needed to install it the normal way:

$ apt-get install ruby
$ apt-get install rubygems
$ gem update --system
$ gem install compass
omega8cc’s picture

By the way, you should simply add CSS on the _XTRAS_LIST and run barracuda upgrade. This is the only supported method to get compass installed and in the path for lshell user.

[EDIT] Of course, if you need tools like RVM, you are on your own, because it is beyond the scope of the BOA project, at least at this stage. Feel free to open a feature request, though.

~Greg

Fonkel’s picture

This is how it should work:
1. Install Ruby with rbenv: https://gist.github.com/jnx/1256593 (just one bash-script)
2. As mentioned in #5: Add CSS to the _XTRAS_LIST and run 'barracuda up-stable system'

Now it works!