problem with redmine 3.0.1 - 3.0.0 is ok - developers ?
Added by Pav ata over 9 years ago
Is this app being run on the correct Ruby interpreter? Below you will see which Ruby interpreter Phusion Passenger attempted to use.
Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound)
/usr/local/share/gems/gems/bundler-1.8.3/lib/bundler/spec_set.rb:92:in `block in materialize' /usr/local/share/gems/gems/bundler-1.8.3/lib/bundler/spec_set.rb:85:in `map!' /usr/local/share/gems/gems/bundler-1.8.3/lib/bundler/spec_set.rb:85:in `materialize' /usr/local/share/gems/gems/bundler-1.8.3/lib/bundler/definition.rb:132:in `specs' /usr/local/share/gems/gems/bundler-1.8.3/lib/bundler/definition.rb:177:in `specs_for' /usr/local/share/gems/gems/bundler-1.8.3/lib/bundler/definition.rb:166:in `requested_specs' /usr/local/share/gems/gems/bundler-1.8.3/lib/bundler/environment.rb:18:in `requested_specs' /usr/local/share/gems/gems/bundler-1.8.3/lib/bundler/runtime.rb:13:in `setup' /usr/local/share/gems/gems/bundler-1.8.3/lib/bundler.rb:122:in `setup' /usr/local/share/gems/gems/bundler-1.8.3/lib/bundler/setup.rb:18:in `<top (required)>' /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:118:in `require' /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:118:in `rescue in require' /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:124:in `require' /usr/local/share/gems/gems/passenger-5.0.2/lib/phusion_passenger/loader_shared_helpers.rb:278:in `block in run_load_path_setup_code' /usr/local/share/gems/gems/passenger-5.0.2/lib/phusion_passenger/loader_shared_helpers.rb:381:in `running_bundler' /usr/local/share/gems/gems/passenger-5.0.2/lib/phusion_passenger/loader_shared_helpers.rb:276:in `run_load_path_setup_code' /usr/local/share/gems/gems/passenger-5.0.2/helper-scripts/rack-preloader.rb:99:in `preload_app' /usr/local/share/gems/gems/passenger-5.0.2/helper-scripts/rack-preloader.rb:157:in `<module:App>' /usr/local/share/gems/gems/passenger-5.0.2/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>' /usr/local/share/gems/gems/passenger-5.0.2/helper-scripts/rack-preloader.rb:28:in `<main>'
dear developers, what has changed there? Redmine now got confused and cannot find gems/ruby interpreter?
regards.
Replies (4)
RE: problem with redmine 3.0.1 - 3.0.0 is ok - developers ? - Added by George Notaras over 9 years ago
Pav ata wrote:
[...] Redmine now got confused and cannot find gems/ruby interpreter?
regards.
I'd suggest to check your environment with:
printenv | grep -iP "(gem|path|rails)"
If everything seems OK, test Redmine using webrick:
bundle exec ruby script/server webrick -e production
If everything seems fine, then fix the environment of the process that runs Redmine.
RE: problem with redmine 3.0.1 - 3.0.0 is ok - developers ? - Added by Pav ata over 9 years ago
I'm running it under/via apache+passenger, I have 3.0.0 which runs just fine and believe both share exactly the same environment and apache same/similar configs.
RE: problem with redmine 3.0.1 - 3.0.0 is ok - developers ? - Added by Pav ata over 9 years ago
webpage with errors when redmine 3.0.1 fails: (I see gem_home is not being picked up, but why??, some config files in redmine app?)
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
LANG = C
NOTIFY_SOCKET = @/org/freedesktop/systemd1/notify
KRB5RCACHETYPE = none
PASSENGER_USE_FEEDBACK_FD = true
SERVER_SOFTWARE = Apache/2.4.6 (Scientific Linux) OpenSSL/1.0.1e-fips mod_auth_kerb/5.4 mod_fcgid/2.3.9 mod_nss/2.4.6 NSS/3.15.4 Basic ECC PHP/5.4.16 SVN/1.7.14 Phusion_Passenger/5.0.2
PASSENGER_DEBUG_DIR = /tmp/passenger.spawn-debug.XXXXKiv6wA
USER = nobody
LOGNAME = nobody
SHELL = /sbin/nologin
HOME = /
PWD = /var/www/redmine-3.0.1.isOn
IN_PASSENGER = 1
PYTHONUNBUFFERED = 1
NODE_PATH = /usr/local/share/gems/gems/passenger-5.0.2/node_lib
RAILS_ENV = production
RACK_ENV = production
WSGI_ENV = production
NODE_ENV = production
PASSENGER_APP_ENV = production
RAILS_RELATIVE_URL_ROOT = /newesttrackit
RACK_BASE_URI = /newesttrackit
PASSENGER_BASE_URI = /newesttrackit
UNIQUE_ID = VQwtdwSg682CmBrZeCA@xwAAAAE
HTTPS = on
GEM_PATH =
GEM_HOME = /.gem/ruby
RE: problem with redmine 3.0.1 - 3.0.0 is ok - developers ? - Added by Viet Vu almost 9 years ago
Hi,
I've got this error too. I don't know why.
I could run the Redmine stand alone successfully
bundle exec ruby script/server webrick -e production
But I can't run Redmine thru Phusion Passenger
Anyone could fix this issue?