Error on deploy staging

52 views
Skip to first unread message

Francis Sevilla

unread,
Apr 6, 2013, 3:23:11 AM4/6/13
to rubbe...@googlegroups.com
** [out :: beta.realtycheck.ph] bash: ./script/rubber: No such file or directory
    command finished in 1354ms
failed: "/bin/bash -l -c 'sudo -p '\\''sudo password: '\\''  bash -l -c '\\''cd /mnt/RealtyCheck-production/releases/20130406071914 && RUBBER_ENV=production RAILS_ENV=production ./script/rubber config  --force --file=\"role/collectd/\"'\\'''" on beta.realtycheck.ph


    image_type: m1.small
    image_id: ami-b6089bdf

Francis Sevilla

unread,
Apr 6, 2013, 4:25:47 AM4/6/13
to rubbe...@googlegroups.com
I m deploying using Passenger_mysql_nginx and i had problems installing sqlite3. i manually did the install on the instance. after that it failed.

using staging.

Francis Sevilla

unread,
Apr 7, 2013, 5:59:38 AM4/7/13
to rubbe...@googlegroups.com
I tried creating a staging server straight from a new rails app and got this error


[out :: production.realtycheck.ph] Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
 ** [out :: production.realtycheck.ph] /usr/local/rubies/1.9.3-p392/bin/ruby extconf.rb
 ** [out :: production.realtycheck.ph] checking for sqlite3.h... no
 ** [out :: production.realtycheck.ph] sqlite3.h is missing. Try 'port install sqlite3 +universal'
 ** [out :: production.realtycheck.ph] or 'yum install sqlite-devel' and check your shared library search path (the
 ** [out :: production.realtycheck.ph] location where your sqlite3 shared library is located).
 ** [out :: production.realtycheck.ph] *** extconf.rb failed ***
 ** [out :: production.realtycheck.ph] Could not create Makefile due to some reason, probably lack of
 ** [out :: production.realtycheck.ph] necessary libraries and/or headers.  Check the mkmf.log file for more
 ** [out :: production.realtycheck.ph] details.  You may need configuration options.
 ** [out :: production.realtycheck.ph] Provided configuration options:
 ** [out :: production.realtycheck.ph] --with-opt-dir
 ** [out :: production.realtycheck.ph] --without-opt-dir
 ** [out :: production.realtycheck.ph] --with-opt-include
 ** [out :: production.realtycheck.ph] --without-opt-include=${opt-dir}/include
 ** [out :: production.realtycheck.ph] --with-opt-lib
 ** [out :: production.realtycheck.ph] --without-opt-lib=${opt-dir}/lib
 ** [out :: production.realtycheck.ph] --with-make-prog
 ** [out :: production.realtycheck.ph] --without-make-prog
 ** [out :: production.realtycheck.ph] --srcdir=.
 ** [out :: production.realtycheck.ph] --curdir
 ** [out :: production.realtycheck.ph] --ruby=/usr/local/rubies/1.9.3-p392/bin/ruby
 ** [out :: production.realtycheck.ph] --with-sqlite3-dir
 ** [out :: production.realtycheck.ph] --without-sqlite3-dir
 ** [out :: production.realtycheck.ph] --with-sqlite3-include
 ** [out :: production.realtycheck.ph] --without-sqlite3-include=${sqlite3-dir}/include
 ** [out :: production.realtycheck.ph] --with-sqlite3-lib
 ** [out :: production.realtycheck.ph] --without-sqlite3-lib=${sqlite3-dir}/lib
 ** [out :: production.realtycheck.ph] --enable-local
 ** [out :: production.realtycheck.ph] --disable-local
 ** [out :: production.realtycheck.ph] Gem files will remain installed in /mnt/RealtyCheck-production/shared/bundle/ruby/1.9.1/gems/sqlite3-1.3.7 for inspection.
 ** [out :: production.realtycheck.ph] Results logged to /mnt/RealtyCheck-production/shared/bundle/ruby/1.9.1/gems/sqlite3-1.3.7/ext/sqlite3/gem_make.out
 ** [out :: production.realtycheck.ph] An error occurred while installing sqlite3 (1.3.7), and Bundler cannot continue.
 ** [out :: production.realtycheck.ph] Make sure that `gem install sqlite3 -v '1.3.7'` succeeds before bundling.
    command finished in 52970ms
failed: "/bin/bash -l -c 'cd /mnt/RealtyCheck-production/releases/20130407094434 && bundle install --gemfile /mnt/RealtyCheck-production/releases/20130407094434/Gemfile --path /mnt/RealtyCheck-production/shared/bundle --deployment --quiet --without development test staging'" on production.realtycheck.ph

On Saturday, April 6, 2013 3:23:11 PM UTC+8, Francis Sevilla wrote:
Reply all
Reply to author
Forward
0 new messages