Re: haml on heroku

2010-10-24 Thread Martin
all you need to do is this:

production.rb:
Sass::Plugin.options[:never_update] = true

martin


On Oct 22, 5:48 pm, Josh Coffman joshcoff...@gmail.com wrote:
 I was just finally trying haml and did a quick push up to heroku to make
 sure it worked. I think causing a problem with the read-only file system.
 Can anyone confirm, or know of a way to get haml working on heroku?

 This was the production log from the heroku command line:

 == production.log ==

 Started GET / for 72.208.78.46 at 2010-10-22 15:40:00 -0700

 Errno::EROFS (Read-only file system -
 /disk1/home/slugs/274925_92988c8_75a6-15f7f62e-5365-490a-9a8a-f6b735d4b340/ 
 mnt/public/stylesheets/ie.css
 - Heroku has a read-only filesystem.  
 Seehttp://docs.heroku.com/constraints#read-only-filesystem):

 Thanks,
 Josh

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: haml on heroku

2010-10-24 Thread arailsdemo
I'm using Haml/Sass/Compass. For me, I decided the Hassle gem wasn't
worth the hassle.

When you update your Sass files in development, Compass will create
the corresponding CSS files when you visit your site through your
development server. That way you don't need to have Compass trying to
compile things on Heroku. In your production configuration, just set
Compass to not compile. Otherwise, it you'll keep on getting that
Heroku error.

# production.rb
Mysite::Application.configure do
  Sass::Plugin.options[:never_update] = true
  ...
end



On Oct 22, 3:59 pm, Josh Coffman joshcoff...@gmail.com wrote:
 Yes, nice catch on reading that error. I meant to write compass not haml.
 Compass would be my sass compiler, which I assume I'll have to force
 pre-compile before deploying.

 Thanks.

 On Fri, Oct 22, 2010 at 3:52 PM, Wes Gamble we...@att.net wrote:
   That's Sass trying to compile a CSS file.

  You need to pre-process your Sass so that the CSS is emitted before you
  deploy.

  Whether or not you check in that CSS is up to you.

  W

  On 10/22/10 5:48 PM, Josh Coffman wrote:

  I was just finally trying haml and did a quick push up to heroku to make
  sure it worked. I think causing a problem with the read-only file system.
  Can anyone confirm, or know of a way to get haml working on heroku?

   This was the production log from the heroku command line:

   == production.log ==

   Started GET / for 72.208.78.46 at 2010-10-22 15:40:00 -0700

   Errno::EROFS (Read-only file system -
  /disk1/home/slugs/274925_92988c8_75a6-15f7f62e-5365-490a-9a8a-f6b735d4b340/mnt/public/stylesheets/ie.css
  - Heroku has a read-only filesystem.  See
 http://docs.heroku.com/constraints#read-only-filesystem):

   Thanks,
  Josh
  --
  You received this message because you are subscribed to the Google Groups
  Heroku group.
  To post to this group, send email to her...@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.

   --
  You received this message because you are subscribed to the Google Groups
  Heroku group.
  To post to this group, send email to her...@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



haml on heroku

2010-10-22 Thread Josh Coffman
I was just finally trying haml and did a quick push up to heroku to make
sure it worked. I think causing a problem with the read-only file system.
Can anyone confirm, or know of a way to get haml working on heroku?

This was the production log from the heroku command line:

== production.log ==


Started GET / for 72.208.78.46 at 2010-10-22 15:40:00 -0700

Errno::EROFS (Read-only file system -
/disk1/home/slugs/274925_92988c8_75a6-15f7f62e-5365-490a-9a8a-f6b735d4b340/mnt/public/stylesheets/ie.css
- Heroku has a read-only filesystem.  See
http://docs.heroku.com/constraints#read-only-filesystem):


Thanks,
Josh

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: haml on heroku

2010-10-22 Thread Wes Gamble

 That's Sass trying to compile a CSS file.

You need to pre-process your Sass so that the CSS is emitted before you 
deploy.


Whether or not you check in that CSS is up to you.

W

On 10/22/10 5:48 PM, Josh Coffman wrote:
I was just finally trying haml and did a quick push up to heroku to 
make sure it worked. I think causing a problem with the read-only file 
system. Can anyone confirm, or know of a way to get haml working on 
heroku?


This was the production log from the heroku command line:

== production.log ==


Started GET / for 72.208.78.46 at 2010-10-22 15:40:00 -0700

Errno::EROFS (Read-only file system - 
/disk1/home/slugs/274925_92988c8_75a6-15f7f62e-5365-490a-9a8a-f6b735d4b340/mnt/public/stylesheets/ie.css 
- Heroku has a read-only filesystem.  See 
http://docs.heroku.com/constraints#read-only-filesystem):



Thanks,
Josh
--
You received this message because you are subscribed to the Google 
Groups Heroku group.

To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.


--
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: haml on heroku

2010-10-22 Thread Josh Coffman
Yes, nice catch on reading that error. I meant to write compass not haml.
Compass would be my sass compiler, which I assume I'll have to force
pre-compile before deploying.

Thanks.


On Fri, Oct 22, 2010 at 3:52 PM, Wes Gamble we...@att.net wrote:

  That's Sass trying to compile a CSS file.

 You need to pre-process your Sass so that the CSS is emitted before you
 deploy.

 Whether or not you check in that CSS is up to you.

 W

 On 10/22/10 5:48 PM, Josh Coffman wrote:

 I was just finally trying haml and did a quick push up to heroku to make
 sure it worked. I think causing a problem with the read-only file system.
 Can anyone confirm, or know of a way to get haml working on heroku?

  This was the production log from the heroku command line:

  == production.log ==


  Started GET / for 72.208.78.46 at 2010-10-22 15:40:00 -0700

  Errno::EROFS (Read-only file system -
 /disk1/home/slugs/274925_92988c8_75a6-15f7f62e-5365-490a-9a8a-f6b735d4b340/mnt/public/stylesheets/ie.css
 - Heroku has a read-only filesystem.  See
 http://docs.heroku.com/constraints#read-only-filesystem):


  Thanks,
 Josh
 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.

  --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: haml on heroku

2010-10-22 Thread Daniel Spangenberg
Put maybe this in your Gemfile

gem hassle, :git = git://github.com/neonlex/hassle.git

Then it works fine.

Regards
Daniel

Am 23.10.2010 um 00:52 schrieb Wes Gamble:

 That's Sass trying to compile a CSS file.
 
 You need to pre-process your Sass so that the CSS is emitted before you 
 deploy.
 
 Whether or not you check in that CSS is up to you.
 
 W
 
 On 10/22/10 5:48 PM, Josh Coffman wrote:
 
 I was just finally trying haml and did a quick push up to heroku to make 
 sure it worked. I think causing a problem with the read-only file system. 
 Can anyone confirm, or know of a way to get haml working on heroku?
 
 This was the production log from the heroku command line:
 
 == production.log ==
 
 
 Started GET / for 72.208.78.46 at 2010-10-22 15:40:00 -0700
 
 Errno::EROFS (Read-only file system - 
 /disk1/home/slugs/274925_92988c8_75a6-15f7f62e-5365-490a-9a8a-f6b735d4b340/mnt/public/stylesheets/ie.css
  - Heroku has a read-only filesystem.  See 
 http://docs.heroku.com/constraints#read-only-filesystem):
 
 
 Thanks,
 Josh
 -- 
 You received this message because you are subscribed to the Google Groups 
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to 
 heroku+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/heroku?hl=en.
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to 
 heroku+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/heroku?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.