相关疑难解决方法(0)

警告.保存缓存时遇到错误...无法转储匿名类

当使用capistrano部署app时,在production.log中会出现错误.

Compiled signup.css  (30ms)  (pid 31797)
Warning. Error encountered while saving cache /home/deployer/apps/example.com/releases/20140315211501/tmp/cache/sass/c76a96d592cb37dc7092a4e2f10ad8d3d22bcc8b/user_sessions.css.scssc: can't dump anonymous class #<Class:0x0000000356d120>

Compiled user_sessions/user_sessions.css  (16ms)  (pid 31797)
Compiled user_sessions.css  (20ms)  (pid 31797)
Warning. Error encountered while saving cache /home/deployer/apps/example.com/releases/20140315211501/tmp/cache/sass/a59f84087c66a48b1521281da138ce9e3ed4c217/welcome.css.scssc: can't dump anonymous class #<Class:0x0000000356d120>
Run Code Online (Sandbox Code Playgroud)

这是我正在使用的Gemfile.lock.

GIT
  remote: git://github.com/tomazzlender/letter_opener.git
  revision: 29b17fefe87b8fdc7ead987dbfabe355b59ff684
  specs:
    letter_opener (0.0.2)
      launchy

GIT
  remote: git://github.com/tomazzlender/premailer.git
  revision: 88af5e6f60ac78ef1d70d6f0a6f4b7612d2c5f7a
  specs:
    premailer (1.7.3)
      css_parser (>= 1.1.9)
      htmlentities (>= 4.0.0)

GIT
  remote: git://github.com/tomazzlender/snapshot.git
  revision: 0f0f3fd024bf5a3a846e999b845803ae61d870c0
  specs:
    snapshot (1.1.0)

GIT
  remote: https://github.com/37signals/mail_view.git
  revision: c8cc1315026ce85973ef56e628ac2e38a7a95563
  specs:
    mail_view (1.0.1) …
Run Code Online (Sandbox Code Playgroud)

ruby-on-rails sass ruby-on-rails-3.1

12
推荐指数
1
解决办法
6483
查看次数

标签 统计

ruby-on-rails ×1

ruby-on-rails-3.1 ×1

sass ×1