I am trying to upload my app to heroku for now its just pure design with no need for database connection. I keep on getting this error when uploading.
Your bundle is complete!
remote: Gems in the groups development and test were not installed.
remote: It was installed into ./vendor/bundle
remote: Bundle completed (1.06s)
remote: Cleaning up the bundler cache.
remote: Could not detect rake tasks
remote: ensure you can run `$ bundle exec rake -P` against your app with no environment variables present
remote: and using the production group of your Gemfile.
remote: rake aborted!
remote: URI::InvalidURIError: bad URI(is not URI?): ://user:pass#127.0.0.1/dbname
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/common.rb:176:in `split'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/common.rb:211:in `parse'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/common.rb:747:in `parse'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:35:in `initialize'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:279:in `new'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:279:in `resolve_url_connection'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:242:in `resolve_string_connection'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:267:in `resolve_hash_connection'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:228:in `resolve_connection'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:152:in `resolve'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:164:in `block in resolve_all'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:163:in `each'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/connection_specification.rb:163:in `resolve_all'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/connection_handling.rb:69:in `resolve'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/core.rb:46:in `configurations='
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/core.rb:48:in `block in <module:Core>'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/concern.rb:120:in `class_eval'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/concern.rb:120:in `append_features'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/base.rb:297:in `include'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/base.rb:297:in `<class:Base>'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/base.rb:282:in `<module:ActiveRecord>'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/base.rb:23:in `<top (required)>'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/railtie.rb:39:in `require'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/railtie.rb:39:in `block in <class:Railtie>'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/railtie.rb:237:in `instance_exec'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/railtie.rb:237:in `block in run_tasks_blocks'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/railtie.rb:245:in `each'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/railtie.rb:245:in `each_registered_block'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/railtie.rb:237:in `run_tasks_blocks'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/application.rb:373:in `block in run_tasks_blocks'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine/railties.rb:13:in `each'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine/railties.rb:13:in `each'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/application.rb:373:in `run_tasks_blocks'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:449:in `load_tasks'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/Rakefile:6:in `<top (required)>'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load_rakefile'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:689:in `raw_load_rakefile'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
remote: /tmp/build_1f483b69aed84c97fc81983578b0b4e9/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
remote: vendor/bundle/bin/rake:16:in `load'
remote: vendor/bundle/bin/rake:16:in `<main>'
remote:
remote: ###### WARNING:
remote: No Procfile detected, using the default web server (webrick)
remote: https://devcenter.heroku.com/articles/ruby-default-web-server
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> (none)
remote: Default types for Ruby -> console, rake, web, worker
remote:
remote: -----> Compressing... done, 30.6MB
remote: -----> Launching... done, v14
remote: https://teknolohiya.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/teknolohiya.git
897dd11..5ac0b58 master -> master
it finished and says upload complete but when trying to check the application it shows
application error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
routes.rb
Rails.application.routes.draw do
#root
root 'home#index'
#welcome
get 'welcome' => 'welcome#index'
#about
get 'about' => 'about#index'
#contact
get 'contact' => 'contact#index'
end
I just encountered this and maybe not the issue for you but the problem is that Heroku is trying to call to the DATABASE_URL. I provisioned a free postgres db (even though we dont use it for the project) and was able to get around this problem.
Check the logs (heroku logs)
Check the network response using google chrome developer tool (right click, inspect element).
I am looking at this error
URI::InvalidURIError: bad URI(is not URI?): ://user:pass#127.0.0.1/dbname
I will guess it has to do with your routes. Show your routes.rb file Did you state the root of your site?
root 'welcome#index'
Related
Just updated a Rails 4.2 app to 5.2.1 and having trouble pushing it to Heroku. Errors below. I've tried what's recommended here and here by adding following to my rack_timeout.rb initializer.
Rails.application.config.middleware.insert_before Rack::Runtime, Rack::Timeout, service_timeout: 5
But that doesn't help. Thoughts?
$ git push heroku
...
remote: -----> Installing node-v8.10.0-linux-x64
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: NoMethodError: undefined method `timeout=' for Rack::Timeout:Class
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/config/initializers/rack_timeout.rb:2:in `<top (required)>'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:281:in `load'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:281:in `block in load'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:281:in `load'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/engine.rb:657:in `block in load_config_initializer'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.1/lib/active_support/notifications.rb:170:in `instrument'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/engine.rb:656:in `load_config_initializer'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/engine.rb:614:in `block (2 levels) in <class:Engine>'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/engine.rb:613:in `each'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/engine.rb:613:in `block in <class:Engine>'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/initializable.rb:32:in `instance_exec'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/initializable.rb:32:in `run'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/initializable.rb:50:in `each'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/initializable.rb:50:in `tsort_each_child'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/initializable.rb:60:in `run_initializers'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/application.rb:361:in `initialize!'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/config/environment.rb:5:in `<top (required)>'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/application.rb:337:in `require_environment!'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/railties-5.2.1/lib/rails/application.rb:520:in `block in run_tasks_blocks'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/airbrake-7.4.0/lib/airbrake/rake.rb:17:in `execute'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/airbrake-7.4.0/lib/airbrake/rake.rb:17:in `execute'
remote: /tmp/build_c66056b406a6fcdc37b9dde3124992ce/vendor/bundle/ruby/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote:
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
In config/initializers/rack_timeout.rb at line 2, you're doing Rack::Timeout.timeout =
This method doesn't exist anymore in the most recent versions of rack timeout. Since you upgraded, you need to change your code as well.
The rack-timeout readme indicates how you can configure rack-timeout with your rails app: https://github.com/heroku/rack-timeout#rails-apps-manually
I'm rather stumped by this one. It seems like it's a sprockets error that I'm hitting when trying to push to Heroku. The only thing I've done since my last push a day ago was added in the clockwork gem and associated lib/clock.rb and lib/clock_events_worker.rb files.
Any ideas what I should check? I haven't touched any CSS.
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: TypeError: can't modify immutable index
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/sprockets-2.12.4/lib/sprockets/index.rb:81:in `expire_index!'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/sprockets-2.12.4/lib/sprockets/base.rb:175:in `register_preprocessor'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/js-routes-1.2.2/lib/js_routes/engine.rb:11:in `block in <class:Engine>'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:36:in `call'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:44:in `each'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/finisher.rb:62:in `block in <module:Finisher>'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/railtie.rb:194:in `public_send'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/railtie.rb:194:in `method_missing'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/config/environment.rb:5:in `<top (required)>'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:328:in `require_environment!'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:443:in `block in run_tasks_blocks'
remote: /tmp/build_76f6fceeb8ba577abcf815781a45737e/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
In your file environments/development.rb , environments/production.rb etc., ensure that following values are set:
config.assets.debug = false
config.assets.compress = true
config.assets.digest = true
The solution seemed to be adding sprockets to my gemfile. After that it pushed just fine.
gem 'sprockets', '~> 3.0'
I had this issue because I was doing some production testing and forgot to reset the env back to development using RAILS_ENV=development.
BTW, it's bad practice to set your local env to production like that. I only needed prod to execute the precompiler so doing this:
RAILS_ENV=production bundle exec rake assets:precompile
Which executes the command for the specific env w/out affecting the environment variable.
I have googled extensively on this and seen many instances of the above error.
This could be caused by any/many things, and what I've seen is that the cause most likely could be found in the trace.
However, I don't know what could be causing my own error, even from the trace.
The thing I noticed, however, is the line:
SocketError: getaddrinfo: Name or service not known
Which to my understanding has to do with failure in connecting to a resource online. What this resource is in this case, I have no idea.
PS: this has been working on previous pushes. (Previous pushes to this repo has been with no glitch)
Below is the portion of my log trace showing the error.
remote: Bundle completed (61.86s)
remote: Cleaning up the bundler cache.
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: SocketError: getaddrinfo: Name or service not known
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/connection/ruby.rb:152:in `getaddrinfo'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/connection/ruby.rb:152:in `connect'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/connection/ruby.rb:211:in `connect'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/client.rb:322:in `establish_connection'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/client.rb:94:in `block in connect'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/client.rb:279:in `with_reconnect'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/client.rb:93:in `connect'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/client.rb:350:in `ensure_connected'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/client.rb:207:in `block in process'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/client.rb:292:in `logging'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/client.rb:206:in `process'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/client.rb:112:in `call'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis.rb:1320:in `block in smembers'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis.rb:37:in `block in synchronize'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis.rb:37:in `synchronize'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis.rb:1319:in `smembers'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/flipper-redis-0.7.0/lib/flipper/adapters/redis.rb:26:in `features'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/flipper-0.7.0/lib/flipper/adapters/instrumented.rb:36:in `block in features'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/flipper-0.7.0/lib/flipper/instrumenters/noop.rb:5:in `instrument'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/flipper-0.7.0/lib/flipper/adapters/instrumented.rb:35:in `features'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/flipper-0.7.0/lib/flipper/adapters/memoizable.rb:28:in `features'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/flipper-0.7.0/lib/flipper/dsl.rb:230:in `features
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/config/initializers/flipper.rb:10:in `<top (required)>'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:268:in `load'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:268:in `block in load'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:240:in `load_dependency'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:268:in `load'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:652:in `block in load_config_initializer'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/notifications.rb:166:in `instrument'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:651:in `load_config_initializer'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:615:in `each'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/engine.rb:615:in `block in <class:Engine>'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in `instance_exec'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in `run'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:55:in `block in run_initializers'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:44:in `each'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:44:in `tsort_each_child'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/initializable.rb:54:in `run_initializers'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/application.rb:352:in `initialize!'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/config/environment.rb:5:in `<top (required)>'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `block in require'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:240:in `load_dependency'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/application.rb:328:in `require_environment!'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/railties-4.2.2/lib/rails/application.rb:457:in `block in run_tasks_blocks'
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.3.1/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to oge-resilience-staging.
remote:
To git#heroku.com:*****'
! [remote rejected] dev -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:*****'
flipper.rb
require 'flipper/adapters/redis'
flipper_redis_options = {}
flipper_redis_options[:url] = ENV['BOXEN_REDIS_URL'] || ENV['REDISCLOUD_URL']
flipper_redis_client = Redis.new(flipper_redis_options)
flipper_adapter = Flipper::Adapters::Redis.new(flipper_redis_client)
FLIPPER = Flipper.new(flipper_adapter)
unless FLIPPER.features.to_a.detect{|feature| feature.name == "resilience_enabled" }
FLIPPER[:resilience_enabled].disable
end
I will like to understand what the problem is here, and how to go about it. Thanks.
remote: SocketError: getaddrinfo: Name or service not known
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/vendor/bundle/ruby/2.0.0/gems/redis-3.2.1/lib/redis/connection/ruby.rb:152:in `getaddrinfo'
It looks like your app is trying to connect to Redis in the following initializer
remote: /tmp/build_96c4b997594af6741a41839fe335a90a/config/initializers/flipper.rb:10:in `<top (required)>'
but the Redis server is not available (or invalid).
I am trying to deploy exisitng ruby on rails app(sqlite3) to Openshift followin
http://www.arubystory.com/2013/12/tutorial-todo-rails-openshift.html
How ever after getting to the point of deployment, I am getting the below error,
remote: = 1.8.7 : gem install rdoc-data; rdoc-data --install
remote: = 1.9.1 : gem install rdoc-data; rdoc-data --install
remote: >= 1.9.2 : nothing to do! Yay!
remote: Preparing build for deployment
remote: Deployment id is bf35ba79
remote: Activating deployment
remote: rake aborted!
remote: Gem::LoadError: Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activerecord-4.1.8/lib/active_record/connection_adapters/connection_specification.rb:190:in `rescue in spec'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activerecord-4.1.8/lib/active_record/connection_adapters/connection_specification.rb:187:in `spec'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activerecord-4.1.8/lib/active_record/connection_handling.rb:50:in `establish_connection'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activerecord-4.1.8/lib/active_record/railtie.rb:129:in `block (2 levels) in <class:Railtie>'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activesupport-4.1.8/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activesupport-4.1.8/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activesupport-4.1.8/lib/active_support/lazy_load_hooks.rb:28:in `block in on_load'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activesupport-4.1.8/lib/active_support/lazy_load_hooks.rb:27:in `each'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activesupport-4.1.8/lib/active_support/lazy_load_hooks.rb:27:in `on_load'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activerecord-4.1.8/lib/active_record/railtie.rb:118:in `block in <class:Railtie>'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `instance_exec'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `run'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/railties-4.1.8/lib/rails/initializable.rb:55:in `block in run_initializers'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/railties-4.1.8/lib/rails/initializable.rb:54:in `run_initializers'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/railties-4.1.8/lib/rails/application.rb:300:in `initialize!'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/config/environment.rb:5:in `<top (required)>'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `block in require'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/railties-4.1.8/lib/rails/application.rb:276:in `require_environment!'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/railties-4.1.8/lib/rails/application.rb:389:in `block in run_tasks_blocks'
remote: /var/lib/openshift/5677033589f5cfe207000097/app-root/runtime/repo/vendor/bundle/ruby/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote: -------------------------
remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 5677033589f5cfe207000097 (Error activating gear: CLIENT_ERROR: Failed to execute: 'control deploy' for /var/lib/openshift/5677033589f5cfe207000097/ruby
remote: #<IO:0x00000001981380>
remote: #<IO:0x00000001981308>
remote: )
remote: Deployment completed with status: failure
remote: postreceive failed
To ssh://5677033589f5cfe207000097#efss-arunresearch.rhcloud.com/~/git/efss.git/
dde82df..a01404c master -> master
I validated my gem file it has sqlite3 mentioned and application in openshift still shows as deploying status.
I've just deployed an application to Heroku, but I keep getting an error message that it cannot find Base64. Why would this be? What am I doing incorrectly?
(master) $ git push staging master
Counting objects: 1278, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (366/366), done.
Writing objects: 100% (1278/1278), 152.61 KiB | 0 bytes/s, done.
Total 1278 (delta 985), reused 1173 (delta 891)
[trim]
remote: Could not detect rake tasks
remote: ensure you can run `$ bundle exec rake -P` against your app with no environment variables present
remote: and using the production group of your Gemfile.
remote: rake aborted!
remote: LoadError: cannot load such file -- Base64
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `block in require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:236:in `load_dependency'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/myob-api-0.0.4/lib/myob/api/client.rb:1:in `<top (required)>'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `block in require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:236:in `load_dependency'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/myob-api-0.0.4/lib/myob/api.rb:10:in `<top (required)>'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/bundler-1.9.7/lib/bundler/runtime.rb:85:in `require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/bundler-1.9.7/lib/bundler/runtime.rb:85:in `rescue in block in require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/bundler-1.9.7/lib/bundler/runtime.rb:68:in `block in require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/bundler-1.9.7/lib/bundler/runtime.rb:61:in `each'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/bundler-1.9.7/lib/bundler/runtime.rb:61:in `require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/bundler-1.9.7/lib/bundler.rb:134:in `require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/config/application.rb:13:in `<top (required)>'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/Rakefile:4:in `require'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/Rakefile:4:in `<top (required)>'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load_rakefile'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:689:in `raw_load_rakefile'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
remote: /tmp/build_d648ede1219e96df07f2f2f514c64e7d/vendor/bundle/ruby/1.9.1/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
remote: vendor/bundle/bin/rake:16:in `load'
remote: vendor/bundle/bin/rake:16:in `<main>'
remote:
remote: ###### WARNING:
remote: Injecting plugin 'rails_log_stdout'
remote:
remote: ###### WARNING:
remote: Injecting plugin 'rails3_serve_static_assets'
remote:
remote: ###### WARNING:
remote: Add 'rails_12factor' gem to your Gemfile to skip plugin injection
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> web, worker
remote: Default types for Ruby -> console, rake
remote:
remote: -----> Compressing... done, 35.3MB
remote: -----> Launching... done, v611
remote: [app] deployed to Heroku
remote:
remote: ! Cedar-10 will reach end-of-life on November 4th, 2015.
remote: ! Upgrade to Cedar-14 at your earliest convenience.
remote: ! For more information, check out the following Dev Center article:
remote: ! https://devcenter.heroku.com/articles/cedar-14-migration
remote:
remote: Verifying deploy... done.
To git#heroku.com:app].git
7ce6443..acf1899 master -> master
Turns out that the MYOB-API gem had a typo. Base64 is not base64