Re: [nesta] Nesta and compass integration
- From:
- Abel Rios
- Date:
- 2011-06-15 @ 15:00
Hi Hector,
Here's a gist that shows you a basic setup: https://gist.github.com/1027287.
Of course, it assumes you have a theme set up, and are using Graham's
NestaCMS theme. Hope this helps, and gives you some idea on how to get it to
run.
Thanks,
Abel
On Tue, Jun 14, 2011 at 11:24 PM, hectorsq <mail@hectorsq.com> wrote:
> Hi,
>
> I am trying to use compass http://compass-style.org/ in a nesta project.
>
> I have installed the gem, added to Gemfile and added the line require
> 'compass' in config.ru
>
> I have also copied the sass files from an empty compass project to my
> nesta views folder and compass config.rb file to my nesta main folder.
>
> When I run my site I get the following error:
>
> Sass::SyntaxError: File to import not found or unreadable: blueprint.
> Load path: .
>
> I know this is a problem related to compass however I am wondering if
> someone has succeeded integrating nesta and compass.
>
> Regards,
> Hector Sansores
>
Re: [nesta] Nesta and compass integration
- From:
- hectorsq
- Date:
- 2011-06-17 @ 02:31
Abel,
I appreciate a lot your help. It worked great even though I am not
using Graham's theme.
My code had two problems, I was not using a theme and I forgot to use
the routing section in app.rb.
Following your advice and the code in your gist solved everything in a
very elegant way.
Thank you,
Hector Sansores
Re: [nesta] Nesta and compass integration
- From:
- Abel Rios
- Date:
- 2011-06-17 @ 02:34
That is great news. I'm glad I could help.
- Abel
On Jun 16, 2011, at 9:32 PM, hectorsq <mail@hectorsq.com> wrote:
> Abel,
>
> I appreciate a lot your help. It worked great even though I am not
> using Graham's theme.
>
> My code had two problems, I was not using a theme and I forgot to use
> the routing section in app.rb.
>
> Following your advice and the code in your gist solved everything in a
> very elegant way.
>
> Thank you,
> Hector Sansores
Re: [nesta] Nesta and compass integration
- From:
- Wynn Netherland
- Date:
- 2011-06-15 @ 12:49
Hi, Hector,
Can you share what version of Compass you're using?
For what it's worth, I use Compass with Nesta quite a lot, but I opt
for the Compass command line interface with `compass watch` instead of
integrating with Nesta. I create a Compass project directly in my
custom nesta theme and just run the command line from the theme root.
The added benefit is I don't have to mess with Heroku's readonly file
system because I deploy my CSS statically.
---
Wynn Netherland
Author: Sass and Compass in Action http://wynn.fm/sass-meap
web: http://wynn.fm
twitter / skype / facebook: pengwynn
linkedin: http://linkedin.com/in/netherland
On Tue, Jun 14, 2011 at 11:24 PM, hectorsq <mail@hectorsq.com> wrote:
> Hi,
>
> I am trying to use compass http://compass-style.org/ in a nesta project.
>
> I have installed the gem, added to Gemfile and added the line require
> 'compass' in config.ru
>
> I have also copied the sass files from an empty compass project to my
> nesta views folder and compass config.rb file to my nesta main folder.
>
> When I run my site I get the following error:
>
> Sass::SyntaxError: File to import not found or unreadable: blueprint.
> Load path: .
>
> I know this is a problem related to compass however I am wondering if
> someone has succeeded integrating nesta and compass.
>
> Regards,
> Hector Sansores
>
Re: [nesta] Nesta and compass integration
- From:
- hectorsq
- Date:
- 2011-06-17 @ 02:26
Wynn,
I have used the same approach before, however since nesta solves the
readonly file system limitation, I was looking for a tighter
integration with compass.
Abel's solution in this thread works great.
By the way, I bought your book today. I read the free chapter a week
ago and it helped me understand better the relation between sass and
compass.
I am eager to read tonight the available chapters. Keep going!
Regards,
Hector Sansores
Re: [nesta] Nesta and compass integration
- From:
- Wynn Netherland
- Date:
- 2011-06-17 @ 13:14
Thanks, Hector! We're working on it. :-)
On Thu, Jun 16, 2011 at 9:26 PM, hectorsq <mail@hectorsq.com> wrote:
> Wynn,
>
> I have used the same approach before, however since nesta solves the
> readonly file system limitation, I was looking for a tighter
> integration with compass.
>
> Abel's solution in this thread works great.
>
> By the way, I bought your book today. I read the free chapter a week
> ago and it helped me understand better the relation between sass and
> compass.
>
> I am eager to read tonight the available chapters. Keep going!
>
> Regards,
> Hector Sansores
>