Gemfile.lock is deleted/ignored, so that different gems can be used for different groups (i.e. development and production). However, since the Gemfile has static dependencies the Gemfile.lock will be recreated consistently upon installation.