Browse files

use the new openbsd requiremnts fo installation

  • Loading branch information...
1 parent b07ac0c commit 30f3936574b7e84be1f57851cc00ab965d842180 @mpapis mpapis committed Jan 15, 2013
Showing with 5 additions and 22 deletions.
  1. +5 −22 scripts/requirements
View
27 scripts/requirements
@@ -14,42 +14,25 @@ __rvm_detect_system
if [[ "linux" == "$_system_type" || "bsd" == "$_system_type" ]]
then
printf "%b" "Requirements for $_system_name/$_system_version/$_system_arch\n"
- printf "%b" "
+ case ${1:-echo} in
+ (echo)
+ printf "%b" "
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X)
This is the *original* / standard Ruby Language Interpreter
'ree' represents Ruby Enterprise Edition
'rbx' represents Rubinius
Additional Dependencies:
"
-
- rvm_pkg_add_binary="$( builtin command -v pkg_add )"
- if [[ -n "$rvm_pkg_add_binary" ]]
- then
- printf "%b" "
-# Ruby / Ruby HEAD (MRI, Rubinius, & REE)
- ruby: pkg_add gcc curl readline libxml2 libxslt git autoconf automake diffutils make libtool bison subversion
-
-# JRuby
- jruby: pkg_add jdk curl
- jruby-head: pkg_add apache-ant
-
-# IronRuby
- ironruby: pkg_add mono
-
-# Opal
- opal: pkg_add -r node-devel
-"
- else
+ ;;
+ esac
for _type in update-system rvm ruby jruby
do
printf "%b" "# For $_type:\n"
bash "${rvm_scripts_path:-"$rvm_path/scripts"}/functions/requirements/$_system_name" ${1:-echo} $_type
done
- fi
-
elif [[ "SunOS" == "$system" ]]
then
version="$(uname -v)"

0 comments on commit 30f3936

Please sign in to comment.