简体   繁体   中英

Issue adding Bootstrap on Ruby on Rails Project

This is what I followed in order to get started with bootstrap on Ruby on Rails.

I followed every step exactly the same. However, I keep running into the same error for some reason. When I do not do any thing (ie do not use bootstrap) everything works (but the application looks trashy). Whenever I use bootstrap, I get:

invalid regexp character

This is the application trace:

(execjs):24299
app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__337612969_59863020'

I have no clue what is happening.

PS I am a beginner. So if the solution is simple then, yeah...

从gem文件中删除#gem'duktape'..问题将得到解决

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM