Skip to content

Instantly share code, notes, and snippets.

View Ch00k's full-sized avatar
🤖
Clauding...

Andrii Yurchuk Ch00k

🤖
Clauding...
  • Utrecht, Netherlands
View GitHub Profile
oms@solaris:~$ diff config.log_gnu config.log_nongnu
40d39
< PATH: /usr/gnu/bin
187c186
< configure:4347: result: /usr/gnu/bin/grep
---
> configure:4347: result: /usr/bin/ggrep
189c188
< configure:4414: result: /usr/gnu/bin/grep -E
---
case "$(uname)" in
(SunOS)
[[ -x /usr/gnu/bin/grep || -x /opt/local/bin/grep ]] ||
rvm_error "ERROR: Missing GNU grep. Make sure it is installed in either /usr/gnu/bin/grep or /opt/local/bin/grep before using RVM!"
__rvm_grep()
{
GREP_OPTIONS="" /usr/gnu/bin/grep "$@" ||
GREP_OPTIONS="" /opt/local/bin/grep "$@" || return $?;
}
case "$(uname)" in
(SunOS)
case "$(uname -v)" in
(*joyent*)
gnu_tools_path=/opt/local/bin
;;
(*)
gnu_tools_path=/usr/gnu/bin
;;
esac
ay:~$ rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p448.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx_brew.
Installing requirements for osx_brew.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
Updated Homebrew from 9ac57d42 to ea18a30d.
==> Updated Formulae
csync libmagic rabbitmq-c sbcl vifm wine
ay:~$ rvm reinstall 2.0.0
/Users/ay/.rvm/src/ruby-2.0.0-p247 has already been removed.
/Users/ay/.rvm/rubies/ruby-2.0.0-p247 has already been removed.
Searching for binary rubies, this might take some time.
Checking requirements for osx_brew.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
ruby-2.0.0-p247 - #configure
ruby-2.0.0-p247 - #download
% Total % Received % Xferd Average Speed Time Time Time Current
@Ch00k
Ch00k / -
Created August 21, 2013 08:59
diff --git a/config/solaris/noask b/config/solaris/noask
deleted file mode 100644
index 7862beb..0000000
--- a/config/solaris/noask
+++ /dev/null
@@ -1,11 +0,0 @@
-mail=
-instance=overwrite
-partial=nocheck
-runlevel=nocheck
+++ %s.%N /scripts/functions/utility : __rvm_remove_from_path() 7 > [[ /opt/csw/bin:/usr/local/bin:/usr/sbin:/usr/bin:/bin =~ // ]]
+++ %s.%N /scripts/functions/utility : __rvm_remove_from_path() 16 > __rvm_string_match :/opt/csw/bin:/usr/local/bin:/usr/sbin:/usr/bin:/bin: '*:no --skip-alias in /opt/csw/bin /usr/local/bin /usr/sbin /usr/bin /bin
no --skip-functions in /opt/csw/bin /usr/local/bin /usr/sbin /usr/bin /bin
no rvm in /opt/csw/bin /usr/local/bin /usr/sbin /usr/bin :*'
+++ %s.%N /scripts/functions/support : __rvm_string_match() 1 > typeset _string
+++ %s.%N /scripts/functions/support : __rvm_string_match() 2 > _string=:/opt/csw/bin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:
+++ %s.%N /scripts/functions/support : __rvm_string_match() 3 > shift
+++ %s.%N /scripts/functions/support : __rvm_string_match() 4 > (( 1 ))
+++ %s.%N /scripts/functions/support : __rvm_string_match() 49 > case "${_string}" in
+++ %s.%N /scripts/functions/support : __rvm_string_match() 9 > shift
sol@unknown:~$ rvm requirements
Checking requirements for solaris.
no: No such file or directory
--skip-alias: No such file or directory
in: No such file or directory
no: No such file or directory
--skip-functions: No such file or directory
in: No such file or directory
sol password required for '/opt/csw/bin/pkgutil -i -y -t http://mirror.opencsw.org/opencsw/unstable':
Solaris 10
sol@unknown:~$ which --skip-alias --skip-functions which; echo $?
no --skip-alias in /opt/csw/bin /usr/bin /bin /export/home/sol/.rvm/bin
no --skip-functions in /opt/csw/bin /usr/bin /bin /export/home/sol/.rvm/bin
/usr/bin/which
0
Solaris 11
gnu_utils=( awk find sed make tail date)
case "$(uname)" in
(SunOS)
case "$(uname -v)" in
(*joyent*)
gnu_tools_path=/opt/local/bin
gnu_modifier=""
;;
(*)