0

我对 Phusion Passenger 有另一个问题。我更新了我的 gems,我更新了 Bundle,我重新安装了 Phusion,当我去访问它给我的网址时。有任何想法吗?

这是我现在的位置..

compile error /home/bistro/openproject/Gemfile:229:
syntax error, unexpected ':', expecting $end ...
em "openproject-plugins", git: "https://github.com/opf/openp...
^ (SyntaxError) /home/bistro/openproject/Gemfile:229:in evaluate'
/usr/lib/ruby/vendor_ruby/bundler/definition.rb:17:inbuild'
/usr/lib/ruby/vendor_ruby/bundler.rb:136:in definition'
/usr/lib/ruby/vendor_ruby/bundler.rb:124:inload'
/usr/lib/ruby/vendor_ruby/bundler.rb:107:in setup'
/usr/lib/ruby/vendor_ruby/bundler/setup.rb:17
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:ingem_original_require'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in require'
/var/lib/gems/1.8/gems/passenger-4.0.29/lib/phusion_passenger
/loader_shared_helpers.rb:219:inrun_load_path_setup_code'
/var/lib/gems/1.8/gems/passenger-4.0.29/lib/phusion_passenger
/loader_shared_helpers.rb:333:in running_bundler'
/var/lib/gems/1.8/gems/passenger-4.0.29/lib/phusion_passenger
/loader_shared_helpers.rb:217:inrun_load_path_setup_code'
/var/lib/gems/1.8/gems/passenger-4.0.29/helper-scripts/rack-preloader.rb:96:in `preload_app'
/var/lib/gems/1.8/gems/passenger-4.0.29/helper-scripts/rack-preloader.rb:153

应用程序根

/home/bistro/openproject Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV)

生产 Ruby 解释器命令

/usr/bin/ruby1.8

用户和组

uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)

环境变量

4

1 回答 1

0

您的Gemfile.plugins文件中可能存在语法错误。

另外我怀疑您使用的是 ruby​​ 1.8 和 OpenProject 3.0(至少 openproject-plugins 插件是 3.0 插件) - 这不匹配。请使用 ruby​​ 2.0,获取当前的 openproject(和插件)源并重试。

于 2014-02-03T14:37:24.270 回答