Project

General

Profile

PhusionPassenger::UnknownError

Added by Dragos Cirjan about 11 years ago

Hey guys,

Sorry for bothering you. I am not a ruby developer, yet Redmine is the best bugtracker I now and I don't want to quit on it just because of a strange error.

I've upgraded my Gentoo server lately, and right after upgrade, I've started getting this error:

Ruby on Rails application could not be started

These are the possible causes:
There may be a syntax error in the application's code. Please check for such errors and fix them.
A required library may not installed. Please install all libraries that this application requires.
The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.
A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
There was an error in your Gemfile, and Bundler cannot continue. (Bundler::GemfileError)
Exception class:
PhusionPassenger::UnknownError
Application root:
/host/w/itmc/redmine
Backtrace:

#    File    Line    Location
0    /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/dsl.rb    12    in `evaluate'
1    /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/definition.rb    18    in `build'
2    /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler.rb    135    in `definition'
3    /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler.rb    123    in `load'
4    /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler.rb    107    in `setup'
5    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/utils.rb    326    in `prepare_app_process'
6    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb    176    in `initialize_server'
7    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/utils.rb    563    in `report_app_init_status'
8    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb    174    in `initialize_server'
9    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb    204    in `start_synchronously'
10    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb    180    in `start'
11    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb    149    in `start'
12    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb    219    in `spawn_rails_application'
13    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server_collection.rb    132    in `lookup_or_add'
14    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb    214    in `spawn_rails_application'
15    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server_collection.rb    82    in `synchronize'
16    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server_collection.rb    79    in `synchronize'
17    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb    213    in `spawn_rails_application'
18    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb    132    in `spawn_application'
19    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb    275    in `handle_spawn_application'
20    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb    357    in `__send__'
21    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb    357    in `server_main_loop'
22    /usr/lib64/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb    206    in `start_synchronously'
23    /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server    99    

while bundle install is throwing me the following exception:

/usr/lib64/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:45:in `gem_original_require': no such file to load -- rubygems/format (LoadError)
       /usr/lib64/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:45:in `require'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/source.rb:5
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/dsl.rb:19:in `initialize'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/dsl.rb:6:in `new'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/dsl.rb:6:in `evaluate'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/definition.rb:18:in `build'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler.rb:135:in `definition'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/cli.rb:220:in `install'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/vendor/thor/task.rb:22:in `send'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/vendor/thor/task.rb:22:in `run'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/vendor/thor.rb:263:in `dispatch'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/lib/bundler/vendor/thor/base.rb:386:in `start'
       /usr/local/lib64/ruby/gems/1.8/gems/bundler-1.1.5/bin/bundle:13
       /usr/local/bin/bundle:23:in `load'
       /usr/local/bin/bundle:23

Here is my gem list as well:

*** LOCAL GEMS ***

actionmailer (2.3.18)
actionpack (2.3.18)
activerecord (2.3.18)
activeresource (2.3.18)
activesupport (3.2.13, 2.3.18)
allison (2.0.3)
builder (2.1.2)
bundler (1.1.5)
coderay (1.0.6)
daemon_controller (1.1.0)
echoe (4.6.3)
edavis10-object_daddy (0.4.3)
fastercsv (1.5.5)
fastthread (1.0.7)
hoe (2.12.5)
i18n (0.6.1, 0.4.2)
inifile (2.0.2)
json (1.6.8)
lockfile (1.4.3)
metaclass (0.0.1)
mocha (0.13.1, 0.12.3)
multi_json (1.7.2)
mysql (2.8.2)
mysql2 (0.3.11, 0.2.7)
net-ldap (0.3.1)
net-ssh (2.6.6)
pg (0.14.1)
postgres (0.7.9.2008.01.28)
racc (1.4.8)
rack (1.4.5, 1.1.6)
rails (2.3.18)
rake (10.0.3, 0.9.2.2)
rake-compiler (0.8.1)
rdoc (3.12.1)
rmagick (2.13.1)
ruby-openid (2.2.2, 2.1.4)
rubyforge (2.0.4)
rubygems-update (2.0.3)
shoulda (2.10.3)
sqlite3 (1.3.6)
sqlite3-ruby (1.3.6)
test-unit (2.5.3)
text-format (1.0.0)
text-hyphen (1.4.1)
tmail (1.2.7.1)
tzinfo (0.3.33)

I've donwgraded bundler from 1.2.3 to 1.1.5 (thought a downgrade might work, but it seems I'm missing smth else).

If anyone can give me a hint, please do.
We cannot access our bugtracking website anymore.


Replies (2)

RE: PhusionPassenger::UnknownError - Added by Paresh Patel about 11 years ago

hi ,

your problem is solve 100 % solve

http://www.turnkeylinux.org/download?file=turnkey-redmine-12.0-squeeze-x86.iso

this above link source is download then this source is os version redmine exampl for your using xp or window 7 installation same this source install in new hard drive

RE: PhusionPassenger::UnknownError - Added by Paresh Patel about 11 years ago

any problem then reply me

    (1-2/2)