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
gem 'bcrypt-ruby', '~> 3.0.0' | |
gem 'clearance' |
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
OPENSSL_PATCH=$( cat <<EOF | |
--- ruby-1.9.2-p180/ext/openssl/ossl_ssl.c 2010-12-23 22:24:00.000000000 -0500 | |
+++ ruby-1.9.2-p180/ext/openssl/ossl_ssl_fixed.c 2011-10-28 11:39:30.265970001 -0400 | |
@@ -107,9 +107,9 @@ | |
OSSL_SSL_METHOD_ENTRY(TLSv1), | |
OSSL_SSL_METHOD_ENTRY(TLSv1_server), | |
OSSL_SSL_METHOD_ENTRY(TLSv1_client), | |
- OSSL_SSL_METHOD_ENTRY(SSLv2), | |
- OSSL_SSL_METHOD_ENTRY(SSLv2_server), | |
- OSSL_SSL_METHOD_ENTRY(SSLv2_client), |
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
# Vendorfile for use with vendorer command. https://github.com/grosser/vendorer | |
# Run `vendorer` to install jQuery and jQuery UI dependencies into vendor/assets/javascripts. | |
JQUERY_VER = "1.7.1" | |
JQUERY_UI_VER = "1.8.16" | |
# Helper methods to extend vendorer functionality # | |
################################################### |
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
# Define a simple class with a DEBUG constant | |
# | |
Connection = Struct.new(:name, :state) do | |
DEBUG = false | |
def self.debug? | |
DEBUG | |
end | |
end | |
# A quick sanity check |
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
public class MyApplication extends WebApplication | |
{ | |
@Override | |
protected void init() | |
{ | |
super.init(); | |
// Enable CDN when in deployment mode | |
if(usesDeploymentConfig()) | |
{ | |
new SimpleCDN("//age39p8hg23.cloudfront.net").install(this); |
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
group :assets do | |
gem 'compass-rails','~> 1.0.0.rc.2' | |
gem 'compass-colors' | |
gem 'sassy-buttons' | |
gem 'sass-rails', '~> 3.2.3' | |
# non-compass gems omitted for brevity | |
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
gem 'database_cleaner', group: :test |
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
# Shortcut for `bundle exec rails` and `bundle exec rake`. | |
# If bin/rails and bin/rake are available, use them instead as they are much | |
# faster to execute than `bundle exec`. | |
function r() { | |
if [[ "g|generate|c|console|s|server|db|dbconsole|r|runner|new" =~ $1 ]]; then | |
if [ -x bin/rails ]; then | |
bin/rails "$@" | |
elif [ -x script/rails ]; then | |
script/rails "$@" | |
else |
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
~$ which ruby | |
/Users/mbrictson/.rbenv/shims/ruby | |
~$ gem env | |
RubyGems Environment: | |
- RUBYGEMS VERSION: 2.0.3 | |
- RUBY VERSION: 2.0.0 (2013-06-27 patchlevel 247) [x86_64-darwin12.4.0] | |
- INSTALLATION DIRECTORY: /Users/mbrictson/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0 | |
- RUBY EXECUTABLE: /Users/mbrictson/.rbenv/versions/2.0.0-p247/bin/ruby | |
- EXECUTABLE DIRECTORY: /Users/mbrictson/.rbenv/versions/2.0.0-p247/bin | |
- RUBYGEMS PLATFORMS: |
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
gem 'dragonfly', '~>0.9.4' | |
group :production do | |
gem 'fog' # for Amazon S3 | |
end |
OlderNewer