【问题标题】:Difference between `warble executable war` vs `bundle exec warble executable war``warble executable war`与`bundle exec warble executable war`之间的区别
【发布时间】:2017-12-15 11:47:51
【问题描述】:

我正在尝试将 Rails 应用程序打包到 WAR 文件中。我正在预编译资产,然后使用 warbler 将应用程序打包到 WAR 文件中。

预编译:

bundle exec rake assets:precompile

现在我正在尝试使用以下命令将 Rails 应用程序打包到 WAR 文件中:

warble executable war

上面的命令和下面的命令的主要区别是什么:

bundle exec warble executable war 

【问题讨论】:

    标签: ruby-on-rails bundler jruby warbler


    【解决方案1】:
    bundle exec warble executable war 
    

    bundle exec 将确保它使用Gemfile 中提到的 gem 版本

    【讨论】:

      猜你喜欢
      • 2019-07-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-02-11
      相关资源
      最近更新 更多