Fix up solution.rb to work on Linux