我正在尝试使用 kubuntu 14.04 设置 redmine(本地),并按照redmine.org 的说明进行操作。从 Kubuntu 存储库安装 redmine 2.4.2 工作正常。然后我也做了sudo apt-get install bundler
and 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>'
那我该怎么办?
找到“Gemfile”所在的位置。CC 进入该目录并运行