Simulacre.org

Javascript, Ruby and Japan

Archive for the ‘Ruby’ Category and Its Children

Ssh Adapter for EventMachine

Use net-ssh within EventMachine without blocking the reactor.

Read More »

Unblocking the Keyboard and Readline in EventMachine

Reading from the keyboard without blocking under EventMachine is pretty simple. Just use the builtin EM.open_keyboard and give it a connection handler. If you want to use Readline as well, unfortunately, you'll block the reactor unless you change the behavior of $stdin.

Read More »

Pry Remote for EventMachine

Connect to Pry remotely using EventMachine with tab-completion, paging, user authentication and SSL support.

Read More »