Checkinstall fails to make a Ruby package with the following error.
# checkinstall -D --install=no --pakdir=/home/<username>/Рабочий\ стол/
<...>
installing binary commands: /usr/local/bin
/home/<username>/Рабочий стол/ruby-1.9.2-p180/lib/fileutils.rb:854:in `utime': No such file or directory - /usr/local/bin/ruby (Errno::ENOENT)
from /home/<username>/Рабочий стол/ruby-1.9.2-p180/lib/fileutils.rb:854:in `block in install'
from /home/<username>/Рабочий стол/ruby-1.9.2-p180/lib/fileutils.rb:1423:in `block in fu_each_src_dest'
from /home/<username>/Рабочий стол/ruby-1.9.2-p180/lib/fileutils.rb:1437:in `fu_each_src_dest0'
from /home/<username>/Рабочий стол/ruby-1.9.2-p180/lib/fileutils.rb:1421:in `fu_each_src_dest'
from /home/<username>/Рабочий стол/ruby-1.9.2-p180/lib/fileutils.rb:850:in `install'
from ./tool/rbinstall.rb:154:in `install'
from ./tool/rbinstall.rb:307:in `block in '
from ./tool/rbinstall.rb:542:in `call'
from ./tool/rbinstall.rb:542:in `block (2 levels) in '
from ./tool/rbinstall.rb:539:in `each'
from ./tool/rbinstall.rb:539:in `block in '
from ./tool/rbinstall.rb:535:in `each'
from ./tool/rbinstall.rb:535:in `'
make: *** [do-install-all] Ошибка 1
**** Установка неудачна. Отменяется создание пакета.
Очищается.../usr/bin/checkinstall: line 328: [: /home/<username>/Рабочий: ожидается использование бинарного оператора
OK
Удачи.
What is the cause of the problem? How can I solve it?
Thanks.
Debian GNU/Linux 6.0.1;
Ruby 1.9.2;
Checkinstall 1.6.2.
I ran into the same issue using Ubuntu 11.04.
I believe this is caused in part by a permissions error (need to run as root). It also appears to be affected by a checkinstall fstrans bug: https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455
Original command (fails):
sudo checkinstall --install=no -D make install
Working command:
sudo checkinstall --fstrans=no -D make install
Related
I am using this command to install fastlane in GitHub Actions in Ubuntu image:
- name: Bundle install
run: |
cd ./android
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
echo 409B6B1796C275462A1703113804BB82D39DC0E3:6: | gpg --import-ownertrust
echo 7D2BAF1CF37B13E2069D6956105BD0E739499BDB:6: | gpg --import-ownertrust
curl -sSL https://get.rvm.io | bash -s -- --ignore-dotfiles
source $HOME/.rvm/scripts/rvm
source ~/.bash_profile
rvm --version
rvm install 2.7.2
rvm use --default 2.7.2
gem install cocoapods -v 1.10.0
gem install fastlane -v 2.177.0
bundle install
but when I using this command like this to build a android apk using fastlane in GitHub Actions on Ubuntu OS:
- name: Deploy to TestFlight/PGY
run: |
cd ./android
bundle exec fastlane android beta
shows could not found fastlane command:
cd ./android
bundle exec fastlane android beta
shell: /usr/bin/bash -e {0}
env:
JAVA_HOME_12.0.2_x64: /opt/hostedtoolcache/jdk/12.0.2/x64
JAVA_HOME: /opt/hostedtoolcache/jdk/12.0.2/x64
JAVA_HOME_12_0_2_X64: /opt/hostedtoolcache/jdk/12.0.2/x64
FLUTTER_HOME: /opt/hostedtoolcache/flutter/2.0.1-stable/x64
FLUTTER_ROOT: ***
APPLE_ID: ***
GIT_URL: ***
PGY_USER_KEY: ***
PGY_API_KEY: ***
TEAM_ID: ***
ITC_TEAM_ID: ***
FASTLANE_USER:
FASTLANE_PASSWORD: ***
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD:
FASTLANE_SESSION:
MATCH_PASSWORD: ***
MATCH_KEYCHAIN_NAME: ***
MATCH_KEYCHAIN_PASSWORD: ***
DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS:
bundler: failed to load command: fastlane (/usr/local/bin/fastlane)
/var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find aws-sdk-s3-1.93.0 in any of the sources (Bundler::GemNotFound)
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli/exec.rb:61:in `require_relative'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli/exec.rb:61:in `kernel_load'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli/exec.rb:28:in `run'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:494:in `exec'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:30:in `dispatch'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:24:in `start'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/exe/bundle:49:in `block in <top (required)>'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
from /var/lib/gems/2.7.0/gems/bundler-2.2.14/exe/bundle:37:in `<top (required)>'
from /usr/local/bin/bundle:23:in `load'
from /usr/local/bin/bundle:23:in `<main>'
Error: Process completed with exit code 1.
why the fastlane still not found after I am installled?
Trying to install sass on my laptop, using this tutorial: https://www.codementor.io/#ricardozea/sass-for-beginners-the-friendliest-guide-about-installing-and-using-sass-on-windows-cjfs2id3o
but always getting this error message when I reach the step of installing sass gem:
C:\Ruby27-x64>gem install sass
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory # rb_sysopen - NUL
Having the same issue every time I try to install a gem.
I was cleaning up my computer, probably stg went wrong in the registry, idk.
This is what I get in netbeans console:
C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver.rb:174:in `initialize': No such file or directory # rb_sysopen - NUL (Errno::ENOENT)
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver.rb:174:in `open'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver.rb:174:in `output'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb:40:in `after_resolution'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:115:in `end_resolution'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:83:in `ensure in resolve'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:83:in `resolve'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver/molinillo/lib/molinillo/resolver.rb:42:in `resolve'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/resolver.rb:188:in `resolve'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/request_set.rb:385:in `resolve'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/request_set.rb:397:in `resolve_current'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems.rb:243:in `finish_resolve'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems.rb:306:in `block in activate_bin_path'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems.rb:304:in `synchronize'
from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems.rb:304:in `activate_bin_path'
from C:/Ruby25-x64/bin/sass:23:in `<main>'
Thank you for your help!
I am getting this strange error while trying to install ruby 2.7.2 using rbenv.
Does anybody know what the issue is?
$ rbenv install 2.7.2
Installing ruby-2.7.2...
BUILD FAILED (Ubuntu 20.04 using ruby-build 20201005-4-g4761049)
Inspect or clean up the working tree at /tmp/ruby-build.20201106211003.49727.I05SRV
Results logged to /tmp/ruby-build.20201106211003.49727.log
Last 10 log lines:
from ./tool/rbinstall.rb:846:in `block (2 levels) in install_default_gem'
from ./tool/rbinstall.rb:279:in `open_for_install'
from ./tool/rbinstall.rb:845:in `block in install_default_gem'
from ./tool/rbinstall.rb:835:in `each'
from ./tool/rbinstall.rb:835:in `install_default_gem'
from ./tool/rbinstall.rb:799:in `block in <main>'
from ./tool/rbinstall.rb:950:in `block in <main>'
from ./tool/rbinstall.rb:947:in `each'
from ./tool/rbinstall.rb:947:in `<main>'
make: *** [uncommon.mk:373: do-install-all] Error 1
EDIT: Below is the content of the .log file (the full version is 197'000 lines long, so I can only post the last part).
And at the end, it says:
ruby-2.7.2/lib/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- openssl (LoadError)
However, I DO have openssl installed (I use it). What am I missing?
generating x86_64-linux-fake.rb
x86_64-linux-fake.rb updated
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems -r./x86_64-linux-fake ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc" --rdoc-output=".ext/rdoc" --html-output=".ext/html"
installing binary commands: /home/tom/.rbenv/versions/2.7.2/bin
installing base libraries: /home/tom/.rbenv/versions/2.7.2/lib
installing arch files: /home/tom/.rbenv/versions/2.7.2/lib/ruby/2.7.0/x86_64-linux
installing pkgconfig data: /home/tom/.rbenv/versions/2.7.2/lib/pkgconfig
installing extension objects: /home/tom/.rbenv/versions/2.7.2/lib/ruby/2.7.0/x86_64-linux
installing extension objects: /home/tom/.rbenv/versions/2.7.2/lib/ruby/site_ruby/2.7.0/x86_64-linux
installing extension objects: /home/tom/.rbenv/versions/2.7.2/lib/ruby/vendor_ruby/2.7.0/x86_64-linux
installing extension headers: /home/tom/.rbenv/versions/2.7.2/include/ruby-2.7.0/x86_64-linux
installing extension scripts: /home/tom/.rbenv/versions/2.7.2/lib/ruby/2.7.0
installing extension scripts: /home/tom/.rbenv/versions/2.7.2/lib/ruby/site_ruby/2.7.0
installing extension scripts: /home/tom/.rbenv/versions/2.7.2/lib/ruby/vendor_ruby/2.7.0
installing extension headers: /home/tom/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby
installing rdoc: /home/tom/.rbenv/versions/2.7.2/share/ri/2.7.0/system
installing html-docs: /home/tom/.rbenv/versions/2.7.2/share/doc/ruby
installing capi-docs: /home/tom/.rbenv/versions/2.7.2/share/doc/ruby
installing command scripts: /home/tom/.rbenv/versions/2.7.2/bin
installing library scripts: /home/tom/.rbenv/versions/2.7.2/lib/ruby/2.7.0
installing common headers: /home/tom/.rbenv/versions/2.7.2/include/ruby-2.7.0
installing manpages: /home/tom/.rbenv/versions/2.7.2/share/man (man1, man5)
installing default gems from lib: /home/tom/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0 (build_info, cache, doc, extensions, gems, specifications)
benchmark 0.1.0
/tmp/ruby-build.20201107153545.4938.VEdjtZ/ruby-2.7.2/lib/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- openssl (LoadError)
from /tmp/ruby-build.20201107153545.4938.VEdjtZ/ruby-2.7.2/lib/rubygems/core_ext/kernel_require.rb:92:in `require'
from /tmp/ruby-build.20201107153545.4938.VEdjtZ/ruby-2.7.2/lib/rubygems/specification.rb:2430:in `to_ruby'
from ./tool/rbinstall.rb:846:in `block (2 levels) in install_default_gem'
from ./tool/rbinstall.rb:279:in `open_for_install'
from ./tool/rbinstall.rb:845:in `block in install_default_gem'
from ./tool/rbinstall.rb:835:in `each'
from ./tool/rbinstall.rb:835:in `install_default_gem'
from ./tool/rbinstall.rb:799:in `block in <main>'
from ./tool/rbinstall.rb:950:in `block in <main>'
from ./tool/rbinstall.rb:947:in `each'
from ./tool/rbinstall.rb:947:in `<main>'
make: *** [uncommon.mk:373: do-install-all] Error 1
Long story short, I found out that libssl-dev and libreadline-dev were required, so this solved the problem:
sudo apt-get install libssl-dev libreadline-dev
In RHEL8/CENTOS8:
sudo yum install readline-devel openssl-devel
assuming you already ran:
sudo yum groupinstall "Development Tools"
enclosed a snippet of my console:
release version:
$ sudo cat /etc/*release* | grep -i distrib
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.10
DISTRIB_CODENAME=saucy
DISTRIB_DESCRIPTION="Ubuntu 13.10"
ruby version:
$ ruby --version
ruby 2.0.0p299 (2013-08-29) [x86_64-linux-gnu]
vagrant version:
$ vagrant --version
Vagrant 1.3.5
prerequisites:
$ sudo dpkg -s libxml2 libxml2-dev libxslt1-dev libxslt1.1 build-essential | grep -i status
Status: install ok installed
Status: install ok installed
Status: install ok installed
Status: install ok installed
Status: install ok installed
when i try to install vagrant-berkshelf plugin, i receive the following error:
$ sudo vagrant plugin install vagrant-berkshelf --plugin-version 1.3.4
Installing the 'vagrant-berkshelf --version '1.3.4'' plugin. This can take a few minutes...
/opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:562:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/opt/vagrant/embedded/bin/ruby extconf.rb
Extracting libxml2-2.8.0.tar.gz into tmp/x86_64-linux-gnu/ports/libxml2/2.8.0... OK
Running 'configure' for libxml2 2.8.0... OK
Running 'compile' for libxml2 2.8.0... ERROR, review 'tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile.log' to see what happened.
*** 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
--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=/opt/vagrant/embedded/bin/ruby
/home/user/.vagrant.d/gems/gems/mini_portile-0.5.2/lib/mini_portile.rb:265:in `block in execute': Failed to complete compile task (RuntimeError)
from /home/user/.vagrant.d/gems/gems/mini_portile-0.5.2/lib/mini_portile.rb:257:in `chdir'
from /home/user/.vagrant.d/gems/gems/mini_portile-0.5.2/lib/mini_portile.rb:257:in `execute'
from /home/user/.vagrant.d/gems/gems/mini_portile-0.5.2/lib/mini_portile.rb:69:in `compile'
from /home/user/.vagrant.d/gems/gems/mini_portile-0.5.2/lib/mini_portile.rb:109:in `cook'
from extconf.rb:101:in `block in <main>'
from extconf.rb:119:in `call'
from extconf.rb:119:in `block in <main>'
from extconf.rb:109:in `tap'
from extconf.rb:109:in `<main>'
Gem files will remain installed in /home/user/.vagrant.d/gems/gems/nokogiri-1.6.0 for inspection.
Results logged to /home/user/.vagrant.d/gems/gems/nokogiri-1.6.0/ext/nokogiri/gem_make.out
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:540:in `block in build_extensions'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:515:in `each'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:515:in `build_extensions'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:180:in `install'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/dependency_installer.rb:297:in `block in install'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/dependency_installer.rb:270:in `each'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/dependency_installer.rb:270:in `each_with_index'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/dependency_installer.rb:270:in `install'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/plugin/action/install_gem.rb:49:in `block in call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/plugin/gem_helper.rb:42:in `block in with_environment'
from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/user_interaction.rb:40:in `use_ui'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/plugin/gem_helper.rb:41:in `with_environment'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/plugin/action/install_gem.rb:39:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/plugin/action/bundler_check.rb:20:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builder.rb:116:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/plugin/command/base.rb:17:in `action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/plugin/command/install.rb:27:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/plugin/command/root.rb:52:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/cli.rb:38:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/environment.rb:478:in `cli'
from /opt/vagrant/embedded/gems/gems/vagrant-1.3.5/bin/vagrant:96:in `<top (required)>'
from /opt/vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
from /opt/vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'
can someone help me solve the issue
update:
the same error holds for vagrant-berkshelf version 1.3.x, 1.2.0, and even without specifying the version explicitly.
$ NOKOGIRI_USE_SYSTEM_LIBRARIES=1 vagrant plugin install vagrant-berkshelf
Source
investigation reveals that zlib is missing, so compilation fails. executing the following should solve your problem.
sudo apt-get install zlib1g-dev lib64z1-dev
sudo vagrant plugin install vagrant-berkshelf --plugin-version 1.3.4
I am inexperienced (ground zero) with ruby programming and am attempting to install Snorby on a laptop running Ubuntu 13.10, with Ruby 2.0.0-p247 installed with OpenSSL using RVM.
The tutorial I am following for installing Snorby is at: http://everydayiszeroday.blogspot.com/2013/01/installing-snorby-on-ubuntu-1204.html?showComment=1383320783310#c6938351151419073746
When I execute the sudo bundle install --no-deployment --verbose, I end up with "Too Many redirections" (partial output is provided below). In addition, I am wondering whether the rubygem path, accessed by the bundler is correct for the installed ruby version (2.0.0).
Can someone advise me what to do next?
Sample Output:
$ sudo bundle install --no-deployment --verbose
Updating http://github.com/postmodern/dm-is-read_only.git
Fetching from: http://rubygems.org/api/v1/dependencies
HTTP Redirection
.
.
.
Fetching from: http://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/json-1.7.7-java.gemspec.rz
HTTP Redirection
Too many redirects
Bundler::HTTPError: Too many redirects
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/fetcher.rb:197:in `fetch'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/fetcher.rb:222:in `fetch'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/fetcher.rb:222:in `fetch'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/fetcher.rb:222:in `fetch'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/fetcher.rb:222:in `fetch'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/fetcher.rb:222:in `fetch'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/fetcher.rb:92:in `fetch_spec'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/remote_specification.rb:46:in `_remote_specification'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/remote_specification.rb:51:in `method_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/resolver.rb:101:in `block in __dependencies'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/resolver.rb:98:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/resolver.rb:98:in `__dependencies'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/resolver.rb:68:in .
.
.
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/installer.rb:83:in `run'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/installer.rb:14:in `install'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/cli.rb:247:in `install'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/vendor/thor/task.rb:27:in `run'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/vendor/thor/invocation.rb:120:in `invoke_task'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/vendor/thor.rb:344:in `dispatch'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/vendor/thor/base.rb:434:in `start'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/bin/bundle:20:in `block in '
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/friendly_errors.rb:3:in `with_friendly_errors'
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/bin/bundle:20:in `'
/usr/local/bin/bundle:19:in `load'
/usr/local/bin/bundle:19:in `'
Looks like an outdated rubygems, try:
$ gem update --system
Or if you are stick with sudo
$ sudo gem update --system
If that command fails, try this:
$ sudo gem install rubygems-update
$ sudo gem update --system