Alex Rivera | Logout

What is the use of Gemfile in rails?

Asked 2012-12-28T16:51:53.410
51

What is the use of Gemfile in rails?

How to use Gemfile?

Edit
Report

2 Answers

11

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.

answered 2012-12-28T17:05:16.243
1

Your system can have lots of gems ... thus can have multiple versions of same gem.

A Gemfile specifies the list of gems with their versions that shall be used/loaded/(install if not present) whenever you run your rails application. or anything with bundle exec . .

answered 2012-12-28T17:09:42.267

Your Answer