Rails bundler doesn't install gems inside a group

后端 未结 6 2188
面向向阳花
面向向阳花 2020-12-23 08:51

I have several gems including ruby-debug in a bundler group called :development. When I run the bundle command, these gems are ignored and it only installs the gems that are

6条回答
  •  独厮守ぢ
    2020-12-23 09:27

    In fact Rails loads the :development group automatically when in development environment. Check whether Rails.env in you App really returns "development".

    More Information about groups in Bundler: http://gembundler.com/groups.html

提交回复
热议问题