{"action":"created","issue":{"url":"https://api.github.com/repos/rustyio/super-imap/issues/3","labels_url":"https://api.github.com/repos/rustyio/super-imap/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/rustyio/super-imap/issues/3/comments","events_url":"https://api.github.com/repos/rustyio/super-imap/issues/3/events","html_url":"https://github.com/rustyio/super-imap/issues/3","id":90212653,"number":3,"title":"Can't Deploy to Heroku","user":{"login":"uzegonemad","id":430255,"avatar_url":"https://avatars.githubusercontent.com/u/430255?v=3","gravatar_id":"","url":"https://api.github.com/users/uzegonemad","html_url":"https://github.com/uzegonemad","followers_url":"https://api.github.com/users/uzegonemad/followers","following_url":"https://api.github.com/users/uzegonemad/following{/other_user}","gists_url":"https://api.github.com/users/uzegonemad/gists{/gist_id}","starred_url":"https://api.github.com/users/uzegonemad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uzegonemad/subscriptions","organizations_url":"https://api.github.com/users/uzegonemad/orgs","repos_url":"https://api.github.com/users/uzegonemad/repos","events_url":"https://api.github.com/users/uzegonemad/events{/privacy}","received_events_url":"https://api.github.com/users/uzegonemad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-22T21:07:18Z","updated_at":"2015-06-25T01:01:34Z","closed_at":null,"body":"When I attempt to deploy to Heroku, I consistently get the error below.\r\n\r\nI don't do much with Heroku so there could easily be something I'm missing. I've just been tapping the \"Deploy to Heroku\" button from the readme.\r\n\r\n```\r\n-----> Ruby app detected\r\n-----> Compiling Ruby/Rails\r\n-----> Using Ruby version: ruby-2.2.0\r\n-----> Installing dependencies using 1.9.7\r\n       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment\r\n       Fetching gem metadata from https://rubygems.org/........\r\n       Fetching version metadata from https://rubygems.org/...\r\n       Fetching dependency metadata from https://rubygems.org/..\r\n       Fetching git://github.com/activeadmin/activeadmin.git\r\n       Using rake 10.4.2\r\n       Installing minitest 5.5.1\r\n       Installing i18n 0.7.0\r\n       Installing builder 3.2.2\r\n       Installing thread_safe 0.3.4\r\n       Installing rack 1.5.2\r\n       Installing erubis 2.7.0\r\n       Installing mime-types 2.4.3\r\n       Installing sass 3.2.19\r\n       Installing thor 0.19.1\r\n       Installing coffee-script-source 1.8.0\r\n       Installing execjs 2.2.2\r\n       Installing formtastic_i18n 0.1.1\r\n       Using bundler 1.9.7\r\n       Installing arel 5.0.1.20140414130214\r\n       Installing hike 1.2.3\r\n       Installing multi_json 1.10.1\r\n       Installing json 1.8.2\r\n       Installing orm_adapter 0.5.0\r\n       Installing tilt 1.4.1\r\n       Installing dotenv-deployment 0.0.2\r\n       Installing multipart-post 2.0.0\r\n       Installing gibberish 1.4.0\r\n       Installing jwt 1.2.0\r\n       Installing multi_xml 0.5.5\r\n       Installing netrc 0.10.2\r\n       Installing oauth 0.4.7\r\n       Installing bcrypt 3.1.9\r\n       Installing rails_serve_static_assets 0.0.3\r\n       Installing rails_stdout_logging 0.0.3\r\n       Installing kgio 2.9.3\r\n       Using rdoc 4.2.0\r\n       Installing pg 0.17.1\r\n       Installing tzinfo 1.2.2\r\n       Installing rack-test 0.6.3\r\n       Installing warden 1.2.3\r\n       Installing mail 2.6.3\r\n       Installing bourbon 3.2.4\r\n       Installing coffee-script 2.3.0\r\n       Installing raindrops 0.13.0\r\n       Installing airbrake 4.1.0\r\n       Installing uglifier 2.7.0\r\n       Installing sprockets 2.12.3\r\n       Installing dotenv 0.11.1\r\n       Installing faraday 0.9.1\r\n       Installing rest-client 1.7.2\r\n       Installing rails_12factor 0.0.3\r\n       Installing sdoc 0.4.1\r\n       Installing activesupport 4.1.6\r\n       Installing foreman 0.75.0\r\n       Installing oauth2 0.9.4\r\n       Installing actionview 4.1.6\r\n       Installing arbre 1.0.3\r\n       Installing activemodel 4.1.6\r\n       Installing delayed_job 4.0.6\r\n       Installing jbuilder 2.2.6\r\n       Installing actionpack 4.1.6\r\n       Installing activerecord 4.1.6\r\n       Installing ruby-prof 0.15.6\r\n       Installing actionmailer 4.1.6\r\n       Installing railties 4.1.6\r\n       Installing formtastic 3.1.3\r\n       Installing has_scope 0.6.0.rc\r\n       Installing kaminari 0.16.2\r\n       Installing sprockets-rails 2.2.2\r\n       Installing polyamorous 1.1.0\r\n       Installing delayed_job_active_record 4.0.3\r\n       Installing coffee-rails 4.0.1\r\n       Installing responders 1.0.0\r\n       Installing jquery-rails 3.1.2\r\n       Installing jquery-ui-rails 5.0.3\r\n       Installing rails 4.1.6\r\n       Installing sass-rails 4.0.5\r\n       Installing turbolinks 2.5.3\r\n       Installing ransack 1.6.2\r\n       Installing inherited_resources 1.4.1\r\n       Installing devise 3.4.1\r\n       Using activeadmin 1.0.0.pre from git://github.com/activeadmin/activeadmin.git (at 0becbef)\r\n       Installing unicorn 4.8.3\r\n       Bundle complete! 26 Gemfile dependencies, 79 gems now installed.\r\n       Gems in the groups development and test were not installed.\r\n       Bundled gems are installed into ./vendor/bundle.\r\n       Bundle completed (83.76s)\r\n       Cleaning up the bundler cache.\r\n-----> Preparing app for Rails asset pipeline\r\n       Running: rake assets:precompile\r\n       rake aborted!\r\n       Must set ENCRYPTION_KEY environment variable.\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/config/environments/production.rb:80:in `block in <top (required)>'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/railtie.rb:210:in `instance_eval'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/railtie.rb:210:in `configure'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/config/environments/production.rb:1:in `<top (required)>'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/engine.rb:594:in `block (2 levels) in <class:Engine>'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/engine.rb:593:in `each'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/engine.rb:593:in `block in <class:Engine>'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/initializable.rb:30:in `instance_exec'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/initializable.rb:30:in `run'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/initializable.rb:44:in `each'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/initializable.rb:44:in `tsort_each_child'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/initializable.rb:54:in `run_initializers'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/application.rb:300:in `initialize!'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/config/environment.rb:5:in `<top (required)>'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/application.rb:276:in `require_environment!'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/railties-4.1.6/lib/rails/application.rb:389:in `block in run_tasks_blocks'\r\n       /tmp/build_38fcae1d00bdf51ebfaf7c59cf7ba5f2/rustyio-super-imap-05bd728/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-2.2.2/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'\r\n       Tasks: TOP => environment\r\n       (See full trace by running task with --trace)\r\n !\r\n !     Precompiling assets failed.\r\n !\r\n !     Push rejected, failed to compile Ruby app\r\n```"},"comment":{"url":"https://api.github.com/repos/rustyio/super-imap/issues/comments/115058842","html_url":"https://github.com/rustyio/super-imap/issues/3#issuecomment-115058842","issue_url":"https://api.github.com/repos/rustyio/super-imap/issues/3","id":115058842,"user":{"login":"rustyio","id":28964,"avatar_url":"https://avatars.githubusercontent.com/u/28964?v=3","gravatar_id":"","url":"https://api.github.com/users/rustyio","html_url":"https://github.com/rustyio","followers_url":"https://api.github.com/users/rustyio/followers","following_url":"https://api.github.com/users/rustyio/following{/other_user}","gists_url":"https://api.github.com/users/rustyio/gists{/gist_id}","starred_url":"https://api.github.com/users/rustyio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustyio/subscriptions","organizations_url":"https://api.github.com/users/rustyio/orgs","repos_url":"https://api.github.com/users/rustyio/repos","events_url":"https://api.github.com/users/rustyio/events{/privacy}","received_events_url":"https://api.github.com/users/rustyio/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T01:01:34Z","updated_at":"2015-06-25T01:01:34Z","body":"The system is looking for an `ENCRYPTION_KEY` environment variable. (There is an error message at the top of the stack trace saying **Must set ENCRYPTION_KEY environment variable.**)\r\n\r\nI'm not sure how one should set this in a secure way while still providing a 'Deploy to Heroku' button. I may need to remove that button.\r\n\r\n "}}