When loading a webpage, I get the following error released by Phusion:
There was an error while trying to load the gem 'compass-rails'.
Gem Load Error is: undefined method `has?' for Sass::Util:Module
Did you mean? hash
Hash
Backtrace for gem load error is:
/Volumes/Data/htdocs/zetcho/vendor/bundle/gems/compass-0.12.2/lib/compass/sass_extensions/functions/urls.rb:5:in `has?'
Code in the specified location:
module Compass::SassExtensions::Functions::Urls
def self.has?(base, instance_method)
Sass::Util.has?(:instance_method, base, instance_method)
end
My gem file contains:
gem 'rails', '~> 5.1.2'
gem 'mysql2', '~> 0.3.18'
gem 'sass-rails', '~> 5.0'
gem 'compass-rails'
gem "sprockets"
gem 'susy'
I just created a Ruby on Rails website using Rails 5.1.2 and ruby โโ2.3.1. I have a much older site that works fine with gemstone. Am I missing a step in the general installation or is it a compass rails error?
I have the same error when I tried to add a controller:
rails generate controller home index
source
share