You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2015-10-15 12:27:27] INFO WEBrick 1.3.1
[2015-10-15 12:27:27] INFO ruby 2.2.1 (2015-02-26) [x86_64-linux]
== Sinatra/1.4.5 has taken the stage on 3000 for development with backup from WEBrick
[2015-10-15 12:27:27] INFO WEBrick::HTTPServer#start: pid=4074 port=3000
SECURITY WARNING: No secret option provided to Rack::Session::Cookie.
This poses a security threat. It is strongly recommended that you
provide a secret to prevent exploits that may be possible from crafted
cookies. This will not be supported in future versions of Rack, and
future versions will even invalidate your existing user cookies.
Called from: /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:86:in `new'.
Figo::Error - We are very sorry, but something went wrong.:
/tmp/ruby-figo/lib/figo.rb:100:in `request'
/tmp/ruby-figo/lib/figo.rb:252:in `query_api'
/tmp/ruby-figo/lib/figo.rb:261:in `query_api_object'
/tmp/ruby-figo/lib/figo.rb:380:in `transactions'
app.rb:50:in `block in <main>'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `block in compile!'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `[]'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block (3 levels) in route!'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:985:in `route_eval'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block (2 levels) in route!'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1006:in `block in process_route'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in `catch'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in `process_route'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:964:in `block in route!'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in `each'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in `route!'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1076:in `block in dispatch!'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `catch'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1073:in `dispatch!'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `block in call!'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `catch'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `call!'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:886:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/logger.rb:15:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:217:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:210:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:21:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:180:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:2014:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `block in call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1788:in `synchronize'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
[2015-10-15 12:27:33] ERROR NoMethodError: undefined method `join' for #<String:0x0055d6fe6dbbb0>
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:37:in `rescue in call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:21:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:180:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:2014:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `block in call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1788:in `synchronize'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `call'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
/home/aep/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
localhost.localdomain - - [15/Oct/2015:12:27:33 CEST] "GET / HTTP/1.1" 500 340
The text was updated successfully, but these errors were encountered:
works fine for me with ruby 2.2.4 and sinatra 1.4.6
20:51 $ ruby app.rb
[2015-12-28 20:52:16] INFO WEBrick 1.3.1
[2015-12-28 20:52:16] INFO ruby 2.2.4 (2015-12-16) [x86_64-darwin15]
== Sinatra (v1.4.6) has taken the stage on 3000 for development with backup from WEBrick
[2015-12-28 20:52:16] INFO WEBrick::HTTPServer#start: pid=11188 port=3000
The text was updated successfully, but these errors were encountered: