新手问题 github 上 ruby-china 代码为什么找不到样式文件啊?

wooisland · 2012年08月17日 · 最后由 wooisland 回复于 2012年08月17日 · 2587 次阅读

下载 github 上 ruby-china 的源码学习。启动 server 之后不知道为什么只能看到苍白的 html,没有任何的样式设置。貌似是 bootstrap 的文件 css 和 js 找不到。不知道这个需要做其他设置不?谢谢!

Bootstrap 的文件是在 Gem 里的 bootstrap-rails 这个里面

多谢华顺,我检查一下 Gemfile 里面和 rvm 下的 gems 里面 bootstrap 都在。是不是我这边的环境问题啊?Rails 3.2.7 , ruby 1.9.3.p194

Gemfile: anjlab-bootstrap-rails (2.0.3.2) railties (>= 3.0) sass api_taster (0.5.0) bootstrap-sass (~> 2.0.3) jquery-rails rails (>= 3.1.0) redcarpet sass-rails arel (3.0.2) bcrypt-ruby (3.0.1) blankslate (2.1.2.4) bootstrap-sass (2.0.4.0) bootstrap-will_paginate (0.0.3) will_paginate bootstrap_helper (1.4.1) railties (~> 3.0) thor (~> 0.14)

gems: anjlab-bootstrap-rails-2.0.3.2 bootstrap-sass-2.0.3.1 bootstrap-sass-2.0.4.0 bootstrap-will_paginate-0.0.3 bootstrap_helper-1.4.1 twitter-bootstrap-rails-2.1.1

需要 登录 后方可回复, 如果你还没有账号请 注册新账号