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
module AePageObjects | |
class SubdomainApplicationRouter < AePageObjects::BasicRouter | |
# This whole file is a kludge and probably belongs in an ae_page_objects-rails extension | |
module Recognizer | |
class Base | |
def generate_path(named_route, *args) | |
if routes.respond_to?("#{named_route}_path") |
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
!!! Strict | |
%html{:xmlns => "http://www.w3.org/1999/xhtml"} | |
%head | |
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/ | |
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/ | |
%title Your Message Subject or Title | |
:css | |
/* Based on The MailChimp Reset INLINE: Yes. */ | |
/* Client-specific Styles */ | |
#outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */ |
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
!!! Strict | |
%html{:xmlns => "http://www.w3.org/1999/xhtml"} | |
%head | |
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/ | |
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/ | |
%title Your Message Subject or Title | |
:css | |
/* Based on The MailChimp Reset INLINE: Yes. */ | |
/* Client-specific Styles */ | |
#outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */ |
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
!!! Strict | |
%html{:xmlns => "http://www.w3.org/1999/xhtml"} | |
%head | |
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/ | |
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/ | |
%title Your Message Subject or Title | |
:css | |
/* Based on The MailChimp Reset INLINE: Yes. */ | |
/* Client-specific Styles */ | |
#outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */ |
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
# Update, upgrade and install development tools: | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential git-core curl libssl-dev \ | |
libreadline5 libreadline5-dev \ | |
zlib1g zlib1g-dev \ | |
libmysqlclient-dev \ | |
libcurl4-openssl-dev \ | |
libxslt-dev libxml2-dev |
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
Dir[File.join("app", "models", "**/*.rb")].each do |f| | |
require f | |
end |
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
require 'iron_worker_ng' | |
class MedalAwardWorker < IronWorkerNG::Base | |
attr_accessor :json_action | |
def run | |
end | |
end |
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
/app/.bundle/gems/ruby/1.9.1/gems/zipruby-0.3.6/lib/zipruby.so: warning: already initialized constant VERSION | |
2012-03-23T20:38:51+00:00 app[worker.1]: /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb:10: warning: already initialized constant RUBY | |
2012-03-23T20:38:51+00:00 app[worker.1]: /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb:84: warning: already initialized constant LN_SUPPORTED | |
2012-03-23T20:38:55+00:00 app[worker.1]: MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. | |
2012-03-23T20:38:55+00:00 app[worker.1]: MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) | |
2012-03-23T20:38:55+00:00 app[worker.1]: MONGODB app412443['$cmd'].find({:getnonce=>1}).limit(-1) | |
2012-03-23T20:38:55+00:00 app[worker.1]: MONGODB app412443['$cmd'].find({"authenticate"=>1, "user"=>"heroku", "nonce"=>"541e1baabfae9dfd", "key"=>"1d1add9bb8ee0b413885798677d67173"}).limit(-1) | |
2012-03-23T2 |
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
/mnt/sw_jobs/u13427/user_dir/text_media.rb:1:in `<top (required)>': uninitialized constant GenericMedia (NameError) | |
from /mnt/sw_jobs/u13427/user_dir/runner.rb:473:in `require_relative' | |
from /mnt/sw_jobs/u13427/user_dir/runner.rb:473:in `<main>' | |
WARNING: This version of mysql2 (0.3.11) doesn't ship with the ActiveRecord adapter bundled anymore as it's now part of Rails 3.1 | |
WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x |
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
IronWorker.configure do |config| | |
config.token = ENV['IRON_WORKER_TOKEN'] | |
config.project_id = ENV['IRON_WORKER_PROJECT_ID'] | |
config.auto_merge = true | |
config.database = Rails.configuration.database_configuration[Rails.env] | |
config.merge_gem("paperclip") | |
config.merge_gem('mongoid', '2.0.2') | |
config.unmerge_gem('client_side_validations') | |
config.unmerge_gem('delayed_job') | |
config.unmerge_gem('devise') |
NewerOlder