Somebody suggested that I try out thin, “A fast
and very simple Ruby web server.” So, I thought it might be
interesting to test, and a simplification over Rails to
demonstrate an small Ruby MVC pattern.
Installing thin seemed straight forward as a gem
installation, like
gem install thin |
The initial install didn’t work out of the box because I’d
neglected to install the gcc-c++ library. It raised
the following errors:
Fetching: eventmachine-1.0.7.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing thin:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for main() in -lssl... no
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for … |