4

現在、私のブートストラップCSSバージョンはv2.3.2で、次のgemがあります

gem 'bootstrap-sass', '~> 2.3.2.1'

次の構成を使用してアップグレードしようとしました

gem 'bootstrap-sass', git: 'https://github.com/thomas-mcdonald/bootstrap-sass.git', branch: '3'

しかし、サーバーとすべてを再起動した後、バージョンは同じままでした

だから私は試しbundle exec rake convertました、多分それは問題を解決することができました

しかし、それは投げ続けました

Don't know how to build task 'convert'

それで、私のレールプロジェクトにブートストラップv3を実装する方法を知っている人はいますか??

4

3 に答える 3

2

As per the instructions at rubygems.org, you have to run this command to get the new gem. I assume this is because it is using release candidates.

$ gem install bootstrap-sass --pre

I don't know how you would do this in the Gemfile.

于 2013-10-30T06:56:29.677 に答える