Closed murphygithub closed 6 years ago
I build sinatra image as per dockerfile and run sinatra but failed. what do I miss? below is error log
docker logs -f webapp /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- app (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /opt/webapp/bin/webapp:5:in <main>' /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire': cannot load such file -- app (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /opt/webapp/bin/webapp:5:in'
require': cannot load such file -- app (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
<main>' /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /opt/webapp/bin/webapp:5:in
I build sinatra image as per dockerfile and run sinatra but failed. what do I miss? below is error log
docker logs -f webapp /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in'
require': cannot load such file -- app (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /opt/webapp/bin/webapp:5:in<main>' /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require': cannot load such file -- app (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /opt/webapp/bin/webapp:5:in