Skip to content

Instantly share code, notes, and snippets.

@jc00ke
Created December 18, 2014 23:11
Show Gist options
  • Save jc00ke/17be34f2f5ccbe51a8dc to your computer and use it in GitHub Desktop.
Save jc00ke/17be34f2f5ccbe51a8dc to your computer and use it in GitHub Desktop.
Angelo blowing up with simple example
require "angelo"
class App < Angelo::Base
get "/" do
"hi"
end
end
✘  ~/p/b/bumpsale   master ±  ruby server.rb
I, [2014-12-18T15:09:52.690306 #7216] INFO -- : Angelo 0.3.2
I, [2014-12-18T15:09:52.690568 #7216] INFO -- : listening on 127.0.0.1:4567
W, [2014-12-18T15:09:52.692513 #7216] WARN -- : Terminating task: type=:call, meta={:method_name=>:run}, status=:iowait
Celluloid::TaskFiber backtrace unavailable. Please try `Celluloid.task_class = Celluloid::TaskThread` if you need backtraces here.
require "./app"
App.run
@kenichi
Copy link

kenichi commented Dec 18, 2014

App.run!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment