This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
source "$rvm_scripts_path/functions/support" | |
usage() | |
{ | |
printf "%b" " | |
ERROR: | |
$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ : 284 > rvm_trace_flag=1 | |
+ : 289 > true 1 0 0 HOME=/home/rockj | |
+ : 293 > (( rvm_ignore_rvmrc == 0 )) | |
+ : 295 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"' | |
+ : 297 > [[ -s /etc/rvmrc ]] | |
+ : 295 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"' | |
+ : 297 > [[ -s /home/rockj/.rvmrc ]] | |
+ : 314 > [[ -z '' ]] | |
+ : 316 > (( UID == 0 )) | |
+ : 322 > rvm_user_install_flag=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ unset rvm_bin_path | |
+ unset GEM_HOME | |
+ unset IRBRC | |
+ unset MY_RUBY_HOME | |
+ unset rvm_path | |
+ unset rvm_prefix | |
+ unset rvm_version | |
++ dirname ./rvm_and_veewee_install.sh | |
+ BASE_DIR=. | |
+++ dirname ./rvm_and_veewee_install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockj@rockj-VirtualBox:~/nav-mirror-netmap/tools$ ./rvm_and_veewee_install.sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 184 100 184 0 0 162 0 0:00:01 0:00:01 --:--:-- 202 | |
100 14536 100 14536 0 0 8945 0 0:00:01 0:00:01 --:--:-- 8945 | |
Turning on ignore dotfiles mode. | |
Downloading RVM from wayneeseguin branch stable | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 124 100 124 0 0 176 0 --:--:-- --:--:-- --:--:-- 254 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockj@rockj-VirtualBox:~/nav-mirror-netmap/tools$ cat rvm_and_veewee_install.sh | |
#!/bin/bash | |
# Install rvm under VCS-ROOT/tools/.rvm and veewee to VCS-ROOT/tools/veewee | |
# | |
# Based on http://stacktoheap.com/blog/2013/06/19/building-a-debian-wheezy-vagrant-box-using-veewee/ | |
# :-) | |
unset rvm_bin_path | |
unset GEM_HOME | |
unset IRBRC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
B=$( cd $(dirname $0) ; pwd -P ) | |
UPSTREAM=$(basename $B/libqtweetlib-upstream) | |
cd $B | |
tar -czvf libqtweetlib-upstream.tar.gz "$UPSTREAM" --exclude .git --exclude "*.log" | |
tar -zxf libqtweetlib-upstream.tar.gz --transform="s/libqtweetlib-upstream/libqtweetlib-0.5/" | |
tar -cvzf libqtweetlib-0.5.orig.tar.gz libqtweetlib-0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "../..")) | |
if __name__ == "__main__": | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nav.django.settings") | |
from django.core.management import execute_from_command_line | |
execute_from_command_line(sys.argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockj@pandora:/media/DATA-LINUX/dev/python/nav-mirror/tools$ pwd | |
/media/DATA-LINUX/dev/python/nav-mirror/tools | |
rockj@pandora:/media/DATA-LINUX/dev/python/nav-mirror/tools$ rvm rvmrc warning ignore /media/DATA-LINUX/dev/python/nav-mirror/tools/veewee/.rvmrc | |
rockj@pandora:/media/DATA-LINUX/dev/python/nav-mirror/tools$ echo $? | |
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install rvm under VCS-ROOT/tools/.rvm and veewee to VCS-ROOT/tools/veewee | |
# | |
# Based on http://stacktoheap.com/blog/2013/06/19/building-a-debian-wheezy-vagrant-box-using-veewee/ | |
# :-) | |
unset rvm_bin_path | |
unset GEM_HOME | |
unset IRBRC | |
unset MY_RUBY_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockj@pandora:/media/DATA-LINUX/dev/python/nav-mirror/tools$ rvm rvmrc warning | |
M-bM-^HM-4 rvm rvmrc warning [check|ignore|reset] [<path>|all.rvmrcs|allGemfiles] | |
M-bM-^HM-4 rvm rvmrc warning [help|list] | |
Manage warnings for .rvmrc / Gemfile | |
For additional information please visit RVM's documentation website: | |
https://rvm.io/ |