更新时间:2021-07-30 15:50:52
Ok ,我发现答案...初始化器中的键必须用引号设置:
Ok, I found the answer... Keys in the initializer must be set with quotation marks :
Twitter.configure do |config|
config.consumer_key = 'PKe41...'
config.consumer_secret = 'qETY.....'
end