我与Phusion Passenger有另一个问题。我更新了我的宝石,我更新了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)
环境变量
答案 0 :(得分:0)
您的Gemfile.plugins
文件中可能存在语法错误。
另外我怀疑你使用ruby 1.8,而OpenProject 3.0(至少openproject-plugins插件是一个3.0插件) - 这是不匹配的。请使用ruby 2.0,获取当前的openproject(和插件)源,然后重试。