What is the use of Gemfile in rails?
Gemfile
How to use Gemfile?
Gemfiles are configuration for Bundler, which is used to manage your application's Ruby dependencies. That website includes a lot of documentation, including the Gemfile manual page.