haml-rails on rails 4.0?

回眸只為那壹抹淺笑 提交于 2019-12-04 01:03:39

问题


I'm wondering if anyone has run into any snags with the haml-rails gem in Rails 4.0. There is a Rails Cast that says there were some problems but there is not much more mention of this. The gem hosted on GitHub also doesn't explicitly mention support for Rails 4.0. So what's the status on this?


回答1:


I'm using haml-rails (0.4) in a rails 4 project and everything is working




回答2:


Haml 4.0.4 have release to support rails 4 application. You can use haml-rails. Now, it doesn't have problem. Include gem package in gem file

gem 'haml-rails'

and bundle the project



来源:https://stackoverflow.com/questions/18485147/haml-rails-on-rails-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!