Hi I'm using AWS OpsWorks to deploy a Ruby on Rails application which uses a MySQL database. I've properly booted an app server and a database server, but visiting the app server's IP address yeilds the following error:
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.
The logs say:
cat /var/log/httpd/error.log
App 4689 stdout:
App 4689 stderr: /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler/spec_set.rb:92:in `block in materialize'
App 4689 stderr: :
App 4689 stderr: Could not find rake-10.4.2 in any of the sources
App 4689 stderr: (
App 4689 stderr: Bundler::GemNotFound
App 4689 stderr: )
App 4689 stderr: from /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler/spec_set.rb:85:in `map!'
App 4689 stderr: from /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler/spec_set.rb:85:in `materialize'
App 4689 stderr: from /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler/definition.rb:133:in `specs'
App 4689 stderr: from /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler/definition.rb:178:in `specs_for'
App 4689 stderr: from /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler/definition.rb:167:in `requested_specs'
App 4689 stderr: from /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler/environment.rb:18:in `requested_specs'
App 4689 stderr: from /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:13:in `setup'
App 4689 stderr: from /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler.rb:119:in `setup'
App 4689 stderr: from /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.5.3/lib/bundler/setup.rb:17:in `<top (required)>'
App 4689 stderr: from /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
App 4689 stderr: from /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
I've read this is an installation or path or permissions error, and have seen other solutions which use rbenv to uninstall/re-install rake, but OpsWorks doesn't use rbenv.
Please advise.