Code Monkey home page Code Monkey logo

Comments (3)

hollabaq86 avatar hollabaq86 commented on August 19, 2024

👋 @panSarin I'm getting a slightly different error message when trying to run the deploy via Heroku:

-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
       rake aborted!
       ArgumentError: wrong number of arguments (given 3, expected 2)
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/static.rb:111:in `initialize'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/stack.rb:37:in `new'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/stack.rb:37:in `build'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/stack.rb:101:in `block in build'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/stack.rb:101:in `each'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/stack.rb:101:in `inject'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/stack.rb:101:in `build'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/engine.rb:510:in `block in app'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/engine.rb:506:in `synchronize'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/engine.rb:506:in `app'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/application/finisher.rb:47:in `block in <module:Finisher>'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/initializable.rb:32:in `instance_exec'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/initializable.rb:32:in `run'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/initializable.rb:61:in `block in run_initializers'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/initializable.rb:60:in `run_initializers'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/application.rb:361:in `initialize!'
       /tmp/build_49c22640/config/environment.rb:5:in `<main>'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/application.rb:337:in `require_environment!'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/railties-5.2.4.5/lib/rails/application.rb:520:in `block in run_tasks_blocks'
       /tmp/build_49c22640/vendor/bundle/ruby/3.1.0/gems/sprockets-rails-3.4.0/lib/sprockets/rails/task.rb:61:in `block (2 levels) in define'
       Tasks: TOP => environment
       (See full trace by running task with --trace)
 !
 !     Precompiling assets failed.
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

Something's definitely up, most likely a dependency was bumped that broke the Heroku deploy (our CI doesn't test Heroku deploy-ability, which seems like a miss on our part!).

We'll take a deeper look to try and identify the issue.

from braintree_rails_example.

hollabaq86 avatar hollabaq86 commented on August 19, 2024

for internal tracking, issue 406

from braintree_rails_example.

hollabaq86 avatar hollabaq86 commented on August 19, 2024

Since Heroku is ending their free tier, it doesn't make sense for us to have the deploy to Heroku button. It's now removed from the README, so I'm closing this issue.

from braintree_rails_example.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.