【问题标题】:What version of twitter bootstrap is supported by the twitter-bootstrap gemtwitter-bootstrap gem 支持什么版本的 twitter bootstrap
【发布时间】:2013-03-22 14:37:05
【问题描述】:

http://rubygems.org/gems/twitter-bootstrap-rails

twitter-bootstrap gem 的当前版本是 2.2.6,我如何找到这个 gem 支持的 twitter bootstrap 版本。可从http://twitter.github.com/bootstrap/ 下载的 twitter bootstrap 版本为 v2.3.1。

这两者之间有关联吗?

【问题讨论】:

    标签: ruby-on-rails twitter-bootstrap twitter-bootstrap-rails


    【解决方案1】:

    根据the changelog,它使用 Twitter Bootstrap 2.3.1 版。

    gem 的版本号和 Twitter Bootstrap 的版本之间没有明显的关系:

    ...
    Released gem v.2.1.5 (minor fixes, install generator detects javascript template engine, updated to Twitter Bootstrap 2.2.1)
    Released gem v.2.1.6 (minor fixes)
    Added static stylesheets support
    Released gem v.2.1.8 and updated to Twitter Bootstrap 2.2.2
    Released gem v.2.1.9
    Released gem v.2.2.0 (Font Awesome 3)
    Released gem v.2.2.1 (minor fixes and updates)
    Released gem v.2.2.2 (Bootstrap 2.3.0)
    ...
    Released gem v.2.2.5 (Bootstrap 2.3.1)
    

    【讨论】:

      【解决方案2】:

      twitter-bootstrap-rails gem 的替代方法是bootstrap-sass - 虽然它使用 SASS 而不是 LESS,但它确实使用自己的版本号跟踪引导版本(请参阅 README.md 中关于版本控制的注释)。

      bootstrap-sass 目前也使用 2.3.1 版本。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2013-08-14
        • 2013-01-13
        • 1970-01-01
        • 1970-01-01
        • 2014-01-04
        • 1970-01-01
        • 1970-01-01
        • 2013-09-24
        相关资源
        最近更新 更多