Learn about Sequel, Sinatra, Padrino Zepto.js—libraries and frameworks that you could use to build lightweight and simple applications—if you can afford it, of course. Alexey also mentions that Ruby is not always the best choice (blasphemy!)—sometimes you should consider Erlang, Scala, .NET and even C++.
Video
Slides