Created
March 13, 2012 03:41
-
-
Save yellow5/2026604 to your computer and use it in GitHub Desktop.
RVM + JRuby + doc generation
This file contains 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
cameron@cam-gazelle:~$ java -version | |
java version "1.6.0_24" | |
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b24~pre2-1) | |
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) | |
cameron@cam-gazelle:~$ 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 464 0 --:--:-- --:--:-- --:--:-- 702 | |
100 921k 100 921k 0 0 549k 0 0:00:01 0:00:01 --:--:-- 1161k | |
Upgrading the RVM installation in /home/cameron/.rvm/ | |
RVM PATH line found in /home/cameron/.bashrc /home/cameron/.zshrc. | |
RVM sourcing line found in /home/cameron/.bashrc. | |
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/cameron/.rvm/ is complete. | |
# Cameron Dykes, | |
# | |
# Thank you for using RVM! | |
# I sincerely hope that RVM helps to make your life easier and more enjoyable!!! | |
# | |
# ~Wayne | |
Installed RVM master version: | |
rvm 1.10.3 by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.beginrescueend.com/] | |
RVM reloaded! | |
cameron@cam-gazelle:~$ time rvm install jruby --1.9 | |
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/cameron/.rvm/repos/jruby'... | |
remote: Counting objects: 186949, done. | |
remote: Compressing objects: 100% (43745/43745), done. | |
remote: Total 186949 (delta 131645), reused 185432 (delta 130322) | |
Receiving objects: 100% (186949/186949), 85.71 MiB | 2.02 MiB/s, done. | |
Resolving deltas: 100% (131645/131645), done. | |
HEAD is now at a523e57 Re-tag specs that seem to fail in the full run. | |
From git://github.com/jruby/jruby | |
* branch master -> FETCH_HEAD | |
Already up-to-date. | |
Copying from repo to src path... | |
jruby-1.6.7 - #ant jar | |
Error running 'ant jar', please read /home/cameron/.rvm/log/jruby-1.6.7/ant.jar.log | |
jruby-1.6.7 - #ant jar -Djruby.default.ruby.version=1.9 | |
Error running 'ant jar -Djruby.default.ruby.version=1.9', please read /home/cameron/.rvm/log/jruby-1.6.7/ant.jar.flags.log | |
Building Nailgun | |
jruby-1.6.7 - #installing to /home/cameron/.rvm/rubies/jruby-1.6.7 | |
jruby-1.6.7 - #importing default gemsets (/home/cameron/.rvm/gemsets/) | |
Copying across included gems | |
Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main | |
Caused by: java.lang.ClassNotFoundException: org.jruby.Main | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:321) | |
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:266) | |
Could not find the main class: org.jruby.Main. Program will exit. | |
real 1m15.762s | |
user 0m19.749s | |
sys 0m4.760s |
This file contains 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
cameron@cam-gazelle:~$ java -version | |
java version "1.6.0_24" | |
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b24~pre2-1) | |
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) | |
cameron@cam-gazelle:~$ 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 448 0 --:--:-- --:--:-- --:--:-- 675 | |
100 921k 100 921k 0 0 450k 0 0:00:02 0:00:02 --:--:-- 897k | |
Upgrading the RVM installation in /home/cameron/.rvm/ | |
RVM PATH line found in /home/cameron/.bashrc /home/cameron/.zshrc. | |
RVM sourcing line found in /home/cameron/.bashrc. | |
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/cameron/.rvm/ is complete. | |
# Cameron Dykes, | |
# | |
# Thank you for using RVM! | |
# I sincerely hope that RVM helps to make your life easier and more enjoyable!!! | |
# | |
# ~Wayne | |
Installed RVM master version: | |
rvm 1.10.3 by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.beginrescueend.com/] | |
RVM reloaded! | |
cameron@cam-gazelle:~$ time rvm install jruby | |
jruby-1.6.7 - #fetching | |
jruby-1.6.7 - #extracting jruby-bin-1.6.7 to /home/cameron/.rvm/src/jruby-1.6.7 | |
jruby-1.6.7 - #extracted to /home/cameron/.rvm/src/jruby-1.6.7 | |
Building Nailgun | |
jruby-1.6.7 - #installing to /home/cameron/.rvm/rubies/jruby-1.6.7 | |
jruby-1.6.7 - #importing default gemsets (/home/cameron/.rvm/gemsets/) | |
Copying across included gems | |
Building native extensions. This could take a while... | |
Successfully installed jruby-launcher-1.0.12-java | |
1 gem installed | |
real 0m57.735s | |
user 1m22.201s | |
sys 0m3.868s | |
cameron@cam-gazelle:~$ rvm use jruby | |
Using /home/cameron/.rvm/gems/jruby-1.6.7 | |
cameron@cam-gazelle:~$ export JRUBY_OPTS="--1.9" | |
cameron@cam-gazelle:~$ ruby -v | |
jruby 1.6.7 (ruby-1.9.2-p312) (2012-02-22 3e82bc8) (OpenJDK 64-Bit Server VM 1.6.0_24) [linux-amd64-java] | |
cameron@cam-gazelle:~$ time rvm docs generate all | |
Generating ri documentation, be aware that this could take a *long* time, and depends heavily on your system resources... | |
( Errors will be logged to /home/cameron/.rvm/log/jruby-1.6.7/docs.log ) | |
Generating rdoc documentation, be aware that this could take a *long* time, and depends heavily on your system resources... | |
( Errors will be logged to /home/cameron/.rvm/log/jruby-1.6.7/docs.log ) | |
real 0m5.558s | |
user 0m11.273s | |
sys 0m0.336s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment