私はrails.Iがhttps://github.com/diaspora/diasporaからコードをダウンロード学んでいるが、それはエラーコードrun.Itだことはできません。名エラー、初期化されていない一定のTurboDevAssets(NameError)
/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)>'
設定/環境/開発。 rbは
Diaspora::Application.configure do
....
# Speed up asset serving
config.middleware.insert 0, TurboDevAssets
end
どのように問題を解決しますか?
。既に「開発」セクションにあるはずですが、ロードされていない場合は、セクションを実行するか、すべての条件の外に移動して強制的にロードしてください。 次に、コマンドを再実行します。RAILS_ENV =開発bin/bundle install --jobs $(nproc)--deployment --with-test --with postgresql – Kaleb