Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Couldn't find file 'twitter/bootstrap' (ROR)

Here is the link https://github.com/Gtar69/games

I got a problem enter image description here

I had done with procured as below

In Gemfile:

gem "bootstrap-sass"

In terminal

bundle install

In app/assets/stylesheets/application.css

*= require bootstrap

But the local server still can not show bootstrap formation because it said it can not find bootstrap...

Thanks for help~

like image 286
CWC Avatar asked Dec 07 '22 00:12

CWC


1 Answers

Follow the below steps:

  1. Rename the file "application.css" to "application.css.scss".
  2. Remove all the contents and only keep the line @import "bootstrap"; in this file.
  3. Run the server using "rails s" and check to see if things are working for login form.

In-case of problems, comment.

enter image description here

like image 50
TarunJadhwani Avatar answered Dec 25 '22 23:12

TarunJadhwani