rstacruz / sinatra-assetpack

Package your assets transparently in Sinatra.
http://ricostacruz.com/sinatra-assetpack/
MIT License
542 stars 96 forks source link

Tilt_formats function error #198

Open Rdbaker opened 9 years ago

Rdbaker commented 9 years ago

I started using this gem for a project and kept getting an error on this line. I noticed that it mentioned it should be removed once this pull request was merged, which it was, almost two years ago. Once I dove into the source and made the function essentially a no-op, the problem went away. Should the function be refactored and/or removed?

MaxPleaner commented 8 years ago

the issue is a change in Sinatra, Tilt.mappings no longer exists.

See https://github.com/rstacruz/sinatra-assetpack/pull/201 for how it can be patched to work with newer Sinatra version

j15e commented 8 years ago

This repository is not maintained anymore. Try an other gem for assets with Sinatra based on the popular Sprocket engine (used by rails) :

https://github.com/kalasjocke/sinatra-asset-pipeline https://github.com/petebrowne/sprockets-helpers

MaxPleaner commented 8 years ago

Well it does work okay still. Thanks fwiw

On Aug 21, 2016 7:15 PM, "Jean-Philippe Doyle" notifications@github.com wrote:

This repository is not maintained anymore. Try an other gem for assets with Sinatra based on the popular Sprocket engine (used by rails) :

https://github.com/kalasjocke/sinatra-asset-pipeline https://github.com/petebrowne/sprockets-helpers

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rstacruz/sinatra-assetpack/issues/198#issuecomment-241300895, or mute the thread https://github.com/notifications/unsubscribe-auth/AEzWxxiE4q7xuDTHrEqgnZGGJrcSXdEfks5qiQZJgaJpZM4FNoIO .