3
如果:assets
組中的寶石未包含在生產環境中(根據this article),那麼默認情況下爲什麼coffee-rails
組在:assets
組中?我應該在哪裏放置我的其他*-rails
寶石?爲什麼'assets-rails'在:assets組中'jquery-rails'位於新的Rails項目的Gemfile中的default組中:
如果:assets
組中的寶石未包含在生產環境中(根據this article),那麼默認情況下爲什麼coffee-rails
組在:assets
組中?我應該在哪裏放置我的其他*-rails
寶石?爲什麼'assets-rails'在:assets組中'jquery-rails'位於新的Rails項目的Gemfile中的default組中:
在生產coffeeScripts將被預編譯,所以沒有必要包括寶石爲production environment
如果要包括生產的寶石,你應該讓另一組
group:production do
gem 'mysql'
gem 'sinatra'
end
,讓打捆如上所述安裝該組here
當然。謝謝。 –
如何jquery欄(這是問題的標題,但不是在身體) – lulalala