upnext / BeaconControl

Setup and manage large beacon deployments with BeaconControl open source platform
https://beaconcontrol.io
BSD 3-Clause "New" or "Revised" License
93 stars 63 forks source link

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

Open muhammadyana opened 6 years ago

muhammadyana commented 6 years ago

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.

kaju666 commented 6 years ago

have the same problem.

racar commented 6 years ago

In gemfile, fix the references according: gem 'inherited_resources', branch: 'master', github: 'activeadmin/inherited_resources' gem 'simple_form'