Specify ruby version and add rspec gem for testing.