Setting up dropbox with Rails application.

I just set up my site with Heroku, and I’m setting up dropbox so all the images are saved. However, I’ve hit a problem while trying to setup dropbox in my command line. I am currently going step by step with the “the startups guide to web development with ruby on rail”, following everything and still having trouble.

After migrating successfully, I’ve hit a problem with the rake.

rake dropbox:authorize APP_KEY=your_app_key APP_SECRET=your_app_secret ACCESS_TYPE= dropbox | app_folder.
When I insert that into my command line with my information, I get the following error: rake aborted! Don't know how to build task 'dropbox:authorize'
This is my current GEM file:

source 'https://rubygems.org'
ruby "2.0.0"
gem 'rails', '4.1.8'
gem 'sass-rails', '~> 4.0.3'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'bootstrap-sass', '~> 3.3.5'
gem 'coffee-script-source', '1.8.0'
gem "paperclip", "~> 4.2"
gem "paperclip-dropbox", ">= 1.1.7"
group :production do
gem 'pg'
gem 'rails_12factor'
end
group :development, :test do
gem 'sqlite3'
end
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'tzinfo-data', platforms: [:mingw, :mswin]

I don’t know what the problem is.

I just set up my site with Heroku, and I'm setting up dropbox so all the images are saved. However, I've hit a problem while trying to setup dropbox in my command line. I am currently going step by step with the "the startups guide to web development with ruby on rail", following everything and still having trouble.

After migrating successfully, I've hit a problem with the rake.

rake dropbox:authorize APP_KEY=your_app_key APP_SECRET=your_app_secret ACCESS_TYPE= dropbox | app_folder.

When I insert that into my command line with my information, I get the following error: rake aborted! Don't know how to build task 'dropbox:authorize'

Did you run bundle install?

Colin

Yea I just ran it again to see if it would work, and no luck. I have no idea whats wrong, and I can’t move on without this step.

Yea I just ran it again to see if it would work, and no luck. I have no idea whats wrong, and I can't move on without this step.

What do you get for bundle exec rake dropbox:....

If it still doesn't work can you post Gemfile.lock and the output from rake -T

By the way I would be happier if you would post your reply inline in the previous post, it makes it easier for me to follow the thread. Thanks.

Colin