Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deployment on a box w/o ruby #2

Open
mikermcneil opened this issue Jun 16, 2014 · 12 comments
Open

deployment on a box w/o ruby #2

mikermcneil opened this issue Jun 16, 2014 · 12 comments

Comments

@mikermcneil
Copy link

just making a reminder note here for myself relevant to the discussion between @lukeheath and I-- I'll come back to this when I have time

@loicsaintroch
Copy link

@mikermcneil
Copy link
Author

The issue is that sass requires ruby, and many PaaS hosting services provide Node or Ruby, but not both

@mikermcneil
Copy link
Author

@loicsaintroch ah nvm! Just saw what you mean. So that one uses c++

@hugocaillard
Copy link

@mikermcneil It basically uses https://github.com/sass/node-sass.

@lukeheath
Copy link

Gave grunt-sass a try a few weeks ago, but ran into issues with Compass transforms & transitions: gruntjs/grunt-contrib-compass#170. Issue was closed but never updated, so I'm not sure if this was resolved or not, or if the issues were isolated to specific configurations.

@mikermcneil
Copy link
Author

@lukeheath was this just w/ the compass bit, or was it a specific thing with node-sass? If it's the latter, I think we could just go w/ that and make an official recommendation to use node-sass. Then eventually, set it up as a flag in the frontend generator (defaults to LESS, but you can pass in --sass to generate SASS tasks instead)

Post v0.10, I'd like to take a pass at getting an officially recommended gulp generator together as well-- the frontend generator would need to call out to a gulp-task or grunt-task generator instead of bundling the grunt tasks itself

@lukeheath
Copy link

@mikermcneil Yeah was just some compass funkiness, node-sass looks dope. ⛵

@coagmano
Copy link

Less cross-language dependencies would be ace!

@niallobrien
Copy link

Can we use libsass yet?

@coagmano
Copy link

@niallobrien You sure can,
just replace grunt-contrib-sass with grunt-sass and everything works just fine.
so in package.json and tasks/config/sass.js

@coagmano
Copy link

I made a fork of this repo with instructions for grunt-sass / libsass
https://github.com/coagmano/using-sass

@niallobrien
Copy link

Thanks @coagmano - that worked perfectly. :)
Future Googlers, just remember to include the stylesheet.
Jade: link(type='text/css', href='/styles/importer.css', rel='stylesheet')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants