Project Description
This VS2010 and Windows Azure SDK 1.4 based solution explains how you can run Ruby 1.9.2 and Rails 3.0.7 on Windows Azure.

Test the application @ http://rubyonrailsinazure.cloudapp.net/

For more Info please visit:

Ruby on Rail in Windows Azure Part 1:

http://blogs.msdn.com/b/avkashchauhan/archive/2011/04/26/ruby-on-rails-in-windows-azure-part-1-setting-up-ruby-on-rails-in-windows-7-machine-with-test-rails-application.aspx

 

Ruby on Rail in Windows Azure Part 2:

http://blogs.msdn.com/b/avkashchauhan/archive/2011/04/26/ruby-on-rails-in-windows-azure-part-2-creating-windows-azure-sdk-1-4-based-application-to-host-ruby-on-rails-application-in-cloud.aspx

 

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=<Storage_Account_Name>;AccountKey=Storage_Account_Key” />

<Setting name="StorageAccount" value="DefaultEndpointsProtocol=https;AccountName=<Storage_Account_Name>;AccountKey= Storage_Account_Key" />

<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=<Storage_Account_Name>;AccountKey=Storage_Account_Key" />

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. 

Last edited Apr 27, 2011 at 1:12 AM by Avkash, version 5