Skip to content

The branch option for gem 'simple_form' is not allowed when deploye to heroku #52

@muhammadyana

Description

@muhammadyana

Hallo..
i have an error when deployin to heroku, here the log

-----> Ruby app detected
-----> Compiling Ruby/Rails
sh: 1: git://github.com/josevalim/inherited_resources.git: not found
sh: 1: bundle: not found
sh: 1: https: not found
sh: 1: Gemfile: not found
sh: 1: branch: not found
ERROR: While executing gem ... (Gem::CommandLineError)
Unknown command simple_form
!
! There was an error parsing your Gemfile, we cannot continue
! The git source git://github.com/josevalim/inherited_resources.git uses the git protocol, which transmits data without encryption. Disable this warning with bundle config git.allow_insecure true, or switch to the https protocol to keep your data secure.
!
! [!] There was an error parsing Gemfile: The branch option for gem 'simple_form' is not allowed. Only gems with a git source can specify a branch. Bundler cannot continue.
!
! # from /tmp/build_48e093313f41b2058ebdcca1b884f573/upnext-BeaconControl-eca71b6/Gemfile:101
! # -------------------------------------------
! #
! > gem 'simple_form', branch: 'bootstrap-3'
! #
! # -------------------------------------------
!
! Push rejected, failed to compile Ruby app.
! Push failed

When i setup in local i've change the gem into gem 'simple_form' without specify branch.
can u fixed it in repo? or there is another way

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions