I'm passing my project to the server. I'm using nginx. And everything is already installed, because when I go to my home address shows me:
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx
However, when I do my initial address / funbase, whereas funbase is where my project is, it shows me:
Web application could not be started
It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run: bundle install
If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following:
Is this app supposed to be run as the funbase user?
Is this app being run on the correct Ruby interpreter? Below you will see which Ruby interpreter Phusion Passenger attempted to use.
-------- The exception is as follows: -------
git://github.com/rweng/jquery-datatables-rails.git (at master) is not yet checked out. Run 'bundle install' first. (Bundler::GitError)
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/source/git.rb:192:in 'rescue in load_spec_files'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/source/git.rb:189:in 'load_spec_files'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/source/path.rb:92:in 'local_specs'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/source/git.rb:159:in 'specs'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/lazy_specification.rb:53:in '__materialize__'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/spec_set.rb:88:in 'block in materialize'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/spec_set.rb:85:in 'map!'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/spec_set.rb:85:in 'materialize'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/definition.rb:132:in 'specs'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/definition.rb:177:in 'specs_for'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/definition.rb:166:in 'requested_specs'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/environment.rb:18:in 'requested_specs'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/runtime.rb:13:in 'setup'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler.rb:122:in 'setup'
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.2/lib/bundler/setup.rb:18:in '<top (required)>'
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in 'require'
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in 'rescue in require'
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144: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 ID
8febf14e
Application root
/home/funbase
My project is in / home / funbase. And I already did the bundle install, I do not understand why it is not working.