我正在学习铁轨。我从https://github.com/diaspora/diaspora下载了代码,但它无法运行。这是错误代码:
/home/a1/.rvm/rubies/ruby-2.1.7/web/diaspora/config/environments/development.rb:42:in `block in <top (required)>': uninitialized constant TurboDevAssets (NameError)
from /home/a1/.rvm/gems/ruby-2.1.7/gems/railties-4.2.6/lib/rails/railtie.rb:210:in `instance_eval'
from /home/a1/.rvm/gems/ruby-2.1.7/gems/railties-4.2.6/lib/rails/railtie.rb:210:in `configure'
from /home/a1/.rvm/gems/ruby-2.1.7/gems/railties-4.2.6/lib/rails/railtie.rb:182:in `configure'
from /home/a1/.rvm/rubies/ruby-2.1.7/web/diaspora/config/environments/development.rb:1:in `<top (required)>'
config/environments/development.rb是:
Diaspora::Application.configure do
[...]
# Speed up asset serving
config.middleware.insert 0, TurboDevAssets
end
如何解决问题?