502 server error on gcloud with Ruby on Rails -


i deployed app right after cloning github. did bundle install , everything, , server said

/usr/local/lib/ruby/gems/2.4.0/gems/railties-5.0.2/lib/rails/app_loader.rb:40:  warning: insecure world writable dir /google/gopath/bin in path, mode 040777 /home/hwangjinsong/.gems/gems/activesupport- 5.0.1/lib/active_support/xml_mini.rb:51: warning: constant ::fixnum  deprecated /home/hwangjinsong/.gems/gems/activesupport- 5.0.1/lib/active_support/xml_mini.rb:52: warning: constant ::bignum  deprecated => booting webrick => rails 5.0.1 application starting in development on http://localhost:8080 => run `rails server -h` more startup options /home/hwangjinsong/.gems/gems/activesupport- 5.0.1/lib/active_support/core_ext/numeric/conversions.rb:138: warning:  constant ::fixnum deprecated [2017-04-06 12:09:32] info  webrick 1.3.1 [2017-04-06 12:09:32] info  ruby 2.4.0 (2016-12-24) [x86_64-linux] [2017-04-06 12:09:32] info  webrick::httpserver#start: pid=334 port=8080 

but when go page, https://agarlogin-1142.appspot.com/ says

error: server error

the server encountered temporary error , not complete request. please try again in 30 seconds.

<html><head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>502 server error</title> </head> <body text="#000000" bgcolor="#ffffff">  <h1>error: server error</h1> <h2>the server encountered temporary error , not complete  request.<p>please try again in 30 seconds.</p></h2> <h2></h2> </body></html> 

thank in advance.

this can help:

this warnings appear because using ruby 2.4.0

warning: constant ::fixnum deprecated when generating new model

we don’t have worry change of times in our application code. libraries rails use class of numbers taking decisions. these libraries need support both ruby 2.4 , previous versions of ruby.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -