Questions tagged «gemfile.lock»

7
了解Gemfile.lock文件
运行bundle install命令后,将在工作目录中创建“ Gemfile.lock ”。该文件中的指令是什么意思? 例如,让我们看下面的文件: PATH remote: . specs: gem_one (0.0.1) GEM remote: http://example.org/ specs: gem_two (0.0.2) gem_three (0.0.3) gem_four (0.0.4) PLATFORMS platform DEPENDENCIES gem_two gem_one! “ PATH ”,“ GEM ”,“ Platforms ”和“ DEPENDENCIES ”描述了什么?全部都需要吗? 什么应包含“ 远程 ”和“ 规格 ”子指令? “ DEPENDENCIES ”组中宝石名称后面的感叹号是什么意思?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.