Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created July 6, 2013 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadzik/5940022 to your computer and use it in GitHub Desktop.
Save tadzik/5940022 to your computer and use it in GitHub Desktop.
┌─[tadzik@yavin]─[~]
└─[%]─> rakudobrew
Usage:
/home/tadzik/bin/rakudobrew current
/home/tadzik/bin/rakudobrew switch [jvm|parrot|moarvm]
┌─[tadzik@yavin]─[~]
└─[%]─> rakudobrew current
Currently running jvm
┌─[tadzik@yavin]─[~]
└─[%]─> time perl6 -e 'say "Hello, JVM!"'
Hello, JVM!
perl6 -e 'say "Hello, JVM!"' 6.98s user 0.18s system 179% cpu 3.991 total
┌─[tadzik@yavin]─[~]
└─[%]─> rakudobrew switch parrot
Switching to parrot
┌─[tadzik@yavin]─[~]
└─[%]─> rakudobrew current
Currently running parrot
┌─[tadzik@yavin]─[~]
└─[%]─> time perl6 -e 'say "Hello, Parrot!"'
Hello, Parrot!
perl6 -e 'say "Hello, Parrot!"' 0.34s user 0.10s system 96% cpu 0.447 total
┌─[tadzik@yavin]─[~]
└─[%]─> rakudobrew switch
Switch to what?
Available implementations:
parrot
jvm
┌─[tadzik@yavin]─[~]
└─[%]─> rakudobrew switch moarvm
moarvm not installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment