Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Start thin server in a thread.
thin_server = Thread.start do
Thin::Server.start('0.0.0.0', 4567) do
run Rack::Directory.new( File.join(Dir.pwd,"seed-images") )
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment