Correct dependencies and bug in server.rb