Flo Rahl
Flo Rahl

Reputation: 1054

How to run the authorization rake task for paperclip-dropbox?

I want to use paperclip-dropbox but I don't succeed making it work :

$ rake dropbox:authorize APP_KEY=your_app_key APP_SECRET=your_app_secret ACCESS_TYPE=dropbox|foobar

foobar : commande introuvable

[7]+ Stoppé

Do you know how to make it pass ?

Upvotes: 2

Views: 598

Answers (1)

user94559
user94559

Reputation: 60143

ACCESS_TYPE should either be dropbox or app_folder, depending on how you set up the permissions for your app.

I'm guessing you're using app folder permissions, so please try this:

rake dropbox:authorize APP_KEY=abc123 APP_SECRET=xyz789 ACCESS_TYPE=app_folder

but replace abc123 and xyz789 with your app key and secret.

Upvotes: 4

Related Questions