Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging issue - ham file (themed show.html.haml) #18

Open
ycrepeau opened this issue May 4, 2015 · 1 comment
Open

Packaging issue - ham file (themed show.html.haml) #18

ycrepeau opened this issue May 4, 2015 · 1 comment

Comments

@ycrepeau
Copy link

ycrepeau commented May 4, 2015

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.

@ycrepeau
Copy link
Author

ycrepeau commented May 4, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant