This file contains hidden or 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
6405: Fixes #721 when creating a comment (ajax) the link to your own profile is fucked up and instead it linked to the user id | |
-- | |
28584: Specifying bson version to avoid whatever is fucking up in 1.0.6, we can move to it later | |
-- | |
36776: fuck | |
-- | |
38121: in the shit | |
omg/wtf/ohai! (-ohaibbq) |
This file contains hidden or 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
module HasPersonProxy | |
module ClassMethods | |
def always_has_person | |
self.instance_eval do | |
include InstanceMethods | |
alias_method_chain :person, :proxy | |
end | |
end | |
end |
This file contains hidden or 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
Administrator@SARAH-25AAA95F6 ~/Desktop/diaspora (master) | |
$ gem install eventmachine | |
Temporarily enhancing PATH to include DevKit... | |
Successfully installed eventmachine-0.12.10-x86-mswin32-60 | |
1 gem installed | |
Installing ri documentation for eventmachine-0.12.10-x86-mswin32-60... | |
Installing RDoc documentation for eventmachine-0.12.10-x86-mswin32-60... |
This file contains hidden or 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 | |
echo "*************************************************************************************************" && | |
echo "* ruby 1.8.7 REE build *" && | |
echo "*************************************************************************************************" && | |
echo "" && | |
source /usr/local/rvm/scripts/rvm && | |
rvm use ree@diaspora --create && | |
bundle install && | |
bundle exec rake cruise |
This file contains hidden or 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
namespace :cruise do | |
desc "Run all specs and features" | |
task :cruise => :environment do | |
puts "Starting virtual display..." | |
`sh -e /etc/init.d/xvfb start` | |
puts "Starting specs..." | |
system('export DISPLAY=:99.0 && export SELENIUM_SERVER_PORT=53809 && bundle exec rake') | |
exit_status = $?.exitstatus | |
puts "Stopping virtual display..." | |
`sh -e /etc/init.d/xvfb stop` |
This file contains hidden or 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
Xvfb :99 -ac -screen 0 1024x768x16 |
This file contains hidden or 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
sudo aptitude install xubuntu-desktop | |
sudo aptitude install exaile | |
sudo aptitude install gconf2 | |
sudo aptitude install xvfb | |
sudo aptitude install firefox |
This file contains hidden or 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
XVFB=/usr/bin/Xvfb | |
XVFBARGS=":99 -ac -screen 0 1024x768x16" | |
PIDFILE=/root/cucumber_xvfb_99.pid | |
case "$1" in | |
start) | |
echo -n "Starting virtual X frame buffer: Xvfb" | |
/sbin/start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS | |
echo "." | |
;; | |
stop) |
This file contains hidden or 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
run("echo gem \'rake\' >> Gemfile") | |
run("echo group :test, :development do >> Gemfile") | |
run("echo gem \'rspec-rails\', \'2.0.0.beta.22\' >> Gemfile") | |
run("echo gem \'capybara\' >> Gemfile") | |
run("echo gem \'database_cleaner\' >> Gemfile") | |
run("echo gem \'cucumber-rails\' >> Gemfile") | |
run("echo gem \'cucumber\' >> Gemfile") | |
run("echo gem \'launchy\' >> Gemfile") | |
run("echo gem \'win32console\' >> Gemfile") | |
#run("echo gem \'sqlite3-ruby\', :require \=\">\" \'sqlite3\' >> Gemfile") |
This file contains hidden or 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
run("echo group :test, :development do >> Gemfile;") | |
run("echo gem \\'rspec-rails\\', \\'\\>\\= 2.0.0.beta.22\\' >> Gemfile;") | |
run("echo gem \\'capybara\\' >> Gemfile;") | |
run("echo gem \\'database_cleaner\\' >> Gemfile;") | |
run("echo gem \\'cucumber-rails\\' >> Gemfile;") | |
run("echo gem \\'cucumber\\' >> Gemfile;") | |
run("echo gem \\'spork\\' >> Gemfile;") | |
run("echo gem \\'launchy\\' >> Gemfile;") | |
run("echo end >> Gemfile;") |