|
|||||||||
Sunday the 22nd of November, 2009 |
|||||||||
jruby most recent diffversion 1.3.1
Scroll down toward the bottom of the page to get installation instructions for jruby. The raw portfile for jruby 1.3.1 is located here: http://jruby.darwinports.com/dports/lang/jruby/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/jruby The jruby Portfile 52771 2009-06-23 01:48:24Z jmr PortSystem 1.0 Name: jruby Version: 1.3.1 Category: lang ruby Maintainers: gmail.com:ameingast Platform: darwin Description: JRuby is an 100% pure-Java implementation of the Ruby programming language. Long Description: JRuby provides a complete set of core "builtin" classes and syntax for the Ruby language, as well as most of the Ruby Standard Libraries. The standard libraries are mostly Ruby's own complement of .rb files, but a few that depend on C language-based extensions have been reimplemented. Homepage: http://jruby.codehaus.org/ Master Sites: http://dist.codehaus.org/jruby/${version}/ distname ${name}-src-${version} worksrcdir ${name}-${version} use_bzip2 no Checksums: md5 c7e2aa4a3065db445a8b3e17ecff9fe0 sha1 e4de71e5c01f71f236b3135e07a5841784767fd8 rmd160 ef10395dbdf9490820caa65ff6236dd99e7c62c8 depends_build bin:ant:apache-ant depends_lib bin:java:kaffe use_configure no universal_variant no build.cmd ant build.target jar Variant: apidocs description "include API documentation" { build.target jar create-apidocs } Variant: default_ruby description "build without j prefix" { } destroot { # Create the target java directory exists xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} # Copy over the needed elements of our directory tree file copy ${worksrcpath}/bin ${worksrcpath}/lib ${destroot}${prefix}/share/java/${name} if { [variant_isset apidocs] } { file copy ${worksrcpath}/docs ${destroot}${prefix}/share/java/${name} } # Remove extraneous bat files foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.bat] { file delete $f } set jruby_prefix "" if { ![variant_isset default_ruby] } { set jruby_prefix "j" } foreach f { jruby jirb jrubyc jrubcli jrubysrv } { regsub {^j} $f $jruby_prefix dest if { ${dest} != ${f} } { ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/${dest} } ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/ } foreach f { gem gem_mirror gemri gemwhich rake spec testrb } { ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/${jruby_prefix}${f} } } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/jrubyYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using jruby with these commands: % man jruby Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




