![redmine 2.4 在 14.04 上的安装捆绑安装失败](https://linux22.com/image/1137131/redmine%202.4%20%E5%9C%A8%2014.04%20%E4%B8%8A%E7%9A%84%E5%AE%89%E8%A3%85%E6%8D%86%E7%BB%91%E5%AE%89%E8%A3%85%E5%A4%B1%E8%B4%A5.png)
我正在尝试使用 kubuntu 14.04 设置 redmine(本地),并按照说明进行操作来自 redmine.org。从 Kubuntu 存储库安装 redmine 2.4.2 工作正常。然后我也执行了sudo apt-get install bundler
和sudo gem install bundler
。但是然后我应该运行bundle install --without development test
,它失败并显示消息Bundler::GemfileNotFound
。
更具体地说,bundle install --verbose --without development test
给出以下输出
Bundler::GemfileNotFound
Bundler::GemfileNotFound: Bundler::GemfileNotFound
/usr/lib/ruby/vendor_ruby/bundler/settings.rb:16:in `[]='
/usr/lib/ruby/vendor_ruby/bundler/settings.rb:79:in `without='
/usr/lib/ruby/vendor_ruby/bundler/cli.rb:237:in `install'
/usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
/usr/lib/ruby/vendor_ruby/thor/invocation.rb:121:in `invoke_command'
/usr/lib/ruby/vendor_ruby/thor.rb:363:in `dispatch'
/usr/lib/ruby/vendor_ruby/thor/base.rb:440:in `start'
/usr/bin/bundle:20:in `block in <main>'
/usr/lib/ruby/vendor_ruby/bundler/friendly_errors.rb:3:in `with_friendly_errors'
/usr/bin/bundle:20:in `<main>'
那我该怎么办呢?
答案1
找到“Gemfile”的位置。CC 进入该目录并运行
bundle install --without development test