Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.53 KB | None | 0 0
  1. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ heroku create
  2. Creating app... done, ⬢ safe-citadel-65229
  3. https://safe-citadel-65229.herokuapp.com/ | https://git.heroku.com/safe-citadel-65229.git
  4. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git remote show
  5. heroku
  6. origin
  7. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ ls
  8. app config.ru Gemfile log Rakefile test
  9. bin db Gemfile.lock package.json README.md tmp
  10. config gemfile lib public storage vendor
  11. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ code .
  12. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ bundle install --without production
  13.  
  14. Your Gemfile lists the gem pg (>= 0) more than once.
  15. You should probably keep only one of them.
  16. Remove any duplicate entries and specify the gem only once (per group).
  17. While it's not a problem now, it could cause errors if you change the version of one of them later.
  18. 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`.
  19. Fetching gem metadata from https://rubygems.org/............
  20. Using rake 12.3.2
  21. Using concurrent-ruby 1.1.4
  22. Using i18n 1.5.3
  23. Using minitest 5.11.3
  24. Using thread_safe 0.3.6
  25. Using tzinfo 1.2.5
  26. Using activesupport 5.2.2
  27. Using builder 3.2.3
  28. Using erubi 1.8.0
  29. Using mini_portile2 2.4.0
  30. Using nokogiri 1.10.1
  31. Using rails-dom-testing 2.0.3
  32. Using crass 1.0.4
  33. Using loofah 2.2.3
  34. Using rails-html-sanitizer 1.0.4
  35. Using actionview 5.2.2
  36. Using rack 2.0.6
  37. Using rack-test 1.1.0
  38. Using actionpack 5.2.2
  39. Using nio4r 2.3.1
  40. Using websocket-extensions 0.1.3
  41. Using websocket-driver 0.7.0
  42. Using actioncable 5.2.2
  43. Using globalid 0.4.2
  44. Using activejob 5.2.2
  45. Using mini_mime 1.0.1
  46. Using mail 2.7.1
  47. Using actionmailer 5.2.2
  48. Using activemodel 5.2.2
  49. Using arel 9.0.0
  50. Using activerecord 5.2.2
  51. Using mimemagic 0.3.3
  52. Using marcel 0.3.3
  53. Using activestorage 5.2.2
  54. Using public_suffix 3.0.3
  55. Using addressable 2.6.0
  56. Using io-like 0.3.0
  57. Using archive-zip 0.11.0
  58. Using bindex 0.5.0
  59. Using msgpack 1.2.6
  60. Using bootsnap 1.4.0
  61. Using bundler 1.17.2
  62. Using byebug 11.0.0
  63. Using regexp_parser 1.3.0
  64. Using xpath 3.2.0
  65. Using capybara 3.13.2
  66. Using ffi 1.10.0
  67. Using childprocess 0.9.0
  68. Using chromedriver-helper 2.1.0
  69. Using coffee-script-source 1.12.2
  70. Using execjs 2.7.0
  71. Using coffee-script 2.4.1
  72. Using method_source 0.9.2
  73. Using thor 0.20.3
  74. Using railties 5.2.2
  75. Using coffee-rails 4.2.2
  76. Using multi_json 1.13.1
  77. Using jbuilder 2.8.0
  78. Using rb-fsevent 0.10.3
  79. Using rb-inotify 0.10.0
  80. Using ruby_dep 1.5.0
  81. Using listen 3.1.5
  82. Fetching pg 1.1.4
  83. Installing pg 1.1.4 with native extensions
  84. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  85.  
  86. current directory:
  87. /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/pg-1.1.4/ext
  88. /home/meni/.rbenv/versions/2.6.0/bin/ruby -I
  89. /home/meni/.rbenv/versions/2.6.0/lib/ruby/2.6.0 -r
  90. ./siteconf20190220-4320-1t7gkkb.rb extconf.rb
  91. checking for pg_config... no
  92. No pg_config... trying anyway. If building fails, please try again with
  93. --with-pg-config=/path/to/pg_config
  94. checking for libpq-fe.h... no
  95. Can't find the 'libpq-fe.h header
  96. *** extconf.rb failed ***
  97. Could not create Makefile due to some reason, probably lack of necessary
  98. libraries and/or headers. Check the mkmf.log file for more details. You may
  99. need configuration options.
  100.  
  101. Provided configuration options:
  102. --with-opt-dir
  103. --without-opt-dir
  104. --with-opt-include
  105. --without-opt-include=${opt-dir}/include
  106. --with-opt-lib
  107. --without-opt-lib=${opt-dir}/lib
  108. --with-make-prog
  109. --without-make-prog
  110. --srcdir=.
  111. --curdir
  112. --ruby=/home/meni/.rbenv/versions/2.6.0/bin/$(RUBY_BASE_NAME)
  113. --with-pg
  114. --without-pg
  115. --enable-windows-cross
  116. --disable-windows-cross
  117. --with-pg-config
  118. --without-pg-config
  119. --with-pg_config
  120. --without-pg_config
  121. --with-pg-dir
  122. --without-pg-dir
  123. --with-pg-include
  124. --without-pg-include=${pg-dir}/include
  125. --with-pg-lib
  126. --without-pg-lib=${pg-dir}/lib
  127.  
  128. To see why this extension failed to compile, please check the mkmf.log which can
  129. be found here:
  130.  
  131. /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
  132.  
  133. extconf failed, exit code 1
  134.  
  135. Gem files will remain installed in
  136. /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/pg-1.1.4 for
  137. inspection.
  138. Results logged to
  139. /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
  140.  
  141. An error occurred while installing pg (1.1.4), and Bundler cannot
  142. continue.
  143. Make sure that `gem install pg -v '1.1.4' --source 'https://rubygems.org/'`
  144. succeeds before bundling.
  145.  
  146. In Gemfile:
  147. pg
  148. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$
  149. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ bundle install --without production
  150.  
  151.  
  152. [!] There was an error parsing `Gemfile`: syntax error, unexpected end, expecting end-of-input - end
  153. ^~~. Bundler cannot continue.
  154.  
  155. # from /home/meni/odin_on_rails/my_first_rails_app/Gemfile:16
  156. # -------------------------------------------
  157. # end
  158. > end
  159. #
  160. # -------------------------------------------
  161. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$
  162. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ bundle install --without production
  163. 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`.
  164. Using rake 12.3.2
  165. Using concurrent-ruby 1.1.4
  166. Using i18n 1.5.3
  167. Using minitest 5.11.3
  168. Using thread_safe 0.3.6
  169. Using tzinfo 1.2.5
  170. Using activesupport 5.2.2
  171. Using builder 3.2.3
  172. Using erubi 1.8.0
  173. Using mini_portile2 2.4.0
  174. Using nokogiri 1.10.1
  175. Using rails-dom-testing 2.0.3
  176. Using crass 1.0.4
  177. Using loofah 2.2.3
  178. Using rails-html-sanitizer 1.0.4
  179. Using actionview 5.2.2
  180. Using rack 2.0.6
  181. Using rack-test 1.1.0
  182. Using actionpack 5.2.2
  183. Using nio4r 2.3.1
  184. Using websocket-extensions 0.1.3
  185. Using websocket-driver 0.7.0
  186. Using actioncable 5.2.2
  187. Using globalid 0.4.2
  188. Using activejob 5.2.2
  189. Using mini_mime 1.0.1
  190. Using mail 2.7.1
  191. Using actionmailer 5.2.2
  192. Using activemodel 5.2.2
  193. Using arel 9.0.0
  194. Using activerecord 5.2.2
  195. Using mimemagic 0.3.3
  196. Using marcel 0.3.3
  197. Using activestorage 5.2.2
  198. Using public_suffix 3.0.3
  199. Using addressable 2.6.0
  200. Using io-like 0.3.0
  201. Using archive-zip 0.11.0
  202. Using bindex 0.5.0
  203. Using msgpack 1.2.6
  204. Using bootsnap 1.4.0
  205. Using bundler 1.17.2
  206. Using byebug 11.0.0
  207. Using regexp_parser 1.3.0
  208. Using xpath 3.2.0
  209. Using capybara 3.13.2
  210. Using ffi 1.10.0
  211. Using childprocess 0.9.0
  212. Using chromedriver-helper 2.1.0
  213. Using coffee-script-source 1.12.2
  214. Using execjs 2.7.0
  215. Using coffee-script 2.4.1
  216. Using method_source 0.9.2
  217. Using thor 0.20.3
  218. Using railties 5.2.2
  219. Using coffee-rails 4.2.2
  220. Using multi_json 1.13.1
  221. Using jbuilder 2.8.0
  222. Using rb-fsevent 0.10.3
  223. Using rb-inotify 0.10.0
  224. Using ruby_dep 1.5.0
  225. Using listen 3.1.5
  226. Using puma 3.12.0
  227. Using sprockets 3.7.2
  228. Using sprockets-rails 3.2.1
  229. Using rails 5.2.2
  230. Using rubyzip 1.2.2
  231. Using sass-listen 4.0.0
  232. Using sass 3.7.3
  233. Using tilt 2.0.9
  234. Using sass-rails 5.0.7
  235. Using selenium-webdriver 3.141.0
  236. Using spring 2.0.2
  237. Using spring-watcher-listen 2.0.1
  238. Using sqlite3 1.3.13
  239. Using turbolinks-source 5.2.0
  240. Using turbolinks 5.2.0
  241. Using uglifier 4.1.20
  242. Using web-console 3.7.0
  243. Bundle complete! 19 Gemfile dependencies, 79 gems now installed.
  244. Gems in the group production were not installed.
  245. Use `bundle info [gemname]` to see where a bundled gem is installed.
  246. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git status
  247. On branch master
  248. Your branch is ahead of 'origin/master' by 1 commit.
  249. (use "git push" to publish your local commits)
  250.  
  251. Changes not staged for commit:
  252. (use "git add <file>..." to update what will be committed)
  253. (use "git checkout -- <file>..." to discard changes in working directory)
  254.  
  255. modified: Gemfile
  256.  
  257. no changes added to commit (use "git add" and/or "git commit -a")
  258. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git add .
  259. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git commit -m 'updates for heroku deployment'
  260. [master ed76e62] updates for heroku deployment
  261. 1 file changed, 6 insertions(+), 9 deletions(-)
  262. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git push origin master
  263. Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
  264.  
  265. Counting objects: 43, done.
  266. Delta compression using up to 2 threads.
  267. Compressing objects: 100% (39/39), done.
  268. Writing objects: 100% (43/43), 6.79 KiB | 187.00 KiB/s, done.
  269. Total 43 (delta 6), reused 0 (delta 0)
  270. remote: Resolving deltas: 100% (6/6), completed with 4 local objects.
  271. To github.com:TheMelpo/my_first_rails_app.git
  272. fd726f3..ed76e62 master -> master
  273. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$
  274. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$ git push heroku master
  275.  
  276. ! Your account themelpo@gmail.com does not have access to appname.
  277. !
  278. ! SSH Key Fingerprint: bd:a3:89:37:7c:32:ef:7e:4b:d4:ad:24:85:17:e0:ad
  279.  
  280. fatal: Could not read from remote repository.
  281.  
  282. Please make sure you have the correct access rights
  283. and the repository exists.
  284. meni@meni-VirtualBox:~/odin_on_rails/my_first_rails_app$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement