Skip to content

Instantly share code, notes, and snippets.

@kanakdeep
Created July 26, 2012 14:24
Show Gist options
  • Save kanakdeep/3182344 to your computer and use it in GitHub Desktop.
Save kanakdeep/3182344 to your computer and use it in GitHub Desktop.
error while deploying gemfile
23:02:57 [www] Installing json_pure (1.7.3)
23:02:57 [www] Installing launchy (2.1.0)
23:02:57 [www] Installing ruby_core_source (0.1.5)
23:03:11 [www] /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
23:03:11 [www]
23:03:11 [www] /usr/local/rvm/rubies/ruby-1.9.2-p136/bin/ruby extconf.rb
23:03:11 [www] checking for vm_core.h... no
23:03:11 [www] checking for vm_core.h... no
23:03:11 [www] *** extconf.rb failed ***
23:03:11 [www] Could not create Makefile due to some reason, probably lack of
23:03:11 [www] necessary libraries and/or headers. Check the mkmf.log file for more
23:03:11 [www] details. You may need configuration options.
23:03:11 [www]
23:03:11 [www] Provided configuration options:
23:03:11 [www] --with-opt-dir
23:03:11 [www] --without-opt-dir
23:03:11 [www] --with-opt-include
23:03:11 [www] --without-opt-include=${opt-dir}/include
23:03:11 [www] --with-opt-lib
23:03:11 [www] --without-opt-lib=${opt-dir}/lib
23:03:11 [www] --with-make-prog
23:03:11 [www] --without-make-prog
23:03:11 [www] --srcdir=.
23:03:11 [www] --curdir
23:03:11 [www] --ruby=/usr/local/rvm/rubies/ruby-1.9.2-p136/bin/ruby
23:03:11 [www] --with-ruby-dir
23:03:11 [www] --without-ruby-dir
23:03:11 [www] --with-ruby-include
23:03:11 [www] --without-ruby-include=${ruby-dir}/include
23:03:11 [www] --with-ruby-lib
23:03:11 [www] --without-ruby-lib=${ruby-dir}/lib
23:03:11 [www] /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/fileutils.rb:243:in `mkdir': Permission denied - /usr/local/rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/ruby-1.9.2-p136 (Errno::EACCES)
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/fileutils.rb:243:in `fu_mkdir'
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/fileutils.rb:217:in `block (2 levels) in mkdir_p'
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/fileutils.rb:215:in `reverse_each'
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/fileutils.rb:215:in `block in mkdir_p'
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/fileutils.rb:201:in `each'
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/fileutils.rb:201:in `mkdir_p'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@dotcloud/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:59:in `block in create_makefile_with_core'
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/tempfile.rb:320:in `open'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@dotcloud/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:51:in `create_makefile_with_core'
23:03:11 [www] from extconf.rb:19:in `<main>'
23:03:11 [www] Requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz
23:03:11 [www] Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.gz
23:03:11 [www]
23:03:11 [www]
23:03:11 [www] Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.2-p136@dotcloud/gems/linecache19-0.5.12 for inspection.
23:03:11 [www] Results logged to /usr/local/rvm/gems/ruby-1.9.2-p136@dotcloud/gems/linecache19-0.5.12/ext/trace_nums/gem_make.out
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:511:in `block in build_extensions'
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `each'
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `build_extensions'
23:03:11 [www] from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:159:in `install'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/source.rb:96:in `install'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/installer.rb:55:in `block in run'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in `block in each'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in `each'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in `each'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/installer.rb:44:in `run'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/installer.rb:8:in `install'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/cli.rb:226:in `install'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/vendor/thor/task.rb:22:in `run'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/vendor/thor.rb:246:in `dispatch'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/lib/bundler/vendor/thor/base.rb:389:in `start'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.10/bin/bundle:13:in `<top (required)>'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/bin/bundle:19:in `load'
23:03:11 [www] from /usr/local/rvm/gems/ruby-1.9.2-p136@global/bin/bundle:19:in `<main>'
23:03:11 [www] Installing linecache19 (0.5.12) with native extensions -- Build failed: "bundle install --without="u n s u p p o r t e d"" failed with return code 1
23:03:11 ---> Aborting due to some build failure
Deployment finished. Your application is available at the following URLs
error: No URL found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment