我得到不同的错误 的Web应用程序无法启动Web应用程序无法启动redmine3.4
Web application could not be started
There was an error while trying to write to Gemfile.lock. It is likely that
you need to allow write permissions for the file at path:
/usr/share/redmine/Gemfile.lock (Bundler::InstallError)
/usr/lib/ruby/vendor_ruby/bundler/definition.rb:235:in rescue in lock' /usr/lib/ruby/vendor_ruby/bundler/definition.rb:220:inlock’
/usr/lib/ruby/vendor_ruby/bundler/environment.rb:34:in lock' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:43:insetup’
/usr/lib/ruby/vendor_ruby/bundler.rb:120:in setup' /usr/lib/ruby/vendor_ruby/bundler/setup.rb:17:in<top (required)>’
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:245:in block in run_load_path_setup_code' /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:348:inrunning_bundler’
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:243:in run_load_path_setup_code' /usr/share/passenger/helper-scripts/rack-preloader.rb:100:inpreload_app’
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in <module:App>' /usr/share/passenger/helper-scripts/rack-preloader.rb:29:inmodule:PhusionPassenger’
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `’
您可能使用过apt来安装RoR。不要这样做:http://railsapps.github.io/installrubyonrails-ubuntu.html – jdv