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
sol@solaris11:~/rvm$ ./install
./scripts/functions/utility: line 3: /functions/utility_gems: No such file or directory
./scripts/functions/utility: line 4: /functions/utility_logging: No such file or directory
./scripts/functions/utility: line 5: /functions/utility_package: No such file or directory
./scripts/functions/utility: line 6: /functions/utility_system: No such file or directory
./scripts/functions/support: line 254: __system_and_version_is: command not found
sol@solaris11:~/.rvm/src/ruby-2.0.0-p247$ ./configure --prefix=/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 | tee -a /home/sol/.rvm/log/xxx_configure.log | /usr/gnu/bin/awk 'BEGIN{printf "ruby-2.0.0-p247 - #configuring";} { printf "."; flush} END{print ""}'ruby-2.0.0-p247 - #configuring......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................make: Warning: Illegal dependency list for target `.DEFAULT'
.
sol@solaris11:~/.rvm/src/ruby-2.0.0-p247$ echo $?
0
sol@solaris11:~/.rvm/src/ruby-2.0.0-p247$
@Ch00k
Ch00k / -
Created August 30, 2013 19:11
diff --git a/scripts/functions/autolibs b/scripts/functions/autolibs
index fa5df6e..b37ef74 100755
--- a/scripts/functions/autolibs
+++ b/scripts/functions/autolibs
@@ -2,7 +2,6 @@
 
 __rvm_autolibs_translate()
 {
- [[ -n "$_system_name" ]] || __rvm_detect_system
 case "${rvm_autolibs_flag}" in
@Ch00k
Ch00k / diff
Last active December 22, 2015 00:59
diff --git a/scripts/functions/autolibs b/scripts/functions/autolibs
index fa5df6e..b37ef74 100755
--- a/scripts/functions/autolibs
+++ b/scripts/functions/autolibs
@@ -2,7 +2,6 @@
__rvm_autolibs_translate()
{
- [[ -n "$_system_name" ]] || __rvm_detect_system
case "${rvm_autolibs_flag}" in
[cnt@centos64 ~]$ ls -la .rvm/src/
total 36
drwxrwxr-x 5 cnt cnt 4096 Sep 2 16:40 .
drwxrwxr-x 23 cnt cnt 4096 Sep 2 16:31 ..
drwxrwxr-x 24 cnt cnt 12288 Sep 2 16:35 ruby-1.9.3-p448
drwxrwxr-x 25 cnt cnt 12288 Sep 2 16:40 ruby-2.0.0-p247
drwxrwxr-x 7 cnt cnt 4096 Aug 16 02:37 rubygems-2.0.7
[cnt@centos64 ~]$ ls -la .rvm/archives/
total 20732
drwxrwxr-x 2 cnt cnt 4096 Sep 2 16:38 .
#!/usr/bin/env bash
if
[[ "$#" != 2 ]]
then
echo "Usage: $0 <source_dir> <dest_dir>"
exit 1
fi
[joy@e326b363-a4e7-4cf1-9574-32469c871a12 ~/ruby-2.0.0-p247]$ make
CC = gcc
LD = /usr/ccs/bin/ld
LDSHARED = gcc -shared
CFLAGS = -O3 -R -fPIC -fPIC
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I/opt/local/include -I. -I.ext/include/x86_64-solaris2.11 -I./include -I.
DLDFLAGS = -L/opt/local/lib -Wl,-R/opt/local/lib -Wl,-h,showflags -fstack-protector -R/home/joy/rb20/lib
SOLIBS = -lpthread -lrt -lsocket -ldl -lcrypt -lm
compiling main.c
@Ch00k
Ch00k / netbsd
Created September 8, 2013 12:18
#!/usr/bin/env bash
requirements_netbsd_lib_installed()
{
pkg_info -qE "$1" || return $?
}
requirements_netbsd_check_binary()
{
__rvm_which "$1" >/dev/null 2>&1 || return $?
D, [2013-10-01T15:57:13.550246 #14974] DEBUG -- : <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vbox="http://www.virtualbox.org/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><vbox:IMachine_setCPUCount><_this>bf8f348c4a09bd9c-000000000000003b</_this><cpuCount>1</cpuCount></vbox:IMachine_setCPUCount></env:Body></env:Envelope>
D, [2013-10-01T15:57:13.550334 #14974] DEBUG -- : HTTPI POST request to localhost (net_http)
I, [2013-10-01T15:57:13.552450 #14974] INFO -- : SOAP response (status 500)
D, [2013-10-01T15:57:13.552543 #14974] DEBUG -- : <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vbox="http://www.virtualbox.org/"><SOAP-ENV:Body><SOAP-ENV:Fault><
class freegeoip {
file { 'freegeoip-prod':
path => '/home/ch00k/freegeoip-prod',
source => 'puppet:///modules/freegeoip',
recurse => true,
purge => true,
force => true,
}
}