Rails bundler doesn't install gems inside a group

后端 未结 6 2225
面向向阳花
面向向阳花 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:46

    I had a similar problem - thin in staging ignored - and the solution was to put it out if staging into the 'global' space:

    gem 'thin'
    
    group :production do
      gem 'puma'
    end
    

提交回复
热议问题