Project

General

Profile

There was an error in your Gemfile, and Bundler cannot continue. (Bundler::GemfileError)

Added by Greg Stevenson almost 9 years ago

Hi

I have been trying to get Redmine 3.0.2 up on a virtual machine on VMware Workstation 8 running on a windows 7 notebook.
I'm using Ubuntu Server 14.04.1 LTS

I have the ownership of the redmine-3.0 folder as www-data:www-data
I get Error Output from Phusion Passenger as follows

There was an error in your Gemfile, and Bundler cannot continue. (Bundler::GemfileError)
/var/lib/gems/1.9.1/gems/bundler-1.9.4/lib/bundler/dsl.rb:39:in `rescue in eval_gemfile'
/var/lib/gems/1.9.1/gems/bundler-1.9.4/lib/bundler/dsl.rb:31:in `eval_gemfile'
/var/lib/gems/1.9.1/gems/bundler-1.9.4/lib/bundler/dsl.rb:10:in `evaluate'
/var/lib/gems/1.9.1/gems/bundler-1.9.4/lib/bundler/definition.rb:25:in `build'
/var/lib/gems/1.9.1/gems/bundler-1.9.4/lib/bundler.rb:155:in `definition'
/var/lib/gems/1.9.1/gems/bundler-1.9.4/lib/bundler.rb:118:in `setup'
/var/lib/gems/1.9.1/gems/bundler-1.9.4/lib/bundler/setup.rb:18:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:278:in `block in run_load_path_setup_code'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:381:in `running_bundler'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:276:in `run_load_path_setup_code'
/usr/share/passenger/helper-scripts/rack-preloader.rb:99:in `preload_app'
/usr/share/passenger/helper-scripts/rack-preloader.rb:157:in `<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'

Error IDb8925784

The rest of the output is attached in PhusionPassengerErrorOutput.txt

I've looked at the Gemfile but as it is what I've pulled off the stable svn repository I'm figuring it can't be a problem with that.
Any ideas on what to try next?

Thanks Greg

PhusionPassengerErrorOutput.txt (17.3 KB) PhusionPassengerErrorOutput.txt Output from Phusion Passenger

Replies (5)

RE: There was an error in your Gemfile, and Bundler cannot continue. (Bundler::GemfileError) - Added by Greg Stevenson almost 9 years ago

So Ruby 1.9.3 is no longer supported? Is there a preferred Ruby version of the four mentioned in requirements
ruby 1.9.3, 2.0.0, 2.1, 2.2

RE: There was an error in your Gemfile, and Bundler cannot continue. (Bundler::GemfileError) - Added by Martin Denizet (redmine.org team member) almost 9 years ago

Eugene Parfenov wrote:

http://rubyonrails.org/download/
better use latest versions

For the record:
I'd prefer to say: Better use the latest version supported by Redmine.
For Redmine 3.x, Ruby 2.2 is indeed supported but it's not the case for Redmine 2.6
Better refer to this page before installing a version of Ruby for Redmine: http://www.redmine.org/projects/redmine/wiki/RedmineInstall

RE: There was an error in your Gemfile, and Bundler cannot continue. (Bundler::GemfileError) - Added by Greg Stevenson almost 9 years ago

I'm using RVM to install Ruby 2.1.5; thought that might be half way between the latest and the next supported version down :-)
I installed a later version of Ruby but the phusion passenger error output still says I'm using Ruby 1.9.3

    (1-5/5)