bundle install : Could not locate Gemfile … generated one, wher should I place it?

  1. That’s what I got. Then I found that bundle init generates a Gemfile, with the following content:

    # frozen_string_literal: true
    source “https://rubygems.org”
    # gem “rails”

Is that all? If so, where should I place this file? Otherwise, what else should I do about it?

  1. After sources look-up, I found the following one:

    source “https://rubygems.org”

    gem ‘concurrent-ruby’, ‘~> 1.3’, ‘>= 1.3.6’

    gemspec

and I put it in /usr/share/rubygems-integration/all/while I also added

wayback_machine_downloader.gemspec

to

/usr/share/rubygems-integration/all/specifications/

I wonder whether this was a proper way to finish my
installation,
wasn’t it?