Skip to content

Instantly share code, notes, and snippets.

@mathieugagne
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathieugagne/11214649 to your computer and use it in GitHub Desktop.
Save mathieugagne/11214649 to your computer and use it in GitHub Desktop.
def main
remove_jbuilder
end
def remove_jbuilder
gemfile_lines =
"# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder\n" +
"gem 'jbuilder', '~> 2.0'\n"
gsub_file 'Gemfile', gemfile_lines, ''
end
main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment