Re: Sprockets

2009-03-13 Thread Kris S

that makes sens, and works nicely. Thanks

On Mar 12, 10:49 pm, Adam Wiggins a...@heroku.com wrote:
 On Thu, Mar 12, 2009 at 1:08 PM, Kris S forward.f...@gmail.com wrote:
  Is it possible to use sprockets with in an app on heroku?  It writes
  out a js file, and for this reason I am not sure if its permitted or
  not.

 You'll need to compile the sprockets and commit the file to the
 repository for this to work - the rake task won't work on Heroku,
 because of the read-only filesystem.  This is the same deal as Sass
 files - anything that needs to be compiled must be done beforehand.

 Max had an interesting idea for how we could do this during the slug
 compile:http://groups.google.com/group/heroku/msg/df0aadd4307beb08
 But we're still pondering whether this will be feasible, so in the
 meantime keep the compiled files in your repo.

 Adam
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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: Sprockets

2009-03-12 Thread Adam Wiggins

On Thu, Mar 12, 2009 at 1:08 PM, Kris S forward.f...@gmail.com wrote:
 Is it possible to use sprockets with in an app on heroku?  It writes
 out a js file, and for this reason I am not sure if its permitted or
 not.

You'll need to compile the sprockets and commit the file to the
repository for this to work - the rake task won't work on Heroku,
because of the read-only filesystem.  This is the same deal as Sass
files - anything that needs to be compiled must be done beforehand.

Max had an interesting idea for how we could do this during the slug
compile: http://groups.google.com/group/heroku/msg/df0aadd4307beb08
But we're still pondering whether this will be feasible, so in the
meantime keep the compiled files in your repo.

Adam

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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
-~--~~~~--~~--~--~---