Rails 5中的Sass错误活动管理员

时间:2016-12-01 20:46:22

标签: ruby-on-rails ruby sass activeadmin

我试图运行我的服务器,但我总是有同样的错误...我找不到解决方案。我在github中搜索并在谷歌上没有任何工作...

你有什么想法吗?

Course

我的宝石文件

rails s
/home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:94: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
Backtrace for gem load error is:
/home/nicolas/.gem/ruby/2.3.0/gems/sass-rails-5.0.6/lib/sass/rails/helpers.rb:12:in `<top (required)>'
/home/nicolas/.gem/ruby/2.3.0/gems/sass-rails-5.0.6/lib/sass/rails.rb:8:in `<top (required)>'
/home/nicolas/.gem/ruby/2.3.0/gems/sass-rails-5.0.6/lib/sass-rails.rb:1:in `<top (required)>'
/home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in `require'
/home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in `block (2 levels) in require'
/home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in `each'
/home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in `block in require'
/home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in `each'
/home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in `require'
/home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler.rb:106:in `require'
/home/nicolas/Bureau/rails/site/campsite/config/application.rb:7:in `<top (required)>'
/home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:88:in `require'
/home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:88:in `block in server'
/home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap'
/home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `server'
/home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
/home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Bundler Error Backtrace:
    from /home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:90:in `block (2 levels) in require'
    from /home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in `each'
    from /home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in `block in require'
    from /home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in `each'
    from /home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in `require'
    from /home/nicolas/.gem/ruby/2.3.0/gems/bundler-1.13.6/lib/bundler.rb:106:in `require'
    from /home/nicolas/Bureau/rails/site/campsite/config/application.rb:7:in `<top (required)>'
    from /home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:88:in `require'
    from /home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:88:in `block in server'
    from /home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap'
    from /home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:85:in `server'
    from /home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
    from /home/nicolas/.gem/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
    from bin/rails:4:in `require'
    from bin/rails:4:in `<main>'

如果您需要更多详细信息,我可以粘贴其他文件。请问我;)

EDIT 要点链接Here

0 个答案:

没有答案