MrPowers / frontend-generators

Rake tasks to add Bootstrap, Font Awesome, and Start Bootstrap Landing Pages to a Rails app
MIT License
96 stars 23 forks source link

Creative theme #23

Open teampros opened 7 years ago

teampros commented 7 years ago

It appears that jquery is absent

MrPowers commented 7 years ago

Thanks for reporting the bug @kaliaev !!!

@rhuberdeau - can you look into this one?

austinarchibald commented 7 years ago

also getting ActionView::Template::Error (couldn't find file 'jquery' with type 'application/javascript'

Edit: nvm, just put gem 'jquery-rails' in my gem file to fix it.

but another error I'm getting is ActionController::RoutingError (No route matches [GET] "/assets/bootstrap.css.map"):. Page loads fine, just shows this error in terminal.

rhuberdeau commented 7 years ago

@austinarchibald @kaliaev What version of rails are you using?

austinarchibald commented 7 years ago

5.1.4

teampros commented 7 years ago

5.1.4

On Sep 16, 2017, at 10:08 PM, Austin Archibald notifications@github.com wrote:

5.1.4

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

MrPowers commented 7 years ago

@rhuberdeau - Let me know if you need any help with this one :)

Not sure how useful I'll be... I haven't used Rails in a long time!

rhuberdeau commented 7 years ago

@kaliaev @austinarchibald Rails 5.1 no longer includes jQuery. I haven't had time to look into this and try out a fix yet, but you should be able to follow the steps here https://stackoverflow.com/questions/43697023/how-to-use-rails-5-1-0-and-jquery or google "rails 5.1 jquery".

I should have a chance to look at this some time in the next two days.

austinarchibald commented 7 years ago

I know, I figured that out. I installed the jquery gem. But the other error I'm having is unrelated to jquery (see my comment above). It's not breaking anything though, so I'm ignoring it for now.

austinarchibald commented 7 years ago

This solved my ActionController::RoutingError (No route matches [GET] "/assets/bootstrap.css.map"): issue. In case anyone else does...