To use the attached sample you will need to make only 2 changes:
1. Please edit the ServiceConfiguration.cscfg to include your correct Windows Azure Storage Credentials:
<Setting name="DiagnosticsConnectionString" value="DefaultEndpointsProtocol=https;AccountName=<StorageAccountName>;AccountKey=StorageAccountKey” />
<Setting name="StorageAccount" value="DefaultEndpointsProtocol=https;AccountName=<StorageAccountName>;AccountKey= StorageAccountKey" />
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=<StorageAccountName>;AccountKey=StorageAccountKey" />
2. You can replace the contents of RubyApp folder with your Ruby on Rails application.
After it please test the application in compute emulator and then package the application and deploy in Windows Azure.
More Info:
Ruby on Rail in Windows Azure Part 1:
Ruby on Rail in Windows Azure Part 2: