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

Fix Bootstrap Sass Append to Gemfile #262

Merged

Conversation

aaronvb
Copy link
Member

@aaronvb aaronvb commented Feb 8, 2016

Fixes #256

If the gemfile does not have an empty line at the end, append_to_file will append ‘gem bootstrap-sass’ to the last line.

  • Added a line break to the beginning of ‘gem bootstrap-sass’ to ensure it’s on a new line.

Review on Reviewable

If the gemfile does not have an empty line at the end, append_to_file will append ‘gem bootstrap-sass’ to the last line.

- Added a line break to the beginning of ‘gem bootstrap-sass’ to ensure it’s on a new line.
@@ -62,7 +62,7 @@ def strip_application_scss_of_incompatible_sprockets_statements
end

def add_bootstrap_sprockets_to_gemfile
append_to_file("Gemfile", "gem 'bootstrap-sass'\n")
append_to_file("Gemfile", "\ngem 'bootstrap-sass'\n")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

justin808 added a commit that referenced this pull request Feb 9, 2016
@justin808 justin808 merged commit 3724f3f into shakacode:master Feb 9, 2016
@justin808
Copy link
Member

Thanks @aaronvb!

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

Successfully merging this pull request may close these issues.

3 participants