Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
when trying to update to version 3.
when trying to update to version 3.
Comments
Comment #1
tsi CreditAttribution: tsi commentedFrom the project page -
Here a few pointers because you're not the first to try this -
When trying to update Sasson from v2.x to v3.x you should :
@include linear-gradient(color-stops(#fefefe , #eaeaea), top);
should become@include background(linear-gradient(top, #fefefe , #eaeaea));
. Check Compass documentation for more info.If you still get errors, please open an issue with the full error message or at least with the exception itself (it may be more readable when you "view source").
Most important - keep in mind that v3.x is currently a development branch, though it is very much functional and we are using it daily, some changes may still happen before it hits a stable release.
Comment #2
hagit CreditAttribution: hagit commentedIts a clean fresh install. I have downloaded sasson v.2, and then replaced the sasson directory files with version 3 files. Its on my localhost. Do I have to install compass ? isn't it built-in?
The error message refferes to assetic, as you said. (linux envirenment)
"Assetic\Exception\FilterException: An error occurred while running...."
Clearing the cache didn't solve the problem.
It seem to me that I should return to the stable version
Comment #3
tsi CreditAttribution: tsi commentedWell, the 3.x version of Sasson is awesome already, but it is still a dev branch. if you prefer a stable version, go with 2.x (as I said, we'll try to backport all important updates from v3.x to v2.x).
On the other hand, getting it to work on linux should be very very easy:
Comment #4
hagit CreditAttribution: hagit commentedThank you very much, that solved the problem.
But I cann't understand how the v.2 worked without installing compass..
Comment #5
tsi CreditAttribution: tsi commentedSimple, v2 had a Sass compiler written in php built-in, it was great but not perfect. meanwhile, the original ruby compiler is being improved by a big community of developers while the php compiler was left behind.
The nice thing about including assetic, is that it is a bridge between Sasson and any compiler (not only CSS compilers, even for compiling coffeeScript to js, or for compressing images - it is very powerful) so we can, theoretically, implement other compilers as well (like scssphp which already has an assetic filter).
Comment #6
druvision CreditAttribution: druvision commentedI've installed ruby successfully but
gem install
gives 'command not found'.even did
apt-get install gem -y
- something got installed but I am still getting 'command not found' when I try to install compass (gem install compass
). This is an Ubuntu server.Comment #7
mxmilkiib CreditAttribution: mxmilkiib commentedIs rubygems also installed successfully and the path configured? Ubuntu guide.
Comment #8
tsi CreditAttribution: tsi commentedCleaning up