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
| #!/usr/bin/env ruby | |
| require 'fileutils' | |
| webricks = Dir.glob(File.join("/home/#{ENV['USER']}/.rvm/rubies/**/webrick/config.rb")) | |
| webricks.each do |webrick| | |
| FileUtils.cp webrick, "#{webrick}.bak" | |
| output = File.read(webrick).gsub('DoNotReverseLookup => nil', 'DoNotReverseLookup => true') | |
| File.open(webrick, "w") {|file| file.puts output} | |
| 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
| PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |
| ### Added by the Heroku Toolbelt | |
| export PATH="/usr/local/heroku/bin:$PATH" | |
| ### Increase History size | |
| export HISTSIZE=10000 | |
| export HISTCONTROL=erasedups |
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
| require 'i18n' | |
| if Rails.env.development? | |
| module I18n | |
| class << self | |
| def translate_with_debug(*args) | |
| puts "Translate: #{args.inspect}" | |
| translate_without_debug(*args) | |
| end | |
| alias_method_chain :translate, :debug |
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
| with_options :env => "test" do |test| | |
| test.gem "cucumber" | |
| test.gem "cucumber-rails" | |
| end | |
| with_options :env => "development" do |dev| | |
| dev.gem "hirb" | |
| end | |
| gem "authlogic" | |
| gem "will_paginate" | |
| gem "haml" # only used for sass so compass works |
NewerOlder