Created
December 18, 2014 23:11
-
-
Save jc00ke/17be34f2f5ccbe51a8dc to your computer and use it in GitHub Desktop.
Angelo blowing up with simple example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "angelo" | |
class App < Angelo::Base | |
get "/" do | |
"hi" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✘ ~/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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "./app" | |
App.run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
App.run!