Created
December 29, 2010 05:52
-
-
Save JESii/758231 to your computer and use it in GitHub Desktop.
RVM 1.1.7 - problems with zlib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I just installed RVM on my Ubuntu 10.04 box and I'm having the zlib problem, i.e.: | |
jseidel@EDP15:~$ rvm gem list | |
ERROR: Loading command: list (LoadError) | |
no such file to load -- zlib | |
ERROR: While executing gem ... (NameError) | |
uninitialized constant Gem::Commands::ListCommand | |
*** LOCAL GEMS *** | |
rake (0.8.7) | |
although it does run to completion; rvm gem search also works, with the same error: | |
jjseidel@EDP15:~$ rvm gem search hpricot -r | |
ERROR: Loading command: search (LoadError) | |
no such file to load -- zlib | |
ERROR: While executing gem ... (NameError) | |
uninitialized constant Gem::Commands::SearchCommand | |
*** REMOTE GEMS *** | |
<snip> | |
rvm gem install hpricot works just fine, with error messages. | |
And the funny thing is that rvm gem -v gives me two lines of output | |
jseidel@EDP15:~$ rvm gem -v | |
1.3.7 | |
1.3.7 | |
I do get "rvm is a function" with type rvm... | |
I installed a boatload of zlib-related libraries with sudo apt-get and that all went OK... | |
rvm debug output | |
================ | |
ruby-1.9.2-head: | |
rvm 1.1.7 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/] | |
ruby-1.9.2-head: | |
system: | |
uname: "Linux EDP15 2.6.32-27-generic #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010 x86_64 GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)" | |
zsh: " => not installed" | |
rvm: | |
version: "rvm 1.1.7 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]" | |
ruby: | |
interpreter: "ruby" | |
version: "1.9.2p136" | |
date: "2010-12-25" | |
platform: "x86_64-linux" | |
patchlevel: "2010-12-25 revision 30363" | |
full_version: "ruby 1.9.2p136 (2010-12-25 revision 30363) [x86_64-linux]" | |
homes: | |
gem: "/home/jseidel/.rvm/gems/ruby-1.9.2-head" | |
ruby: "/home/jseidel/.rvm/rubies/ruby-1.9.2-head" | |
binaries: | |
ruby: "/home/jseidel/.rvm/rubies/ruby-1.9.2-head/bin/ruby" | |
irb: "/home/jseidel/.rvm/rubies/ruby-1.9.2-head/bin/irb" | |
gem: "/home/jseidel/.rvm/rubies/ruby-1.9.2-head/bin/gem" | |
rake: "/home/jseidel/.rvm/gems/ruby-1.9.2-head/bin/rake" | |
environment: | |
PATH: "/home/jseidel/.rvm/gems/ruby-1.9.2-head/bin:/home/jseidel/.rvm/gems/ruby-1.9.2-head@global/bin:/home/jseidel/.rvm/rubies/ruby-1.9.2-head/bin:/home/jseidel/.rvm/bin:/home/jseidel/rds/bin:/var/lib/gems/1.8/bin:/home/jseidel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" | |
GEM_HOME: "/home/jseidel/.rvm/gems/ruby-1.9.2-head" | |
GEM_PATH: "/home/jseidel/.rvm/gems/ruby-1.9.2-head:/home/jseidel/.rvm/gems/ruby-1.9.2-head@global" | |
MY_RUBY_HOME: "/home/jseidel/.rvm/rubies/ruby-1.9.2-head" | |
IRBRC: "/home/jseidel/.rvm/rubies/ruby-1.9.2-head/.irbrc" | |
RUBYOPT: "" | |
gemset: "" | |
PATH: | |
/home/jseidel/.rvm/gems/ruby-1.9.2-head/bin:/home/jseidel/.rvm/gems/ruby-1.9.2-head@global/bin:/home/jseidel/.rvm/rubies/ruby-1.9.2-head/bin:/home/jseidel/.rvm/bin:/home/jseidel/rds/bin | |
uname -a: Linux EDP15 2.6.32-27-generic #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010 x86_64 GNU/Linux | |
permissions: /home/jseidel/.rvm: | |
total 92 | |
drwxr-xr-x 20 jseidel jseidel 4096 2010-12-28 10:23 . | |
drwxr-xr-x 89 jseidel jseidel 4096 2010-12-28 21:53 .. | |
drwxr-xr-x 2 jseidel jseidel 4096 2010-12-28 10:23 archives | |
drwxr-xr-x 2 jseidel jseidel 4096 2010-12-28 11:43 bin | |
drwxr-xr-x 2 jseidel jseidel 4096 2010-12-28 17:22 config | |
drwxr-xr-x 2 jseidel jseidel 4096 2010-12-28 10:38 environments | |
drwxr-xr-x 2 jseidel jseidel 4096 2010-12-28 09:41 examples | |
drwxr-xr-x 8 jseidel jseidel 4096 2010-12-28 10:24 gems | |
drwxr-xr-x 6 jseidel jseidel 4096 2010-12-28 09:41 gemsets | |
drwxr-xr-x 2 jseidel jseidel 4096 2010-12-28 09:41 help | |
drwxr-xr-x 3 jseidel jseidel 4096 2010-12-28 09:41 lib | |
-rw-r--r-- 1 jseidel jseidel 1043 2010-12-28 09:41 LICENCE | |
drwxr-xr-x 6 jseidel jseidel 4096 2010-12-28 10:24 log | |
drwxr-xr-x 5 jseidel jseidel 4096 2010-12-28 09:41 patches | |
-rw-r--r-- 1 jseidel jseidel 6680 2010-12-28 09:41 README | |
drwxr-xr-x 4 jseidel jseidel 4096 2010-12-28 09:54 repos | |
drwxr-xr-x 4 jseidel jseidel 4096 2010-12-28 11:43 rubies | |
drwxr-xr-x 3 jseidel jseidel 4096 2010-12-28 09:41 scripts | |
drwxr-xr-x 7 jseidel jseidel 4096 2010-12-28 11:37 src | |
drwxr-xr-x 2 jseidel jseidel 4096 2010-12-28 09:41 tmp | |
drwxr-xr-x 5 jseidel jseidel 4096 2010-12-28 10:23 usr | |
drwxr-xr-x 6 jseidel jseidel 4096 2010-12-28 11:43 wrappers | |
/home/jseidel/.rvm/rubies: | |
total 16 | |
drwxr-xr-x 4 jseidel jseidel 4096 2010-12-28 11:43 . | |
drwxr-xr-x 20 jseidel jseidel 4096 2010-12-28 10:23 .. | |
drwxr-xr-x 5 jseidel jseidel 4096 2010-12-28 09:53 ruby-1.8.7-head | |
drwxr-xr-x 6 jseidel jseidel 4096 2010-12-28 11:43 ruby-1.9.2-head | |
/home/jseidel/.bashrc: | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
/home/jseidel/.rvm/config/db \(filtered\): | |
#General | |
niceness=0 | |
# Rubies | |
interpreter=ruby | |
ruby_version=1.8.7 | |
ruby_configure_flags=--enable-shared | |
ruby_patchlevel=299 | |
ruby_configure=--enable-shared | |
ruby_repo_url=http://svn.ruby-lang.org/repos/ruby | |
ruby_1.0_url=ftp://ftp.ruby-lang.org/pub/ruby/1.0 | |
ruby_1.2_url=ftp://ftp.ruby-lang.org/pub/ruby/1.2 | |
ruby_1.3_url=ftp://ftp.ruby-lang.org/pub/ruby/1.3 | |
ruby_1.4_url=ftp://ftp.ruby-lang.org/pub/ruby/1.4 | |
ruby_1.5_url=ftp://ftp.ruby-lang.org/pub/ruby/1.5 | |
ruby_1.6_url=ftp://ftp.ruby-lang.org/pub/ruby/1.6 | |
ruby_1.7_url=ftp://ftp.ruby-lang.org/pub/ruby/1.7 | |
ruby_1.8_url=ftp://ftp.ruby-lang.org/pub/ruby/1.8 | |
ruby_1.9_url=ftp://ftp.ruby-lang.org/pub/ruby/1.9 | |
ruby_2.0_url=ftp://ftp.ruby-lang.org/pub/ruby/2.0 | |
ruby_1.9.1_patch_level=378 | |
ruby_1.9.2_patch_level=136 | |
ruby_1.8.5_patch_level=231 | |
ruby_1.8.6_patch_level=399 | |
ruby_1.8.7_patch_level=330 | |
rubygems_version=1.3.7 | |
rubygems_1.3.5_url=http://rubyforge.org/frs/download.php/60718 | |
rubygems_1.3.6_url=http://rubyforge.org/frs/download.php/69365 | |
rubygems_1.3.7_url=http://rvm.beginrescueend.com/src/ | |
rbx_version=head | |
rbx_1.0.0_patch_level=20100514 | |
rbx_1.0.1_patch_level=20100603 | |
rbx_1.1.0_patch_level=20100923 | |
rbx_1.1.1_patch_level=20101116 | |
rbx_1.2.0_patch_level=20101221 | |
rbx_url=http://asset.rubini.us | |
rubinius_repo_url=git://github.com/evanphx/rubinius.git | |
http://rubini.us/download/latest | |
ree_version=1.8.7 | |
ree_configure_flags=--dont-install-useful-gems | |
ree_1.8.6_patch_level=20090610 | |
ree_1.8.6_url=http://rubyforge.org/frs/download.php/58677 | |
ree_1.8.6_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition.git | |
ree_1.8.7_url=http://rvm.beginrescueend.com/src/ | |
ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187.git | |
ree_1.8.7_patch_level=2010.02 | |
jruby_version=1.5.6 | |
jruby_repo_url=git://github.com/jruby/jruby.git | |
jruby_url=http://jruby.org.s3.amazonaws.com/downloads | |
macruby_version=0.8 | |
macruby_nightly_version=0.9 | |
macruby_url=http://www.macruby.org/files | |
macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git | |
macruby_nightly_url=http://www.macruby.org/files/nightlies/macruby_nightly-latest.pkg | |
maglev_version=24924 | |
maglev_url=http://glass-downloads.gemstone.com/maglev | |
maglev_repo_url=git://github.com/MagLev/maglev.git | |
ironruby_version=1.0 | |
ironruby_repo_url=git://github.com/ironruby/ironruby.git | |
ironruby_1.0_url=http://rubyforge.org/frs/download.php/70179/ | |
# Packages | |
readline_url=ftp://ftp.gnu.org/gnu/readline | |
libiconv_url=http://ftp.gnu.org/pub/gnu/libiconv | |
curl_url=http://curl.haxx.se/download | |
openssl_url=http://www.openssl.org/source | |
zlib_url=http://www.zlib.net | |
autoconf_url=ftp.gnu.org/gnu/autoconf | |
ncurses_url=http://ftp.gnu.org/pub/gnu/ncurses | |
pkg-config_url=http://pkgconfig.freedesktop.org/releases | |
gettext_url=ftp://ftp.gnu.org/pub/gnu/gettext | |
libxml2_url=ftp://xmlsoft.org/libxml2/ | |
glib_url=http://ftp.gnome.org/pub/gnome/sources/glib/2.23 | |
mono_url=http://ftp.novell.com/pub/mono/sources/mono/ | |
llvm_url=https://llvm.org/svn/llvm-project/llvm/trunk | |
/home/jseidel/.rvmrc \(filtered\): | |
export rvm_pretty_print_flag=1 | |
/home/jseidel/.gemrc \(filtered\): | |
--- | |
:benchmark: false | |
:verbose: true | |
:backtrace: false | |
:update_sources: true | |
:sources: | |
- http://gems.rubyforge.org/ | |
- http://gems.github.com | |
:bulk_threshold: 1000 | |
gem sources: | |
http://gems.rubyforge.org/ | |
http://gems.github.com | |
It's good that things seem to work, but I'd sure like to figure this out and clean it up. | |
Thanks...jon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment