Skip to content

Instantly share code, notes, and snippets.

View xinyifly's full-sized avatar
🏠
Working from home

Zeyu Chen xinyifly

🏠
Working from home
View GitHub Profile
inject_into_file 'Gemfile', after: "group :development, :test do\n" do <<-'RUBY'
gem 'faker', '~> 1.9'
RUBY
end
inject_into_file 'Gemfile', after: "group :development, :test do\n" do <<-'RUBY'
gem 'factory_bot_rails', '~> 5.0'
RUBY
end