Last active
February 17, 2020 20:01
-
-
Save wesruv/cfc54c88a73314d6c3100c058d3a1146 to your computer and use it in GitHub Desktop.
Lando config for a Drupal 7 site with Compass Sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mydrupalprojectwithcompass | |
recipe: drupal7 | |
config: | |
webroot: docroot | |
php: '5.6' | |
database: mysql:5.7 | |
xdebug: true | |
events: | |
post-db-import: | |
- appserver: cd $LANDO_WEBROOT/sites/default && drush rr | |
services: | |
appserver: | |
build: | |
- "drush @none dl registry_rebuild-7.x -y" | |
ruby: | |
type: ruby:2.4 | |
install_dependencies_as_me: | |
- gem install compass | |
tooling: | |
# Sometimes dependencies won't get installed, if that's the case, run: | |
# lando gem install compass | |
gem: | |
service: ruby | |
ruby: | |
service: ruby | |
compass: | |
service: ruby |
Sorry I wasn't seeing these notifications!
I've had issues where my ruby deps didn't install and I'd have to manually install it after they were brought up... hoping this is something that can be addressed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This worked for me, thanks @wesruv!
@adamtyoung sounds like compass didn't install correctly in your container. If you attach to the container with
lando ssh -s ruby
then try to runcompass
does it say commandbash: compass: command not found
?You could
lando destory
(make sure you have any backups you need) andlando start
again, then check the build for errors.