2012-01-18 69 views

回答

0

我現在找到了一個很好的解決方案:

配置/初始化/ amazon.rb

require File.dirname(__FILE__) + '/../../config/environment.rb'  
ENV['AMAZONRCDIR'] = "#{Rails.root}/config/" 

配置/.amazonrc

[global] 
locale = 'de' 
cache = false 
key_id = '0Y44V8FAFNM119C6PXX2' 
secret_key_id = 'YYYYYY' 

[de] 
associate = 'ID-21' 
相關問題