Unicorn 无法使用 Railtie.rb:39: 未初始化常量 Sass::Rails::SassTemplate (NameError) 开始生产
从 Rails 3.0.10 迁移到 3.1.3 后,我在生产服务器上收到此错误(在开发应用程序中工作正常): 我
railtie.rb:39: uninitialized constant Sass::Rails::SassTemplate (NameError)
在 unicorn.stderr.log 中
有我的 Gemfile
gem 'rails', '3.1.3'
gem 'activeadmin'
gem 'acts_as_indexed'
gem 'ancestry'
gem 'awesome_nested_set'
gem 'capistrano'
gem 'cocoon'
gem 'coffee-rails', '~> 3.1.0'
gem 'dragonfly'
gem 'execjs'
gem 'haml'
gem 'has_unique_slug'
gem 'hipchat'
gem 'jquery-rails'
gem 'json'
gem 'kaminari'
gem 'meta-tags', :require => 'meta_tags'
gem 'meta_search', '>= 1.1.0.pre'
gem 'mysql2'
gem 'nokogiri'
gem 'rack-cache', :require => 'rack/cache'
gem 'rack-rewrite'
gem 'russian'
gem 'sass-rails', ' ~> 3.1.0'
gem 'sorcery', :git => 'https://github.com/NoamB/sorcery.git'
gem 'sqlite3'
gem 'squeel'
gem 'therubyracer'
gem 'time_diff'
gem 'uglifier'
gem 'unicorn'
gem 'yaml_db'
任何帮助表示赞赏!我的网站现在已关闭!
After migrating from Rails 3.0.10 to 3.1.3 i get this error on my production server (in development app works ok):
I have
railtie.rb:39: uninitialized constant Sass::Rails::SassTemplate (NameError)
in unicorn.stderr.log
There is my Gemfile
gem 'rails', '3.1.3'
gem 'activeadmin'
gem 'acts_as_indexed'
gem 'ancestry'
gem 'awesome_nested_set'
gem 'capistrano'
gem 'cocoon'
gem 'coffee-rails', '~> 3.1.0'
gem 'dragonfly'
gem 'execjs'
gem 'haml'
gem 'has_unique_slug'
gem 'hipchat'
gem 'jquery-rails'
gem 'json'
gem 'kaminari'
gem 'meta-tags', :require => 'meta_tags'
gem 'meta_search', '>= 1.1.0.pre'
gem 'mysql2'
gem 'nokogiri'
gem 'rack-cache', :require => 'rack/cache'
gem 'rack-rewrite'
gem 'russian'
gem 'sass-rails', ' ~> 3.1.0'
gem 'sorcery', :git => 'https://github.com/NoamB/sorcery.git'
gem 'sqlite3'
gem 'squeel'
gem 'therubyracer'
gem 'time_diff'
gem 'uglifier'
gem 'unicorn'
gem 'yaml_db'
Any help is appreciated! My site is down now!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论