R
R
rootssl2016-12-30 20:06:57
Ruby on Rails
rootssl, 2016-12-30 20:06:57

How is the bootstrap template connected with all folders in rails?

You can help to understand the basics: here or via skype.
How to connect this template https://almsaeedstudio.com to a rail application?
My whole problem is that when I go into the browser - it seems like everything is displayed in a better way (well, or some part of the template "but the console in chrome or firefox shows that bootstrap , fonts , images give a 404 error. How to connect this particular template correctly? write a manual?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rootssl, 2016-12-30
@rootssl

Damn stuck on error:

Sprockets::FileNotFound in Dashboard#index

Showing C:/Users/Admin/RubymineProjects/untitled11/app/views/layouts/application.html.erb where line #5 raised:

couldn't find file 'admin-lte/bootstrap/css/bootstrap' with type 'text/css'
Checked in these paths: 
  C:/Users/Admin/RubymineProjects/untitled11/app/assets/admin-lte
  C:/Users/Admin/RubymineProjects/untitled11/app/assets/images
  C:/Users/Admin/RubymineProjects/untitled11/app/assets/javascripts
  C:/Users/Admin/RubymineProjects/untitled11/app/assets/stylesheets
  C:/Users/Admin/RubymineProjects/untitled11/vendor/assets/javascripts
  C:/Users/Admin/RubymineProjects/untitled11/vendor/assets/stylesheets
  C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/jquery-rails-4.2.2/vendor/assets/javascripts
  C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/coffee-rails-4.1.1/lib/assets/javascripts
  C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts

Rails.root: C:/Users/Admin/RubymineProjects/untitled11

did according to this guide: https://datarockets.com/blog/rails-with-adminlte
Did I correctly put the admin-lte folder into the assets folder or was it necessary differently?

A
Andrey Demidenko, 2016-12-30
@Dem1

Docks
You need image-url, font-url

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question