Hi,
I am getting the below mentioned error for 5.0.6 version and Rails 5.1.4. I tried all the options available on Internet but still no luck.
Can you please help me what to do on this?
/home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:86:in rescue in block (2 levels) in require': There was an error while trying to load the gem 'sass-rails'. (Bundler::GemRequireError) Gem Load Error is: uninitialized constant Sass::Script Did you mean? ScriptError Backtrace for gem load error is: /home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass/rails/helpers.rb:12:in<top (required)>'
/home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass/rails.rb:8:in require' /home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass/rails.rb:8:in<top (required)>'
/home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass-rails.rb:1:in require' /home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass-rails.rb:1:in<top (required)>'
/home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:83:in require' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:83:inblock (2 levels) in require'
/home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:78:in each' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:78:inblock in require'
/home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:67:in each' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:67:inrequire'
/home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler.rb:114:in require' /home/harish/projects/employee/config/application.rb:17:in<top (required)>'
/home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:in require' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:inblock in perform'
/home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in tap' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:inperform'
/home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor/command.rb:27:in run' /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor/invocation.rb:126:ininvoke_command'
/home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor.rb:387:in dispatch' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/command/base.rb:63:inperform'
/home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/command.rb:44:in invoke' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands.rb:16:in<top (required)>'
bin/rails:4:in require' bin/rails:4:in'
Bundler Error Backtrace:
from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:82:in block (2 levels) in require' from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:78:ineach'
from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:78:in block in require' from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:67:ineach'
from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:67:in require' from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler.rb:114:inrequire'
from /home/harish/projects/employee/config/application.rb:17:in <top (required)>' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:inrequire'
from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:in block in perform' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:intap'
from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in perform' from /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor/command.rb:27:inrun'
from /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor/invocation.rb:126:in invoke_command' from /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor.rb:387:indispatch'
from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/command/base.rb:63:in perform' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/command.rb:44:ininvoke'
from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands.rb:16:in <top (required)>' from bin/rails:4:inrequire'
from bin/rails:4:in `'
Hi, I am getting the below mentioned error for 5.0.6 version and Rails 5.1.4. I tried all the options available on Internet but still no luck. Can you please help me what to do on this?
/home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:86:in'
Bundler Error Backtrace:
from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:82:in '
rescue in block (2 levels) in require': There was an error while trying to load the gem 'sass-rails'. (Bundler::GemRequireError) Gem Load Error is: uninitialized constant Sass::Script Did you mean? ScriptError Backtrace for gem load error is: /home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass/rails/helpers.rb:12:in
<top (required)>' /home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass/rails.rb:8:inrequire' /home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass/rails.rb:8:in
<top (required)>' /home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass-rails.rb:1:inrequire' /home/harish/.rvm/gems/ruby-2.4.1/gems/sass-rails-5.0.6/lib/sass-rails.rb:1:in
<top (required)>' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:83:inrequire' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:83:in
block (2 levels) in require' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:78:ineach' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:78:in
block in require' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:67:ineach' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:67:in
require' /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler.rb:114:inrequire' /home/harish/projects/employee/config/application.rb:17:in
<top (required)>' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:inrequire' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:in
block in perform' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:intap' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in
perform' /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor/command.rb:27:inrun' /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor/invocation.rb:126:in
invoke_command' /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor.rb:387:indispatch' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/command/base.rb:63:in
perform' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/command.rb:44:ininvoke' /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands.rb:16:in
<top (required)>' bin/rails:4:inrequire' bin/rails:4:in
block (2 levels) in require' from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:78:in
each' from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:78:inblock in require' from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:67:in
each' from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:67:inrequire' from /home/harish/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler.rb:114:in
require' from /home/harish/projects/employee/config/application.rb:17:in<top (required)>' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:in
require' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:inblock in perform' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in
tap' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:inperform' from /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor/command.rb:27:in
run' from /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor/invocation.rb:126:ininvoke_command' from /home/harish/.rvm/gems/ruby-2.4.1/gems/thor-0.20.0/lib/thor.rb:387:in
dispatch' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/command/base.rb:63:inperform' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/command.rb:44:in
invoke' from /home/harish/.rvm/gems/ruby-2.4.1/gems/railties-5.1.4/lib/rails/commands.rb:16:in<top (required)>' from bin/rails:4:in
require' from bin/rails:4:in `