teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

bundleinstall実行結果の追加

2019/05/06 23:43

投稿

TOMSOYA
TOMSOYA

スコア23

title CHANGED
File without changes
body CHANGED
@@ -4,8 +4,190 @@
4
4
 
5
5
  ### 発生している問題・エラーメッセージ
6
6
  bundle installを実行すると以下のエラーが発生してしまいます。
7
+ 少し長くなってしまします。
7
8
 
8
9
  ```
10
+ Your Gemfile lists the gem pry-rails (>= 0) more than once.
11
+ You should probably keep only one of them.
12
+ Remove any duplicate entries and specify the gem only once (per group).
13
+ While it's not a problem now, it could cause errors if you change the version of one of them later.
14
+ 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`.
15
+ Fetching gem metadata from https://rubygems.org/........
16
+ Fetching gem metadata from https://rubygems.org/.
17
+ Resolving dependencies...
18
+ Using rake 12.3.2
19
+ Using CFPropertyList 2.3.6
20
+ Using concurrent-ruby 1.1.5
21
+ Using i18n 1.6.0
22
+ Using minitest 5.11.3
23
+ Using thread_safe 0.3.6
24
+ Using tzinfo 1.2.5
25
+ Using activesupport 5.2.3
26
+ Using builder 3.2.3
27
+ Using erubi 1.8.0
28
+ Using mini_portile2 2.4.0
29
+ Using nokogiri 1.10.2
30
+ Using rails-dom-testing 2.0.3
31
+ Using crass 1.0.4
32
+ Using loofah 2.2.3
33
+ Using rails-html-sanitizer 1.0.4
34
+ Using actionview 5.2.3
35
+ Using rack 2.0.7
36
+ Using rack-test 1.1.0
37
+ Using actionpack 5.2.3
38
+ Using nio4r 2.3.1
39
+ Using websocket-extensions 0.1.3
40
+ Using websocket-driver 0.7.0
41
+ Using actioncable 5.2.3
42
+ Using globalid 0.4.2
43
+ Using activejob 5.2.3
44
+ Using mini_mime 1.0.1
45
+ Using mail 2.7.1
46
+ Using actionmailer 5.2.3
47
+ Using activemodel 5.2.3
48
+ Using arel 9.0.0
49
+ Using activerecord 5.2.3
50
+ Using mimemagic 0.3.3
51
+ Using marcel 0.3.3
52
+ Using activestorage 5.2.3
53
+ Using public_suffix 3.0.3
54
+ Using addressable 2.6.0
55
+ Using io-like 0.3.0
56
+ Using archive-zip 0.12.0
57
+ Using bcrypt 3.1.12
58
+ Using coderay 1.1.2
59
+ Using better_errors 2.5.1
60
+ Using bindex 0.7.0
61
+ Using msgpack 1.2.9
62
+ Using bootsnap 1.4.3
63
+ Using bundler 2.0.1
64
+ Using byebug 11.0.1
65
+ Using regexp_parser 1.4.0
66
+ Using xpath 3.2.0
67
+ Using capybara 3.15.0
68
+ Using mime-types-data 3.2019.0331
69
+ Using mime-types 3.2.2
70
+ Using carrierwave 1.3.1
71
+ Using childprocess 1.0.1
72
+ Using chromedriver-helper 2.1.1
73
+ Using coffee-script-source 1.12.2
74
+ Using execjs 2.7.0
75
+ Using coffee-script 2.4.1
76
+ Using method_source 0.9.2
77
+ Using thor 0.20.3
78
+ Using railties 5.2.3
79
+ Using coffee-rails 4.2.2
80
+ Using unf_ext 0.0.7.6
81
+ Using unf 0.1.4
82
+ Using domain_name 0.5.20180417
83
+ Using dry-inflector 0.1.2
84
+ Using excon 0.64.0
85
+ Using ffi 1.10.0
86
+ Using fission 0.5.0
87
+ Using formatador 0.2.5
88
+ Using fog-core 1.45.0
89
+ Using multi_json 1.13.1
90
+ Using fog-json 1.2.0
91
+ Using ipaddress 0.8.3
92
+ Using xml-simple 1.1.5
93
+ Using fog-aliyun 0.3.3
94
+ Using fog-xml 0.1.3
95
+ Using fog-atmos 0.1.0
96
+ Using fog-aws 2.0.1
97
+ Using fog-brightbox 0.16.1
98
+ Using fog-cloudatcost 0.1.2
99
+ Using fog-digitalocean 0.4.0
100
+ Using fog-dnsimple 1.0.0
101
+ Using fog-dynect 0.0.3
102
+ Using fog-ecloud 0.3.0
103
+ Using fog-google 0.1.0
104
+ Using fog-internet-archive 0.0.1
105
+ Using fog-joyent 0.0.1
106
+ Using fog-local 0.6.0
107
+ Using fog-openstack 0.3.10
108
+ Using json 2.2.0
109
+ Using ovirt-engine-sdk 4.3.0
110
+ Using http-cookie 1.0.3
111
+ Using netrc 0.11.0
112
+ Using rest-client 2.0.2
113
+ Using rbovirt 0.1.7
114
+ Using fog-ovirt 1.1.6
115
+ Using fog-powerdns 0.2.0
116
+ Using fog-profitbricks 4.1.1
117
+ Using fog-rackspace 0.1.6
118
+ Using fog-radosgw 0.0.5
119
+ Using fog-riakcs 0.1.0
120
+ Using fog-sakuracloud 1.7.5
121
+ Using fog-serverlove 0.1.2
122
+ Using fog-softlayer 1.1.4
123
+ Using fog-storm_on_demand 0.1.1
124
+ Using fog-terremark 0.1.0
125
+ Using fog-vmfusion 0.1.0
126
+ Using fog-voxel 0.1.0
127
+ Using optimist 3.0.0
128
+ Using rbvmomi 2.1.1
129
+ Using fog-vsphere 3.0.0
130
+ Using xmlrpc 0.3.0
131
+ Using fog-xenserver 1.0.0
132
+ Using fog 1.42.0
133
+ Using jbuilder 2.8.0
134
+ Using rb-fsevent 0.10.3
135
+ Using rb-inotify 0.10.0
136
+ Using ruby_dep 1.5.0
137
+ Using listen 3.1.5
138
+ Using mini_magick 4.9.3
139
+ Fetching pg 1.1.4
140
+ Installing pg 1.1.4 with native extensions
141
+ Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
142
+
143
+ current directory:
144
+ /home/vagrant/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pg-1.1.4/ext
145
+ /home/vagrant/.rbenv/versions/2.3.1/bin/ruby -I
146
+ /home/vagrant/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0 -r
147
+ ./siteconf20190506-11340-14f31rf.rb extconf.rb
148
+ checking for pg_config... yes
149
+ Using config values from /usr/bin/pg_config
150
+ checking for libpq-fe.h... yes
151
+ checking for libpq/libpq-fs.h... yes
152
+ checking for pg_config_manual.h... yes
153
+ checking for PQconnectdb() in -lpq... yes
154
+ checking for PQsetSingleRowMode()... no
155
+ Your PostgreSQL is too old. Either install an older version of this gem or
156
+ upgrade your database to at least PostgreSQL-9.2.
157
+ *** extconf.rb failed ***
158
+ Could not create Makefile due to some reason, probably lack of necessary
159
+ libraries and/or headers. Check the mkmf.log file for more details. You may
160
+ need configuration options.
161
+
162
+ Provided configuration options:
163
+ --with-opt-dir
164
+ --without-opt-dir
165
+ --with-opt-include
166
+ --without-opt-include=${opt-dir}/include
167
+ --with-opt-lib
168
+ --without-opt-lib=${opt-dir}/lib
169
+ --with-make-prog
170
+ --without-make-prog
171
+ --srcdir=.
172
+ --curdir
173
+ --ruby=/home/vagrant/.rbenv/versions/2.3.1/bin/$(RUBY_BASE_NAME)
174
+ --with-pg
175
+ --without-pg
176
+ --enable-windows-cross
177
+ --disable-windows-cross
178
+ --with-pg-config
179
+ --without-pg-config
180
+ --with-pg_config
181
+ --without-pg_config
182
+ --with-pg-dir
183
+ --without-pg-dir
184
+ --with-pg-include
185
+ --without-pg-include=${pg-dir}/include
186
+ --with-pg-lib
187
+ --without-pg-lib=${pg-dir}/lib
188
+ --with-pqlib
189
+ --without-pqlib
190
+
9
191
  To see why this extension failed to compile, please check the mkmf.log which can
10
192
  be found here:
11
193
 
@@ -23,6 +205,9 @@
23
205
  continue.
24
206
  Make sure that `gem install pg -v '1.1.4' --source 'https://rubygems.org/'`
25
207
  succeeds before bundling.
208
+
209
+ In Gemfile:
210
+ pg
26
211
  ```
27
212
 
28
213
  ### 該当のソースコード