[tester@Fortinbras ~]$ rvm get head Downloading RVM from wayneeseguin branch master % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 125 100 125 0 0 164 0 --:--:-- --:--:-- --:--:-- 213 100 938k 100 938k 0 0 226k 0 0:00:04 0:00:04 --:--:-- 372k Upgrading the RVM installation in /home/tester/.rvm/ RVM PATH line found in /home/tester/.bashrc /home/tester/.zshrc. RVM sourcing line found in /home/tester/.bash_profile /home/tester/.zlogin. Upgrade Notes: * No new notes to display. # RVM: Shell scripts enabling management of multiple ruby environments. # RTFM: https://rvm.beginrescueend.com/ # HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net) # Screencast: http://screencasts.org/episodes/how-to-use-rvm # In case of any issues read output of 'rvm requirements' and/or 'rvm notes' Upgrade of RVM in /home/tester/.rvm/ is complete. # tester, # # Thank you for using RVM! # I sincerely hope that RVM helps to make your life easier and more enjoyable!!! # # ~Wayne rvm 1.11.2 (master) by Wayne E. Seguin , Michal Papis [https://rvm.beginrescueend.com/] RVM reloaded! [tester@Fortinbras ~]$ rvm reinstall jruby --1.8 --patch rubygems_etc it seems that /home/tester/.rvm/src/jruby-1.6.7 is already non existent. it seems that /home/tester/.rvm/rubies/jruby-1.6.7 is already non existent. Removing jruby-1.6.7 aliases... Removing jruby-1.6.7 wrappers... Removing jruby-1.6.7 environments... Removing jruby-1.6.7 binaries... jruby-1.6.7 - #fetching Cloning from git://github.com/jruby/jruby.git, this may take a while depending on your connection... Cloning into '/home/tester/.rvm/repos/jruby'... remote: Counting objects: 188238, done. remote: Compressing objects: 100% (43919/43919), done. remote: Total 188238 (delta 132548), reused 186838 (delta 131342) Receiving objects: 100% (188238/188238), 86.08 MiB | 378 KiB/s, done. Resolving deltas: 100% (132548/132548), done. HEAD is now at 43e91dd * JRUBY-6334 Added specs for the current behavor of master From git://github.com/jruby/jruby * branch master -> FETCH_HEAD Already up-to-date. Copying from repo to src path... Applying patch 'rubygems_etc' (located at /home/tester/.rvm/patches/jruby/rubygems_etc.patch) Error running 'patch -F 25 -p1 -N -f <"/home/tester/.rvm/patches/jruby/rubygems_etc.patch"', please read /home/tester/.rvm/log/jruby-1.6.7/patch.apply.rubygems_etc.log jruby-1.6.7 - #ant jar jruby-1.6.7 - #ant jar -Djruby.default.ruby.version=1.8 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 SyntaxError: /home/tester/.rvm/bin/rake:5: syntax error, unexpected tSTRING_BEG printf "%b" "$(tput setaf 1)ERROR: Gem rake is not installed, run \`gem install rake\` first.$(tput sgr0)\n" ^ 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