如何安装带有#34; BUNDLED WITH"在Gemfile.lock中

时间:2017-07-07 05:43:36

标签: ruby bundler gemfile.lock

我想使用Gemfile.lock编写的特定版本安装 bundler 。你知道怎么做吗?我想让像Jenkins这样的ci自动安装该版本的 bundler

BUNDLED WITH
   1.13.5

2 个答案:

答案 0 :(得分:0)

您可以尝试一些shell脚本:gem install bundler -v $(tail -n1 Gemfile.lock)

答案 1 :(得分:0)

  • https://makandracards.com/makandra/9741-run-specific-version-of-bundler

    Widget buildResultCard(data) { List items = [Text(data['Ganna']), IconButton(icon:Icon(Icons.all_inclusive), onPressed: ()=> {Text("Ganna")} ), Text(data['Wynk']), IconButton(icon:Icon(Icons.all_inclusive), onPressed: ()=> {Text("Ganna")} ), Text(data['JioSavaan']), IconButton(icon:Icon(Icons.all_inclusive), onPressed: ()=> {Text("Ganna")} ), Text(data['PrimeMusic']), IconButton(icon:Icon(Icons.all_inclusive), onPressed: ()=> {Text("Ganna")} ) ]; return ListView.builder( padding: EdgeInsets.only(top: 20), itemCount: items.length, itemBuilder: (BuildContext context, int index) { return items[index]; }, ); }

    gem install bundler -v 1.0.10

为我工作:)