instructure/canvas-lms — Issue #123: Canvas startup issue - Could not load bundler gem  RUNTIME ERROR
Author: Paulkenna
Created: 2011-11-21 02:47:11+00:00
State: open

Ruby (Rack) application could not be started
These are the possible causes:
This is my first foray into the world of rails so excuse me if I'm missed something obvious.

When I load a production version on a Debian VPS I get the following error message:

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:
Could not load the bundler gem. Install it with `gem install bundler`.
Exception class:
RuntimeError
Application root:
/var/rails/canvas
Backtrace:
#	File	Line	Location
0	./config/../config/preinitializer.rb	5
1	./config/boot.rb	29	in `load'
2	./config/boot.rb	29	in `preinitialize'
3	./config/boot.rb	11	in `boot!'
4	./config/boot.rb	122
5	/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb	36	in `gem_original_require'
6	/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb	36	in `require'
7	./config/environment.rb	4
8	/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb	36	in `gem_original_require'
9	/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb	36	in `require'
10 config.ru	1
11	/usr/lib/ruby/1.8/rack/builder.rb	46	in `instance_eval'
12 /usr/lib/ruby/1.8/rack/builder.rb	46	in `initialize'
13 config.ru	1	in `new'
14 config.ru	1

Powered by Phusion Passenger, mod_rails / mod_rack for Apache.

Any assistance would be appreciated

Paul
Melbourne