Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ heroku create
- Creating app... done, ⬢ safe-citadel-65229
- https://safe-citadel-65229.herokuapp.com/ | https://git.heroku.com/safe-citadel-65229.git
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git remote show
- heroku
- origin
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ ls
- app config.ru Gemfile log Rakefile test
- bin db Gemfile.lock package.json README.md tmp
- config gemfile lib public storage vendor
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ code .
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ bundle install --without production
- Your Gemfile lists the gem pg (>= 0) more than once.
- You should probably keep only one of them.
- Remove any duplicate entries and specify the gem only once (per group).
- While it's not a problem now, it could cause errors if you change the version of one of them later.
- The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
- Fetching gem metadata from https://rubygems.org/............
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.2.2
- Using builder 3.2.3
- Using erubi 1.8.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.2.2
- Using rack 2.0.6
- Using rack-test 1.1.0
- Using actionpack 5.2.2
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.7.0
- Using actioncable 5.2.2
- Using globalid 0.4.2
- Using activejob 5.2.2
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.2.2
- Using activemodel 5.2.2
- Using arel 9.0.0
- Using activerecord 5.2.2
- Using mimemagic 0.3.3
- Using marcel 0.3.3
- Using activestorage 5.2.2
- Using public_suffix 3.0.3
- Using addressable 2.6.0
- Using io-like 0.3.0
- Using archive-zip 0.11.0
- Using bindex 0.5.0
- Using msgpack 1.2.6
- Using bootsnap 1.4.0
- Using bundler 1.17.2
- Using byebug 11.0.0
- Using regexp_parser 1.3.0
- Using xpath 3.2.0
- Using capybara 3.13.2
- Using ffi 1.10.0
- Using childprocess 0.9.0
- Using chromedriver-helper 2.1.0
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.2.2
- Using coffee-rails 4.2.2
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using rb-fsevent 0.10.3
- Using rb-inotify 0.10.0
- Using ruby_dep 1.5.0
- Using listen 3.1.5
- Fetching pg 1.1.4
- Installing pg 1.1.4 with native extensions
- Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- current directory:
- /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/pg-1.1.4/ext
- /home/meni/.rbenv/versions/2.6.0/bin/ruby -I
- /home/meni/.rbenv/versions/2.6.0/lib/ruby/2.6.0 -r
- ./siteconf20190220-4320-1t7gkkb.rb extconf.rb
- checking for pg_config... no
- No pg_config... trying anyway. If building fails, please try again with
- --with-pg-config=/path/to/pg_config
- checking for libpq-fe.h... no
- Can't find the 'libpq-fe.h header
- *** extconf.rb failed ***
- Could not create Makefile due to some reason, probably lack of necessary
- libraries and/or headers. Check the mkmf.log file for more details. You may
- need configuration options.
- Provided configuration options:
- --with-opt-dir
- --without-opt-dir
- --with-opt-include
- --without-opt-include=${opt-dir}/include
- --with-opt-lib
- --without-opt-lib=${opt-dir}/lib
- --with-make-prog
- --without-make-prog
- --srcdir=.
- --curdir
- --ruby=/home/meni/.rbenv/versions/2.6.0/bin/$(RUBY_BASE_NAME)
- --with-pg
- --without-pg
- --enable-windows-cross
- --disable-windows-cross
- --with-pg-config
- --without-pg-config
- --with-pg_config
- --without-pg_config
- --with-pg-dir
- --without-pg-dir
- --with-pg-include
- --without-pg-include=${pg-dir}/include
- --with-pg-lib
- --without-pg-lib=${pg-dir}/lib
- To see why this extension failed to compile, please check the mkmf.log which can
- be found here:
- /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/extensions/x86_64-linux/2.6.0-static/pg-1.1.4/mkmf.log
- extconf failed, exit code 1
- Gem files will remain installed in
- /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/pg-1.1.4 for
- inspection.
- Results logged to
- /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/extensions/x86_64-linux/2.6.0-static/pg-1.1.4/gem_make.out
- An error occurred while installing pg (1.1.4), and Bundler cannot
- continue.
- Make sure that `gem install pg -v '1.1.4' --source 'https://rubygems.org/'`
- succeeds before bundling.
- In Gemfile:
- pg
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ bundle install --without production
- [!] There was an error parsing `Gemfile`: syntax error, unexpected end, expecting end-of-input - end
- ^~~. Bundler cannot continue.
- # from /home/meni/odin_on_rails/my_first_rails_app/Gemfile:16
- # -------------------------------------------
- # end
- > end
- #
- # -------------------------------------------
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ bundle install --without production
- The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.2.2
- Using builder 3.2.3
- Using erubi 1.8.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.2.2
- Using rack 2.0.6
- Using rack-test 1.1.0
- Using actionpack 5.2.2
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.7.0
- Using actioncable 5.2.2
- Using globalid 0.4.2
- Using activejob 5.2.2
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.2.2
- Using activemodel 5.2.2
- Using arel 9.0.0
- Using activerecord 5.2.2
- Using mimemagic 0.3.3
- Using marcel 0.3.3
- Using activestorage 5.2.2
- Using public_suffix 3.0.3
- Using addressable 2.6.0
- Using io-like 0.3.0
- Using archive-zip 0.11.0
- Using bindex 0.5.0
- Using msgpack 1.2.6
- Using bootsnap 1.4.0
- Using bundler 1.17.2
- Using byebug 11.0.0
- Using regexp_parser 1.3.0
- Using xpath 3.2.0
- Using capybara 3.13.2
- Using ffi 1.10.0
- Using childprocess 0.9.0
- Using chromedriver-helper 2.1.0
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.2.2
- Using coffee-rails 4.2.2
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using rb-fsevent 0.10.3
- Using rb-inotify 0.10.0
- Using ruby_dep 1.5.0
- Using listen 3.1.5
- Using puma 3.12.0
- Using sprockets 3.7.2
- Using sprockets-rails 3.2.1
- Using rails 5.2.2
- Using rubyzip 1.2.2
- Using sass-listen 4.0.0
- Using sass 3.7.3
- Using tilt 2.0.9
- Using sass-rails 5.0.7
- Using selenium-webdriver 3.141.0
- Using spring 2.0.2
- Using spring-watcher-listen 2.0.1
- Using sqlite3 1.3.13
- Using turbolinks-source 5.2.0
- Using turbolinks 5.2.0
- Using uglifier 4.1.20
- Using web-console 3.7.0
- Bundle complete! 19 Gemfile dependencies, 79 gems now installed.
- Gems in the group production were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git status
- On branch master
- Your branch is ahead of 'origin/master' by 1 commit.
- (use "git push" to publish your local commits)
- Changes not staged for commit:
- (use "git add <file>..." to update what will be committed)
- (use "git checkout -- <file>..." to discard changes in working directory)
- modified: Gemfile
- no changes added to commit (use "git add" and/or "git commit -a")
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git add .
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git commit -m 'updates for heroku deployment'
- [master ed76e62] updates for heroku deployment
- 1 file changed, 6 insertions(+), 9 deletions(-)
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git push origin master
- Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
- Counting objects: 43, done.
- Delta compression using up to 2 threads.
- Compressing objects: 100% (39/39), done.
- Writing objects: 100% (43/43), 6.79 KiB | 187.00 KiB/s, done.
- Total 43 (delta 6), reused 0 (delta 0)
- remote: Resolving deltas: 100% (6/6), completed with 4 local objects.
- To github.com:TheMelpo/my_first_rails_app.git
- fd726f3..ed76e62 master -> master
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git push heroku master
- ! Your account themelpo@gmail.com does not have access to appname.
- !
- ! SSH Key Fingerprint: bd:a3:89:37:7c:32:ef:7e:4b:d4:ad:24:85:17:e0:ad
- fatal: Could not read from remote repository.
- Please make sure you have the correct access rights
- and the repository exists.
- meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement