Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using twitter bootstrap 3 with rails using bootstrap-sass gem

Right now my bootstrap css version is v2.3.2 with following gem

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

I tried to upgrade it by using following configuration

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

But after restarting the server and everything the version remained the same

So I tried bundle exec rake convert, maybe it could fix the problem

But it kept throwing

Don't know how to build task 'convert'

So does anyone have any idea how to implement bootstrap v3 into my rails project ??

like image 558
Amir Hoseinian Avatar asked Dec 16 '22 06:12

Amir Hoseinian


1 Answers

I had to run this command

rake tmp:clear

In order to clear the cache from bootstrap v2 files

like image 182
Amir Hoseinian Avatar answered Mar 23 '23 12:03

Amir Hoseinian