heroku

hao@ub3% mkdir heroku                                                       [~]
hao@ub3% cd heroku                                                          [~]
hao@ub3% heroku create                                               [~/heroku]
Heroku CLI submits usage information back to Heroku. If you would like to disable this, set `skip_analytics: true` in /home/hao/.heroku/config.json
Creating app... done, ⬢ agile-shelf-74459
https://agile-shelf-74459.herokuapp.com/ | https://git.heroku.com/agile-shelf-74459.git


hao@ub3%                                                             [~/heroku]
hao@ub3% git add app.rb                                              [~/heroku]
hao@ub3% git add config.ru                                           [~/heroku]
hao@ub3% git add public                                              [~/heroku]
hao@ub3% git add views                                               [~/heroku]
hao@ub3% git commit -m 'initial commit'                              [~/heroku]

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <hao@ub3.(none)>) not allowed

hao@ub3% git config --global user.email 'hiroshi.ohtsuka3@uniadex.co.jp'
hao@ub3% get config --global user.name 'Hiro Ohtsuka'                [~/heroku]
GET is correct? [n,y,a,e]:e
hao@ub3% git config --global user.name 'Hiro Ohtsuka'                [~/heroku]
hao@ub3% git commit -m 'initial commit'                              [~/heroku]
[master (root-commit) e202dea] initial commit
 5 files changed, 22 insertions(+)
 create mode 100644 Gemfile
 create mode 100644 Procfile
 create mode 100644 app.rb
 create mode 100644 config.ru
 create mode 100644 views/index.erb
hao@ub3% git push heroku master                                      [~/heroku]
Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (8/8), 744 bytes | 0 bytes/s, done.
Total 8 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/NoLockfile
remote:  !
remote:  !     Gemfile.lock required. Please check it in.
remote:  !
remote:
remote:  !     Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
remote: !       Push rejected to agile-shelf-74459.
remote:
To https://git.heroku.com/agile-shelf-74459.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/agile-shelf-74459.git'
Last modified: 2016-07-12 by hiroshi.ohtsuka@u...