You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have imported bootstrap-sass-extras in my project using the Gemfile:
gem 'bootstrap-sass-extra'
Once installed, I've tested the installation:
r g scaffold Post title:string content:Text
rake db:migrate
r g bootstrap:themed Posts
Everything was PERFECT (as expected) BUT one file: the
./app/views/posts/show.html.haml
I have digged in the installed gem (bundle show bootstrap-sass-extras) and found that the template used to generate the show.html.haml is identical to the show.html.shim.
So, it's a very simple (but annoying) packaging issue of the gem.
The text was updated successfully, but these errors were encountered:
I have edited my own locally installed gem (<user_dir>/.rvm/gems/ruby-2.2.2/gems/bootstrap-sass-extras-0.0.6/lib/generators/bootstrap/themed/templates/show.html.haml) and replaced the content with what is supposed to be (a real html content, not its shim equivalent). Tested and it worked.
I have imported bootstrap-sass-extras in my project using the Gemfile:
gem 'bootstrap-sass-extra'
Once installed, I've tested the installation:
r g scaffold Post title:string content:Text
rake db:migrate
r g bootstrap:themed Posts
Everything was PERFECT (as expected) BUT one file: the
./app/views/posts/show.html.haml
I have digged in the installed gem (bundle show bootstrap-sass-extras) and found that the template used to generate the show.html.haml is identical to the show.html.shim.
So, it's a very simple (but annoying) packaging issue of the gem.
The text was updated successfully, but these errors were encountered: