Adding Gemfile to your ruby project
May 16, 2023
kapilnakhwa
I saw someone just manually create Gemfile and type in source.
Although that works, They seemed to be aware about one liner that would save them a lot of time.
Although that works, They seemed to be aware about one liner that would save them a lot of time.
❯ bundle init Writing new Gemfile to /Users/kapilnakhwa/dev/bots/botception_sinatra/Gemfile
Doing this will automatically create Gemfile, Put in frozen_string_literals and the source.
❯ cat Gemfile # frozen_string_literal: true source "https://rubygems.org" # gem "rails"