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

質問編集履歴

1

shorten the code

2016/03/04 08:05

投稿

Moto_hero
Moto_hero

スコア7

title CHANGED
File without changes
body CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
10
10
 
11
- /Users/takayanagimotohiro/.rbenv/versions/2.1.3/bin/ruby extconf.rb --with-pg-config=/usr/pgsql-9.4/bin/pg_config
11
+ /Users/[username]/.rbenv/versions/2.1.3/bin/ruby extconf.rb --with-pg-config=/usr/pgsql-9.4/bin/pg_config
12
12
  Using config values from /usr/pgsql-9.4/bin/pg_config
13
13
  extconf.rb:29: warning: Insecure world writable dir /usr/local/Cellar in PATH, mode 040777
14
14
  sh: /usr/pgsql-9.4/bin/pg_config: No such file or directory
@@ -16,63 +16,13 @@
16
16
  checking for libpq-fe.h... no
17
17
  Can't find the 'libpq-fe.h header
18
18
  *** extconf.rb failed ***
19
- Could not create Makefile due to some reason, probably lack of necessary
20
- libraries and/or headers. Check the mkmf.log file for more details. You may
21
- need configuration options.
22
19
 
23
- Provided configuration options:
24
- --with-opt-dir
25
- --without-opt-dir
26
- --with-opt-include
27
- --without-opt-include=${opt-dir}/include
28
- --with-opt-lib
29
- --without-opt-lib=${opt-dir}/lib
30
- --with-make-prog
31
- --without-make-prog
32
- --srcdir=.
33
- --curdir
34
- --ruby=/Users/takayanagimotohiro/.rbenv/versions/2.1.3/bin/ruby
35
- --with-pg
36
- --without-pg
37
- --enable-windows-cross
38
- --disable-windows-cross
39
- --with-pg-config
40
- --with-pg-dir
41
- --without-pg-dir
42
- --with-pg-include
43
- --without-pg-include=${pg-dir}/include
44
- --with-pg-lib
45
- --without-pg-lib=${pg-dir}/lib
46
-
47
20
  extconf failed, exit code 1
48
21
 
49
- Gem files will remain installed in /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/pg-0.18.4 for inspection.
22
+
50
- Results logged to /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-15/2.1.0-static/pg-0.18.4/gem_make.out
51
- Using tilt 1.4.1
52
- Using sass 3.2.19
53
- Using spring 1.6.4
54
- Using rdoc 4.2.2
55
- Using tzinfo 1.2.2
56
- Using rack-test 0.6.3
57
- Using treetop 1.4.15
58
- Using coffee-script 2.4.1
59
- Using uglifier 2.7.2
60
23
  An error occurred while installing pg (0.18.4), and Bundler cannot continue.
61
24
  Make sure that `gem install pg -v '0.18.4'` succeeds before bundling.
62
25
  run bundle exec spring binstub --all
63
- /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /usr/local/Cellar in PATH, mode 040777
64
- /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/resolver.rb:354:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'pg' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)
65
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/resolver.rb:330:in `each'
66
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/resolver.rb:330:in `verify_gemfile_dependencies_are_found!'
67
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/resolver.rb:199:in `start'
68
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/resolver.rb:183:in `resolve'
69
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/definition.rb:198:in `resolve'
70
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/definition.rb:137:in `specs'
71
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/definition.rb:182:in `specs_for'
72
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/definition.rb:171:in `requested_specs'
73
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/environment.rb:18:in `requested_specs'
74
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/runtime.rb:13:in `setup'
75
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler.rb:92:in `setup'
76
- from /Users/takayanagimotohiro/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/setup.rb:18:in `<top (required)>'
77
- from /Users/takayanagimotohiro/.rbenv/versions/2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
78
- from /Users/takayanagimotohiro/.rbenv/versions/2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
26
+ /Users/[username]/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /usr/local/Cellar in PATH, mode 040777
27
+
28
+ /Users/[username]/.rvm/gems/ruby-2.1.1/gems/bundler-1.11.2/lib/bundler/resolver.rb:354:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'pg' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)