Using twitter bootstrap 3 with rails using bootstrap sass pearl

Now my version of bootstrap css is v2.3.2 with the following gem

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

I tried updating it using the following configuration

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

But after rebooting the server and the whole version remained

So I tried bundle exec rake convert , maybe this could solve the problem

But he kept throwing

 Don't know how to build task 'convert' 

And does anyone know how to implement bootstrap v3 in my rails project?

+4
source share
3 answers

I had to run this command

 rake tmp:clear 

To clear bootstrap v2 files cache

+10
source

Following the instructions on rubygems.org, you must run this command to get a new gem. I assume this is due to the fact that he uses release candidates.

 $ gem install bootstrap-sass --pre 

I do not know how you will do this in the Gemfile.

+2
source

The gitub bootstrap-sass page is not so clear. You do not need to perform the conversion task if you are not working or developing the stone itself. You just need to follow the bootstrap-sass rails instructions

0
source

All Articles