Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removing railsrc

  • Loading branch information...
commit a4b3153345759e55b324986b485b0b1e8ae3cf30 1 parent fc5740e
@ryanb authored
Showing with 1 addition and 23 deletions.
  1. +1 −1  Rakefile
  2. +0 −2  irbrc
  3. +0 −20 railsrc
View
2  Rakefile
@@ -76,7 +76,7 @@ def install_oh_my_zsh
case $stdin.gets.chomp
when 'y'
puts "installing oh-my-zsh"
- system %Q{git clone https://github.com/robbyrussell/oh-my-zsh.git #{File.join(ENV['HOME'], ".oh-my-zsh")}}
+ system %Q{git clone https://github.com/robbyrussell/oh-my-zsh.git "$HOME/.oh-my-zsh"}
when 'q'
exit
else
View
2  irbrc
@@ -50,5 +50,3 @@ end
def paste
`pbpaste`
end
-
-load File.dirname(__FILE__) + '/.railsrc' if ($0 == 'irb' && ENV['RAILS_ENV']) || ($0 == 'script/rails' && Rails.env)
View
20 railsrc
@@ -1,20 +0,0 @@
-#!/usr/bin/ruby
-
-begin
- require 'hirb' # sudo gem install cldwalker-hirb --source http://gems.github.com
- Hirb.enable
-rescue LoadError
-end
-
-def change_log(stream)
- ActiveRecord::Base.logger = Logger.new(stream)
- ActiveRecord::Base.clear_active_connections!
-end
-
-def show_log
- change_log(STDOUT)
-end
-
-def hide_log
- change_log(nil)
-end
Please sign in to comment.
Something went wrong with that request. Please try again.