I am using Rails 4.0.0.rc2 and Ruby 1.9.3 I created the application and I push this application in the GitHub repository using git push .
When I try to execute the git push heroku master command , I get the following error:
C:\Sites\first_app>git push heroku master Counting objects: 101, done. Delta compression using up to 4 threads. Compressing objects: 100% (92/92), done. Writing objects: 100% (101/101), 21.02 KiB, done. Total 101 (delta 7), reused 0 (delta 0) remote: Compressing source files... done. remote: Building source: remote: remote: -----> Ruby app detected remote: -----> Compiling Ruby/Rails remote: sh: 2: Syntax error: Unterminated quoted string remote: ! remote: ! There was an error parsing your Gemfile, we cannot continue remote: ! --- ERROR REPORT TEMPLATE --------------------------------------------------- remote: ! - What did you do? remote: ! remote: ! I ran the command `/tmp/d20151213-205-1wyxt7v/bundler-1.9.7/bin/b undle check` remote: ! remote: ! - What did you expect to happen? remote: ! remote: ! I expected Bundler to... remote: ! remote: ! - What happened instead? remote: ! remote: ! Instead, what actually happened was... remote: ! remote: ! remote: ! Error details remote: ! remote: ! LocalJumpError: no block given (yield) remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/b undler/dsl.rb:166:in `group' remote: ! /tmp/build_2e1664b3e9f6ede5a8c91d27f6a70ce3/Gemfile:11:in `eval_gemfile' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/dsl.rb:32:in `instance_eval' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/dsl.rb:32:in `eval_gemfile' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/dsl.rb:10:in `evaluate' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/definition.rb:25:in `build' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler.rb:155:in `definition' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/cli/check.rb:11:in `run' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/cli.rb:103:in `check' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/cli.rb:10:in `start' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/bin/bundle:20:in `block in <top (required)>' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/gems/bundler-1.9.7/bin/bundle:18:in `<top (required)>' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/bin/bundle:23:in `load' remote: ! /tmp/d20151213-205-1wyxt7v/bundler-1.9.7/bin/bundle:23:in `<main>' remote: ! remote: ! Environment remote: ! remote: ! Bundler 1.9.7 remote: ! Rubygems 2.4.5.1 remote: ! Ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux] remote: ! GEM_HOME /tmp/build_2e1664b3e9f6ede5a8c91d27f6a70ce3/vendor/bundle remote: ! GEM_PATH remote: ! Git 1.9.1 remote: ! remote: ! Bundler settings remote: ! remote: ! frozen remote: ! Set for the current user (/app/.bundle/config): "1" remote: ! path remote: ! Set for the current user (/app/.bundle/config): "vendor/bundle" remote: ! bin remote: ! Set for the current user (/app/.bundle/config): "vendor/bundle/bin" remote: ! jobs remote: ! Set for the current user (/app/.bundle/config): "4" remote: ! without remote: ! Set for the current user (/app/.bundle/config): "development:test" remote: ! disable_shared_gems remote: ! Set for the current user (/app/.bundle/config): "1" remote: ! gemfile remote: ! Set via BUNDLE_GEMFILE: "/tmp/build_2e1664b3e9f6ede5a8c91d27f6a70ce3/Gemfile" remote: ! --- TEMPLATE END ---------------------------------------------------------------- remote: ! remote: ! Unfortunately, an unexpected error occurred, and Bundler cannot continue. remote: ! remote: ! First, try this link to see if there are any existing issue reports for this error: remote: ! https:
and when i use the heroku open command
I got this page
heroku open
what's happening?
How can I deploy to Heroku?
Below is my whole gemfile source
source 'https://rubygems.org'
My local screenshot is localhost: 3000
source share