Error while trying angularjs with rails:undefined method `register_engine' for nil:NilClass (NoMethodError)
I had the same issue. It was a problem related with 'sprockets'. Try to install an older version adding gem 'sprockets', '2.12.3'
to your gem file and then update your gems by running bundle update
.It worked for me.