Skip to content

Commit 929711f

Browse files
committed
Add definition for MagLev
1 parent 495b248 commit 929711f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

bin/ruby-build

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,20 @@ build_package_rbx() {
167167
} >&4 2>&1
168168
}
169169

170+
build_package_maglev() {
171+
build_package_copy
172+
173+
{ cd "${PREFIX_PATH}"
174+
./install.sh
175+
} >&4 2>&1
176+
echo
177+
echo "Using another Ruby (Rubinius 1.2.4 or 2.0.0x, MRI, etc)"
178+
echo "from within $PREFIX_PATH run"
179+
echo "/path/to/that/other/rake build:maglev"
180+
echo
181+
echo "Run 'maglev start' to start up the stone before using 'maglev-ruby' or 'maglev-irb'"
182+
}
183+
170184
build_package_jruby() {
171185
build_package_copy
172186
cd "${PREFIX_PATH}/bin"

share/ruby-build/maglev-1.0.0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
install_package "MagLev-1.0.0" "http://glass-downloads.gemstone.com/maglev/MagLev-1.0.0.tar.gz" maglev

0 commit comments

Comments
 (0)