➜ ~ rvm install 1.9.3 Fetching yaml-0.1.4.tar.gz to /home/tester/.rvm/archives % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 460k 100 460k 0 0 99003 0 0:00:04 0:00:04 --:--:-- 107k Extracting yaml-0.1.4.tar.gz to /home/tester/.rvm/src Prepare yaml in /home/tester/.rvm/src/yaml-0.1.4. Configuring yaml in /home/tester/.rvm/src/yaml-0.1.4. Compiling yaml in /home/tester/.rvm/src/yaml-0.1.4. Installing yaml to /home/tester/.rvm/usr Installing Ruby from source to: /home/tester/.rvm/rubies/ruby-1.9.3-p125, this may take a while depending on your cpu(s)... ruby-1.9.3-p125 - #fetching ruby-1.9.3-p125 - #downloading ruby-1.9.3-p125, this may take a while depending on your connection... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9505k 100 9505k 0 0 491k 0 0:00:19 0:00:19 --:--:-- 754k ruby-1.9.3-p125 - #extracting ruby-1.9.3-p125 to /home/tester/.rvm/src/ruby-1.9.3-p125 ruby-1.9.3-p125 - #extracted to /home/tester/.rvm/src/ruby-1.9.3-p125 Applying patch 'xcode-debugopt-fix-r34840' (located at /home/tester/.rvm/patches/ruby/1.9.3/p125/xcode-debugopt-fix-r34840.diff) ruby-1.9.3-p125 - #autoreconf ruby-1.9.3-p125 - #configuring ruby-1.9.3-p125 - #compiling ruby-1.9.3-p125 - #installing Removing old Rubygems files... Installing rubygems-1.8.21 for ruby-1.9.3-p125 ... Installation of rubygems completed successfully. ruby-1.9.3-p125 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake). ruby-1.9.3-p125 - #importing default gemsets (/home/tester/.rvm/gemsets/) Install of ruby-1.9.3-p125 - #complete ➜ ~ rvm use 1.9.3 Using /home/tester/.rvm/gems/ruby-1.9.3-p125 ➜ ~ rvm rubygems latest-1.8 Removing old Rubygems files... Installing rubygems-1.8.21 for ruby-1.9.3-p125 ... Installation of rubygems completed successfully. ➜ ~ rvm install jruby jruby-1.6.7 - #fetching jruby-1.6.7 - #extracted to /home/tester/.rvm/src/jruby-1.6.7 (already extracted) Building Nailgun jruby-1.6.7 - #installing to /home/tester/.rvm/rubies/jruby-1.6.7 jruby-1.6.7 - #importing default gemsets (/home/tester/.rvm/gemsets/) Copying across included gems WARNING: You don't have /home/tester/.gem/jruby/1.8/bin in your PATH, gem executables will not run. Building native extensions. This could take a while... ERROR: Error installing jruby-launcher: ERROR: Failed to build gem native extension. /home/tester/.rvm/rubies/jruby-1.6.7/bin/jruby extconf.rb # These line gets substituted with the actual Config::CONFIG items location by extconf.rb PREFIX = /home/tester/.rvm/rubies/jruby-1.6.7 BINDIR = /home/tester/.rvm/rubies/jruby-1.6.7/bin INSTALLDIR = $(PREFIX)/lib/ruby/shared/rubygems/defaults OLDINSTALLDIR = $(PREFIX)/lib/ruby/site_ruby/1.8/rubygems/defaults ifeq (true,$(shell test -x $(BINDIR)/jruby && echo true)) RAKE=$(BINDIR)/jruby -S rake else RAKE=rake endif build: .build-post .build-pre: .build-post: .build-impl build-exe test build-exe: @if [ "$(findstring mingw, $(CONF))" ]; then \ ${MAKE} -f ${SUB_CONFMK} SUBPROJECTS=${SUBPROJECTS} jruby.exe jrubyw.exe; \ if [ -d ../jruby ]; then cp jruby.exe jrubyw.exe jruby.dll ../jruby/bin/; fi; \ if [ -d D:/work/jruby-dev/jruby ]; then cp jruby.exe jrubyw.exe jruby.dll D:/work/jruby-dev/jruby/bin/; fi; \ fi jruby.res: resources/jruby.rc windres $^ -O coff -o $@ jruby.exe: jrubyexe.cpp nbexecloader.h utilsfuncs.cpp utilsfuncswin.cpp jruby.res g++ $(CXXFLAGS) $^ -s -o $@ $(LDLIBSOPTIONS) jrubyw.exe: jrubyexe.cpp nbexecloader.h utilsfuncs.cpp utilsfuncswin.cpp jruby.res g++ $(CXXFLAGS) -DJRUBYW -mwindows $^ -s -o $@ $(LDLIBSOPTIONS) install: @if [ ! -f ./jruby ]; then echo "Please run 'make' first."; exit 1; fi @if [ x$(BINDIR) = xnotspecified/bin ]; then echo "Please define where to install by passing PREFIX=."; exit 1; fi @if [ ! -w $(BINDIR) ]; then echo "'$(BINDIR)' does not exist or cannot write to '$(BINDIR)'."; exit 1; fi @if [ -f $(BINDIR)/jruby -a ! -w $(BINDIR)/jruby ]; then echo "Cannot write to '$(BINDIR)/jruby'."; exit 1; fi cp ./jruby $(BINDIR)/jruby @if [ x$(PREFIX) = xnotspecified ]; then echo "Please define where to install by passing PREFIX=."; exit 1; fi @if [ ! -w $(INSTALLDIR) ]; then \ if [ ! -w $(OLDINSTALLDIR) ]; then \ echo "Neither '$(INSTALLDIR)' nor '$(OLDINSTALLDIR)' exist and are writable"; exit 1; \ else \ echo "cp ./lib/rubygems/defaults/jruby_native.rb $(OLDINSTALLDIR)"; \ cp ./lib/rubygems/defaults/jruby_native.rb $(OLDINSTALLDIR); \ fi; \ else \ echo "cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR)"; \ cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR); \ fi; test: $(RAKE) # Universal binary on OSX FAT_ARCHES=i386 ppc x86_64 fat: $(FAT_ARCHES) lipo -create $(foreach arch,$(FAT_ARCHES),build/unix/Darwin-$(arch)/jruby-launcher) -output jruby $(RAKE) $(FAT_ARCHES): $(MAKE) -f $(SUB_CONFMK) CND_PLATFORM=Darwin-$@ CFLAGS="-arch $@" build/unix/Darwin-$@/jruby-launcher clean: .clean-post .clean-pre: -rm -rf build/* .clean-post: .clean-impl rm -f *.exe *.res clobber: .clobber-post .clobber-pre: .clobber-post: .clobber-impl all: .all-post .all-pre: .all-post: .all-impl help: .help-post .help-pre: .help-post: .help-impl # Use the manually-maintained inc/*.mk makefiles. # Pass NETBEANS=true on the command-line to use NB's generated # nbproject/*.mk ifdef NETBEANS SUB_IMPLMK=nbproject/Makefile-impl.mk else SUB_IMPLMK=inc/Makefile-impl.mk SUB_CONFMK=inc/Makefile-rules.mk endif # include project implementation makefile include $(SUB_IMPLMK) # Pick conf based on OS. for mingw64, must manually override for now. ifeq ($(OS),Windows_NT) CONF=mingw else CONF=unix endif ifdef NETBEANS SUB_CONFMK=nbproject/Makefile-${CONF}.mk endif make make -f inc/Makefile-rules.mk CONF=unix SUBPROJECTS= .build-conf make[1]: Вход в каталог `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java' make -f inc/Makefile-rules.mk jruby make[2]: Вход в каталог `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java' mkdir -p build/unix/Linux rm -f build/unix/Linux/argparser.o.d g++ -O2 -Wall -I/opt/java/include -c argparser.cpp -MMD -MP -MF build/unix/Linux/argparser.o.d -o build/unix/Linux/argparser.o mkdir -p build/unix/Linux rm -f build/unix/Linux/utilsfuncs.o.d g++ -O2 -Wall -I/opt/java/include -c utilsfuncs.cpp -MMD -MP -MF build/unix/Linux/utilsfuncs.o.d -o build/unix/Linux/utilsfuncs.o utilsfuncs.cpp: В функции «std::string findOnPath(const char*)»: utilsfuncs.cpp:125:12: предупреждение: неиспользуемая переменная «found» [-Wunused-variable] mkdir -p build/unix/Linux rm -f build/unix/Linux/ng.o.d gcc -O2 -Wall -I/opt/java/include -c ng.c -MMD -MP -MF build/unix/Linux/ng.o.d -o build/unix/Linux/ng.o mkdir -p build/unix/Linux rm -f build/unix/Linux/strlcpy.o.d gcc -O2 -Wall -I/opt/java/include -c strlcpy.c -MMD -MP -MF build/unix/Linux/strlcpy.o.d -o build/unix/Linux/strlcpy.o mkdir -p build/unix/Linux rm -f build/unix/Linux/jrubyexe.o.d g++ -O2 -Wall -I/opt/java/include -c jrubyexe.cpp -MMD -MP -MF build/unix/Linux/jrubyexe.o.d -o build/unix/Linux/jrubyexe.o mkdir -p build/unix/Linux rm -f build/unix/Linux/unixlauncher.o.d g++ -O2 -Wall -I/opt/java/include -c unixlauncher.cpp -MMD -MP -MF build/unix/Linux/unixlauncher.o.d -o build/unix/Linux/unixlauncher.o g++ -O2 -Wall -I/opt/java/include -o build/unix/Linux/jruby-launcher build/unix/Linux/argparser.o build/unix/Linux/utilsfuncs.o build/unix/Linux/ng.o build/unix/Linux/strlcpy.o build/unix/Linux/jrubyexe.o build/unix/Linux/unixlauncher.o -lstdc++ cp build/unix/Linux/jruby-launcher jruby make[2]: Выход из каталога `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java' make[1]: Выход из каталога `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java' /home/tester/.rvm/rubies/jruby-1.6.7/bin/jruby -S rake Gem::LoadError: Could not find rake (>= 0) amongst [] to_specs at /home/tester/.rvm/rubies/jruby-1.6.7/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247 to_spec at /home/tester/.rvm/rubies/jruby-1.6.7/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256 gem at /home/tester/.rvm/rubies/jruby-1.6.7/lib/ruby/site_ruby/1.8/rubygems.rb:1208 (root) at /home/tester/.rvm/rubies/jruby-1.6.7/bin/rake:18 make: *** [test] Ошибка 1 Gem files will remain installed in /home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java for inspection. Results logged to /home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java/./gem_make.out