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
diff --git a/binscripts/rvm-installer b/binscripts/rvm-installer
index 652c524..c3b1552 100755
--- a/binscripts/rvm-installer
+++ b/binscripts/rvm-installer
@@ -43,6 +43,26 @@ else
(Darwin|FreeBSD|DragonFly) # it's not possible to autodetect on OSX, the help/man does not mention all flags
rvm_tar_command=tar
;;
+ (SunOS)
+ case "$(uname -r)" in
-bash-3.2$ /opt/csw/bin/gfind /export/home/sol/jruby-1.7.4 -name '*.so' | xargs env LD_LIBRARY_PATH="" ldd 2>/dev/null
/export/home/sol/jruby-1.7.4/lib/native/i386-Linux/libjffi-1.2.so:
libc.so.6 => (file not found)
/export/home/sol/jruby-1.7.4/lib/native/i386-SunOS/libjffi-1.2.so:
libdl.so.1 => /lib/libdl.so.1
/export/home/sol/jruby-1.7.4/lib/native/x86_64-FreeBSD/libjffi-1.2.so:
libthr.so.3 => (file not found)
libc.so.7 => (file not found)
/export/home/sol/jruby-1.7.4/lib/native/x86_64-Linux/libjffi-1.2.so:
libc.so.6 => (file not found)
curl version: 7.32.0
Host setup: i386-pc-solaris2.11
Install prefix: /home/oi/curl7320
Compiler: /usr/gcc/4.3/bin/gcc
SSL support: enabled (OpenSSL)
SSH support: no (--with-libssh2)
zlib support: enabled
krb4 support: no (--with-krb4*)
GSSAPI support: no (--with-gssapi)
SPNEGO support: no (--with-spnego)
__rvm_setup_compile_environment_sunos()
{
[[ "$(uname -s)" == "SunOS" ]] || return 0
case "$1" in
ruby-1.9*|ruby-2*)
# Temporary solution for this bug http://bugs.ruby-lang.org/issues/5384
rvm_configure_flags+=( ac_cv_func_dl_iterate_phdr=no )
;;
esac
if __rvm_string_match "$1" "ruby-2.0.*"
// Show GitHub organizations
// Example: "company1", "company2"
"include_orgs": [],
// Show GitHub users
// Example: "user1", "user2"
"include_users": [],
// Show the authors of Gists
"show_authors": false,
"include_users": [],
// Show the authors of Gists
"show_authors": false,
// Prefer first file name instead of description in Open Gist menu
"prefer_filename": false,
// Proxy server
SmartOS
[joy@dc068d44-f711-4d23-94f3-cbd2fa870bc7 ~]$ irb
>>
Solaris, OpenIndiana
oi@openindiana:~$ irb
1.9.3p448 :001 >
current path: /export/home/sol/.rvm/src/ruby-2.0.0-p247
command(9): bash AR=/opt/csw/bin/gar MAKE=/opt/csw/bin/gmake ./configure --prefix=/export/home/sol/.rvm/rubies/ruby-2.
0.0-p247 --with-opt-dir=/opt/csw ac_cv_func_dl_iterate_phdr=no --disable-install-doc --enable-shared
bash: AR=/opt/csw/bin/gar: No such file or directory
if
__system_and_version_is SunOS 5.10
then
if __rvm_which sudo >/dev/null 2>&1
then sudo_path=""
else sudo_path=/opt/csw/bin/
fi
else
sudo_path=""
fi
__rvm_try_sudo()
(
typeset -a command_to_run
command_to_run=( /usr/bin/env PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin" "$@" )
(( UID == 0 )) ||
case "$rvm_autolibs_flag_number" in
(0)
rvm_debug "Running '$*' would require sudo."
return 0
;;