Sinatra, Compass, Heroku and read-only filesystems

47 views
Skip to first unread message

stephen murdoch

unread,
Jul 25, 2010, 4:33:45 AM7/25/10
to Compass
I normally use compass with Rails, and I host everything on Heroku so
I've become accustomed to adding the following code to my compass.rb
initializer file as Heroku's file system is read-only

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

I've not got any such code in my Sinatra app, and I've not seen any
problems on the heroku side of things yet. Without that code, a rails
app on Heroku would throw up in your face every now and then but my
sinatra app has been ticking along quite nicely all evening.

Should I still be including a similar code in my sinatra apps if I
want to run them on Heroku, and if so, what would be the right code?

Thanks

Nathan Weizenbaum

unread,
Jul 25, 2010, 5:22:54 AM7/25/10
to compas...@googlegroups.com
See my link to Hassle in reply to your other email.


--
You received this message because you are subscribed to the Google Groups "Compass" group.
To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.


stephen murdoch

unread,
Jul 25, 2010, 6:34:14 AM7/25/10
to Compass
thanks, i got it all now. thanks very much - for anyone who doesn't
know, the other question is here:
http://groups.google.com/group/compass-users/browse_thread/thread/e5f3fe82436b704c

On Jul 25, 10:22 am, Nathan Weizenbaum <nex...@gmail.com> wrote:
> See my link to Hassle in reply to your other email.
>
> On Sun, Jul 25, 2010 at 1:33 AM, stephen murdoch <
>
> stephenjamesmurd...@gmail.com> wrote:
> > I normally use compass with Rails, and I host everything on Heroku so
> > I've become accustomed to adding the following code to my compass.rb
> > initializer file as Heroku's file system is read-only
>
> >    Sass::Plugin.options[:never_update] = true
>
> > I've not got any such code in my Sinatra app, and I've not seen any
> > problems on the heroku side of things yet.  Without that code, a rails
> > app on Heroku would throw up in your face every now and then but my
> > sinatra app has been ticking along quite nicely all evening.
>
> > Should I still be including a similar code in my sinatra apps if I
> > want to run them on Heroku, and if so, what would be the right code?
>
> > Thanks
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Compass" group.
> > To post to this group, send email to compas...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > compass-user...@googlegroups.com<compass-users%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages