This also applies to dev-ruby/haml-2.2.20 Due to structure of the haml gem the init.rb file is not installed into the filesystem. This causes haml --rails PATH to fail Reproducible: Always Steps to Reproduce: 1. emerge haml 2. haml --rails /home/xxx/yyy Actual Results: No such file or directory - /usr/lib64/ruby/gems/1.8/gems/haml-2.2.22/bin/../lib/haml/../../init.rb The init.rb file created in the vendor/plugins/haml/ directory of the rails project is empty Expected Results: Expected it to run without output, and the vendor/plugins/haml/init.rb should not be empty The actual place init.rb needs to be installed is /usr/lib(64)/ruby/gems/1.8/gems/haml-2.2.22/init.rb If the init.rb file is copied to that location from an unpacked haml it appears to function properly, This has been tested with Rails 2.3.5 including running the server with a haml file to ensure it is able to display it
Thanks for reporting, this should now be fixed in haml-2.2.22-r1.