Q:

HAML error in Rails Application

I'm trying to execute the following command:
 rake db:seed RAILS_ENV=development

But its resulting in some nasty errors, which I think, are related to the haml gem:
   rake aborted! 
NameError: undefined method `precompiled_method_return_value' for class `Haml::Compiler'
/vagrant/b2c/config/environment.rb:12:in `<top (required)>'
/home/vagrant/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/home/vagrant/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:abort_if_pending_migrations => environment
(See full trace by running task with --trace)

I'm running this on a VM with vagrant and VirtualBox.  Any ideas what could be causing this error?  Please help.  

A:

Just in case anyone else has this problem: i solved it by setting up an other virtual machine.  The box, that was causing the problem, was a precise64 (Ubuntu Version 14.04).  Now i am using the bento/ubuntu 16.04 box and it all works fine. 
Hope it helps anyone !