我从rails3分支安装了一个新版本的CE。 每件事都很好,但主题。
我确实已将“斑驳”主题下载到“ROOT / themes”文件夹中。 然后将这行“theme:dappled”添加到“application.yml”文件中。
从“views / layouts”文件夹中删除默认的“application.html.rb”文件,从“public”文件夹中删除“index.html”文件。
但仍然没有主题加载!!
顺便说一句,我在终端日志中收到此错误:
Started GET "/javascripts/community_engine.js" for 127.0.0.1 at 2011-07-25 17:46:37 +0300
ActionController::RoutingError (No route matches [GET] "/javascripts/community_engine.js"):
Rendered /Users/walidov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
Started GET "/stylesheets/community_engine.css" for 127.0.0.1 at 2011-07-25 17:46:37 +0300
ActionController::RoutingError (No route matches [GET] "/stylesheets/community_engine.css"):
Rendered /Users/walidov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
Started GET "/images/spinner.gif" for 127.0.0.1 at 2011-07-25 17:46:37 +0300
ActionController::RoutingError (No route matches [GET] "/images/spinner.gif"):
Rendered /Users/walidov/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
我在“routes.rb”文件中添加了“mount CommunityEngine :: Engine =>”/“”这一行
任何帮助?