I am using omniauth to get login using google account. For local its working, when I moved in production i am getting permission denided error.
here is the code in omniauth.rb
require 'openid/store/filesystem'
Rails.application.config.middleware.use OmniAuth::Builder do
provider :open_id, OpenID::Store::Filesystem.new('/tmp')
end
production enviroment i am getting this error
Errno::EACCES
Permission denied –
/tmp/temp/tmp20110502-27770-1tje7xp.lockRails.root:
/home/deployer/releases/20110502083952
I am using passenger and nginx in production server.
Where are your deploying your application?
Try:
Hope this helps.