Could not find ruby-oci8-2.2.0 in any of the sources

85 views
Skip to first unread message

Chris Arndt

unread,
Oct 24, 2015, 5:59:34 AM10/24/15
to ruby-bundler
I am trying to understand what "Could not find ruby-oci8-2.2.0 in any of the sources" means. For instance, is it looking for ruby-oci8 in the rvm gemset?

I am deploying a Rails 4 application to the production server using Capistrano and the deployment halts on what it looks like "bundle install" command. Will paste below a shortened version of what the deployment outputs.

Current setup
rvm -v 1.26.11
Bundler -v 1.9.9
Ruby -v 2.1.6p336
Rubygems -v 2.4.7
Capistrano Gems:
capistrano (3.4.0)
capistrano-bundler (1.1.4)
capistrano-file-permissions (0.1.1)
capistrano-rails (1.1.3)
capistrano-rvm (0.1.2)

Shortened deployment output (below)

** Invoke deploy:updated (first_time)
** Invoke bundler:install (first_time)
** Execute bundler:install
DEBUG
[103a4281] Running /usr/bin/env if test ! -d /home/rails/apps/cals_db_sync/releases/20151020160801; then echo "Directory does not exist '/home/rails/apps/cals_db_sync/releases/20151020160801'" 1>&2; false; fi as deploy_user@example.com
DEBUG
[103a4281] Command: if test ! -d /home/rails/apps/cals_db_sync/releases/20151020160801; then echo "Directory does not exist '/home/rails/apps/cals_db_sync/releases/20151020160801'" 1>&2; false; fi
DEBUG
[103a4281] Finished in 0.006 seconds with exit status 0 (successful).
INFO
[60676e5b] Running /usr/local/rvm/bin/rvm ruby-2.1.6@cals_db_sync do bundle install --path /home/rails/apps/cals_db_sync/shared/bundle --without development test --deployment --quiet as deploy_user@example.com
DEBUG
[60676e5b] Command: cd /home/rails/apps/cals_db_sync/releases/20151020160801 && ( RVM_BIN_PATH=/usr/local/rvm/bin /usr/local/rvm/bin/rvm ruby-2.1.6@cals_db_sync do bundle install --path /home/rails/apps/cals_db_sync/shared/bundle --without development test --deployment --quiet )
DEBUG
[60676e5b] Could not find ruby-oci8-2.2.0 in any of the sources
cap aborted
!
SSHKit::Runner::ExecuteError: Exception while executing as deploy_user@example.com: bundle exit status: 7
bundle stdout
: Could not find ruby-oci8-2.2.0 in any of the sources
bundle stderr
: Nothing written
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:16:in `rescue in block (2 levels) in execute'
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:12:in `
block (2 levels) in execute'
SSHKit::Command::Failed: bundle exit status: 7
bundle stdout: Could not find ruby-oci8-2.2.0 in any of the sources
bundle stderr: Nothing written
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/command.rb:95:in `exit_status='

/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:179:in `block in _execute'
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:133:in `
tap'
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:133:in `_execute'

/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:66:in `execute'
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/capistrano-bundler-1.1.4/lib/capistrano/tasks/bundler.cap:35:in `
block (5 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/backends/abstract.rb:85:in `with'

/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/capistrano-bundler-1.1.4/lib/capistrano/tasks/bundler.cap:26:in `block (4 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/backends/abstract.rb:77:in `
within'
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/capistrano-bundler-1.1.4/lib/capistrano/tasks/bundler.cap:25:in `block (3 levels) in <top (required)>'

/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:54:in `instance_exec'
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:54:in `
run'
/usr/local/rvm/gems/ruby-2.1.6@cals_db_sync/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:13:in `block (2 levels) in execute'

Tasks: TOP => deploy:updated => bundler:install
The deploy has failed with an error: Exception while executing as deploy_user@example.com: bundle exit status: 7
bundle stdout
: Could not find ruby-oci8-2.2.0 in any of the sources
bundle stderr
: Nothing written
** Invoke deploy:failed (first_time)
** Execute deploy:failed

~Chris


Reply all
Reply to author
Forward
0 new messages