Skip to content

Instantly share code, notes, and snippets.

@nerionavea
Created July 9, 2015 20:27
Show Gist options
  • Save nerionavea/6e8fdcd82c0820682a5b to your computer and use it in GitHub Desktop.
Save nerionavea/6e8fdcd82c0820682a5b to your computer and use it in GitHub Desktop.
Error
nerio@nerio-VIT-P2402:~/Work/abogados$ bundle installThe source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
Your Gemfile lists the gem thin (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem dm-sqlite-adapter (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching gem metadata from http://rubygems.org/............
Fetching version metadata from http://rubygems.org/..
Resolving dependencies...
Using addressable 2.3.8
Using builder 3.2.2
Using gyoku 1.3.1
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2
Using akami 1.3.0
Using bcrypt 3.1.10
Using bcrypt-ruby 3.1.5
Using daemons 1.2.2
Using dm-core 1.2.1
Using dm-aggregates 1.2.0
Using dm-constraints 1.2.0
Using dm-migrations 1.2.0
Using fastercsv 1.5.5
Using json 1.8.2
Using json_pure 1.8.2
Using multi_json 1.11.0
Using dm-serializer 1.2.2
Using dm-timestamps 1.2.0
Using dm-transactions 1.2.0
Using stringex 1.5.1
Using uuidtools 2.1.5
Using dm-types 1.2.2
Using dm-validations 1.2.0
Using data_mapper 1.2.0
Using data_objects 0.10.15
Using dm-do-adapter 1.2.0
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/nerio/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150709-19722-z3t9vv.rb extconf.rb
checking for main() in -lpq... yes
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for postgres.h... no
*** 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/nerio/.rvm/rubies/ruby-2.2.1/bin/$(RUBY_BASE_NAME)
--with-pgsql-server-dir
--without-pgsql-server-dir
--with-pgsql-server-include
--without-pgsql-server-include=${pgsql-server-dir}/include
--with-pgsql-server-lib
--without-pgsql-server-lib=${pgsql-server-dir}/lib
--with-pgsql-client-dir
--without-pgsql-client-dir
--with-pgsql-client-include
--without-pgsql-client-include=${pgsql-client-dir}/include
--with-pgsql-client-lib
--without-pgsql-client-lib=${pgsql-client-dir}/lib
--with-pqlib
--without-pqlib
Could not find PostgreSQL build environment (libraries & headers): Makefile not created
extconf failed, exit code 1
Gem files will remain installed in /home/nerio/.rvm/gems/ruby-2.2.1/gems/do_postgres-0.10.15 for inspection.
Results logged to /home/nerio/.rvm/gems/ruby-2.2.1/extensions/x86_64-linux/2.2.0/do_postgres-0.10.15/gem_make.out
An error occurred while installing do_postgres (0.10.15), and
Bundler cannot continue.
Make sure that `gem install do_postgres -v '0.10.15'` succeeds
before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment