Skip to content

Instantly share code, notes, and snippets.

@mrinterweb
Created August 26, 2009 23:37
Show Gist options
  • Save mrinterweb/175946 to your computer and use it in GitHub Desktop.
Save mrinterweb/175946 to your computer and use it in GitHub Desktop.
errors with rvm install of ruby 1.9.1
+ case "$action" in
+ rvm-use ruby 1.9
+ implementation=ruby
+ case "$implementation" in
+ '[' 1.9 = 1.8.7 ']'
+ '[' 1.9 = 1.8.6 -o 1.9 = 1.8 ']'
+ '[' 1.9 = 1.9.2 ']'
+ '[' 1.9 = 1.9.1 -o 1.9 = 1.9 ']'
+ level=243
+ MY_RUBY_HOME=/Users/sean/.rvm/ruby-1.9.1-p243
+ GEM_HOME=/Users/sean/.gem/ruby/1.9.1
+ '[' '!' ruby = default ']'
+ '[' '!' -d /Users/sean/.rvm/ruby-1.9.1-p243 ']'
++ /Users/sean/.rvm/ruby-1.9.1-p243/bin/ruby -v
bash: /Users/sean/.rvm/ruby-1.9.1-p243/bin/ruby: No such file or directory
++ sed 's/^\(.*\) (.*$/\1/'
+ RUBY_VERSION=
+ export GEM_HOME MY_RUBY_HOME RUBY_VERSION
+ echo 'PATH=/Users/sean/.rvm/ruby-1.9.1-p243/bin:/Users/sean/.gem/ruby/1.9.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin ; export PATH'
+ for variable in RUBY_VERSION GEM_HOME MY_RUBY_HOME
+ eval 'export RUBY_VERSION'
++ export RUBY_VERSION
+ eval 'value=$RUBY_VERSION'
++ value=
+ echo 'RUBY_VERSION='\'''\'' ; export RUBY_VERSION'
+ for variable in RUBY_VERSION GEM_HOME MY_RUBY_HOME
+ eval 'export GEM_HOME'
++ export GEM_HOME
+ eval 'value=$GEM_HOME'
++ value=/Users/sean/.gem/ruby/1.9.1
+ echo 'GEM_HOME='\''/Users/sean/.gem/ruby/1.9.1'\'' ; export GEM_HOME'
+ for variable in RUBY_VERSION GEM_HOME MY_RUBY_HOME
+ eval 'export MY_RUBY_HOME'
++ export MY_RUBY_HOME
+ eval 'value=$MY_RUBY_HOME'
++ value=/Users/sean/.rvm/ruby-1.9.1-p243
+ echo 'MY_RUBY_HOME='\''/Users/sean/.rvm/ruby-1.9.1-p243'\'' ; export MY_RUBY_HOME'
+ rvm-log-info 'Switching to ruby 1.9 ...'
+ rvm-log '\e[0;32m <i> \e[0mSwitching to ruby 1.9 ...'
+ echo -e '\n \e[0;32m <i> \e[0mSwitching to ruby 1.9 ... \e[0m'
<i> Switching to ruby 1.9 ...
+ '[' '!' -z '3.2.17(1)-release' ']'
+ exec bash -l
/Users/sean/.rvm/src/ruby-1.9.1-p243/lib/fileutils.rb:846:in `stat': No such file or directory - ruby (Errno::ENOENT)
from /Users/sean/.rvm/src/ruby-1.9.1-p243/lib/fileutils.rb:846:in `block in install'
from /Users/sean/.rvm/src/ruby-1.9.1-p243/lib/fileutils.rb:1396:in `block in fu_each_src_dest'
from /Users/sean/.rvm/src/ruby-1.9.1-p243/lib/fileutils.rb:1410:in `fu_each_src_dest0'
from /Users/sean/.rvm/src/ruby-1.9.1-p243/lib/fileutils.rb:1394:in `fu_each_src_dest'
from /Users/sean/.rvm/src/ruby-1.9.1-p243/lib/fileutils.rb:843:in `install'
from ./instruby.rb:136:in `install'
from ./instruby.rb:236:in `block in <main>'
from ./instruby.rb:409:in `call'
from ./instruby.rb:409:in `block (2 levels) in <main>'
from ./instruby.rb:406:in `each'
from ./instruby.rb:406:in `block in <main>'
from ./instruby.rb:402:in `each'
from ./instruby.rb:402:in `<main>'
make: *** [do-install-nodoc] Error 1
gcc -I. -I../../.ext/include/i386-darwin9.8.0 -I../.././include -I../.././ext/readline -DRUBY_EXTCONF_H=\"extconf.h\" -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -o readline.o -c readline.c
readline.c: In function ‘filename_completion_proc_call’:
readline.c:1130: warning: implicit declaration of function ‘completion_matches’
readline.c:1131: error: ‘filename_completion_function’ undeclared (first use in this function)
readline.c:1131: error: (Each undeclared identifier is reported only once
readline.c:1131: error: for each function it appears in.)
readline.c:1131: warning: assignment makes pointer from integer without a cast
readline.c: In function ‘username_completion_proc_call’:
readline.c:1156: error: ‘username_completion_function’ undeclared (first use in this function)
readline.c:1156: warning: assignment makes pointer from integer without a cast
make[1]: *** [readline.o] Error 1
make: *** [mkmain.sh] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment