I shift from ruby from 1.9.3 to 2.2.5. Then this error occur while
loading rails_admin gem.
full error trace is below
/home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:84:in rescue in block (2 levels) in require': There was an error while trying to load the gem 'rails_admin'. (Bundler::GemRequireError) Gem Load Error is: uninitialized constant Haml::Util::Sass Backtrace for gem load error is: /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/haml-3.1.8/lib/haml/util.rb:348:in
try_sass' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/haml-3.1.8/lib/sass/rails3_shim.rb:1:in <top (required)>' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/sass-3.5.3/lib/sass/root.rb:1:in
' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/sass-3.5.3/lib/sass/util.rb:11:in <top (required)>' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/sass-3.5.3/lib/sass/version.rb:2:in
' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/haml-3.1.8/lib/haml/util.rb:347:in try_sass' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/haml-3.1.8/lib/sass.rb:6:in
' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bootstrap-sass-2.3.2.2/lib/bootstrap-sass/sass_functions.rb:1:in <top (required)>' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bootstrap-sass-2.3.2.2/lib/bootstrap-sass.rb:10:in
load!' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bootstrap-sass-2.3.2.2/lib/bootstrap-sass.rb:51:in <top (required)>' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/rails_admin-0.0.5/lib/rails_admin/engine.rb:4:in
' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/rails_admin-0.0.5/lib/rails_admin.rb:1:in <top (required)>' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:81:in
require' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:81:in block (2 levels) in require' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:76:in
each' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:76:in block in require' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:65:in
each' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:65:in require' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler.rb:114:in
require' /home/kashif/rails/alisa/metnet/config/application.rb:7:in <top (required)>' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/railties-3.2.11/lib/rails/commands.rb:53:in
require' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/railties-3.2.11/lib/rails/commands.rb:53:in block in <top (required)>' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/railties-3.2.11/lib/rails/commands.rb:50:in
tap' /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/railties-3.2.11/lib/rails/commands.rb:50:in <top (required)>' script/rails:6:in
require' script/rails:6:in <main>' Bundler Error Backtrace: from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:80:in
block (2 levels) in require' from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:76:in each' from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:76:in
block in require' from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:65:in each' from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler/runtime.rb:65:in
require' from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/bundler-1.16.0/lib/bundler.rb:114:in require' from /home/kashif/rails/alisa/metnet/config/application.rb:7:in
' from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/railties-3.2.11/lib/rails/commands.rb:53:in require' from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/railties-3.2.11/lib/rails/commands.rb:53:in
block in ' from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/railties-3.2.11/lib/rails/commands.rb:50:in tap' from /home/kashif/.rvm/gems/ruby-2.2.5@metnet2/gems/railties-3.2.11/lib/rails/commands.rb:50:in
' from script/rails:6:in require' from script/rails:6:in
'
Any help?
Aucun commentaire:
Enregistrer un commentaire