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
root@vps4 [/usr/local/rvm/archives]# tar -jxf ruby-1.9.3-p545.tar.bz2 | |
tar: ruby-1.9.3-p545/ext/tk/lib/tkextlib/ICONS/setup.rb: Cannot open: Invalid argument | |
tar: ruby-1.9.3-p545/ext/tk/lib/tkextlib/ICONS/icons.rb: Cannot open: Invalid argument | |
tar: Exiting with failure status due to previous errors | |
root@vps4 [/usr/local/rvm/archives]# | |
root@vps4 [/usr/local/rvm/archives/ruby-1.9.3-p545/ext/tk/lib/tkextlib/ICONS]# ls | |
./ ../ | |
root@vps4 [/usr/local/rvm/archives/ruby-1.9.3-p545/ext/tk/lib/tkextlib/ICONS]# |
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
root@vps4 [~]# mkdir -p /usr/local/rvm/tmp/rvm-tmp.1.9.3 && tar xjf /usr/local/rvm/archives/ruby-1.9.3-p545.tar.bz2 -C /usr/local/rvm/tmp/rvm-tmp.1.9.3 --no-same-owner | |
tar: ruby-1.9.3-p545/ext/etc/depend: Cannot open: Invalid argument | |
tar: ruby-1.9.3-p545/ext/etc/etc.c: Cannot open: Invalid argument | |
tar: ruby-1.9.3-p545/ext/etc/extconf.rb: Cannot open: Invalid argument | |
tar: Exiting with failure status due to previous errors | |
root@vps4 [~]# |
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
root@vps4 [~]# df -h | |
Filesystem Size Used Avail Use% Mounted on | |
/dev/xvda1 30G 23G 5.7G 80% / | |
tmpfs 623M 0 623M 0% /dev/shm | |
/usr/tmpDSK 2.0G 37M 1.8G 2% /tmp | |
CentOS release 6.5 (Final) | |
CentOS release 6.5 (Final) | |
CentOS release 6.5 (Final) | |
cpe:/o:centos:linux:6:GA |
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
root@vps4 [~]# cat /usr/local/rvm/log/1397056846_ruby-1.9.3-p545/extract.log | |
[2014-04-09 08:20:47] __rvm_package_extract | |
__rvm_package_extract () | |
{ | |
rvm_debug __rvm_package_extract:$#: "$@"; | |
typeset __tempdir __path __file __return; | |
__return=0; | |
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )"; | |
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?; | |
if (( __return == 0 )); then |
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
[2014-04-09 07:58:15] __rvm_package_extract | |
__rvm_package_extract () | |
{ | |
rvm_debug __rvm_package_extract:$#: "$@"; | |
typeset __tempdir __path __file __return; | |
__return=0; | |
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )"; | |
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?; | |
if (( __return == 0 )); then | |
for __path in "$__tempdir"/*; |
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
tail -f production.log | |
<internal:prelude>:10:in `synchronize' | |
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' | |
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application' | |
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application' | |
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' | |
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' | |
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' | |
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/helper-scripts/passenger-spawn-server:99:in `<main>' |
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
server { | |
listen 80; | |
server_name merc.laurentian.ca; | |
root /home/trevor/apps/merc/current/public; | |
passenger_enabled on; | |
passenger_base_uri /mercdocs; | |
client_max_body_size 50M; | |
#rails_spawn_method smart; | |
#rails_app_spawner_idle_time 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
###################################################################################################### | |
# IMPORTANT TODO's (July 27, 08): | |
# 1) Add actions and links for "send message, IM user, Send Emotion" | |
# 2) Add code for "City" being clickable | |
# 3) Strip spaces for the interests links | |
# 4) Change selects so values are not numerical | |
# 5) "Add to My M8's" needs an action | |
# 6) "Interests" links needs to be coded | |
####################################################################################################### |
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
class Profile < ActiveRecord::Base | |
belongs_to :user | |
acts_as_ferret | |
def city_locate | |
[city, province_state].join(", ") | |
end | |
def fullname | |
[firstname, lastname].join(" ") |
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
###################################################################################################### | |
# IMPORTANT TODO's (July 27, 08): | |
# 1) Add actions and links for "send message, IM user, Send Emotion" | |
# 2) Add code for "City" being clickable | |
# 3) Strip spaces for the interests links | |
# 4) Change selects so values are not numerical | |
# 5) "Add to My M8's" needs an action | |
# 6) "Interests" links needs to be coded | |
####################################################################################################### |