diff --git a/editors/vim/ui.vim b/editors/vim/ui.vim index 614e20a..b6d94a5 100644 --- a/editors/vim/ui.vim +++ b/editors/vim/ui.vim @@ -55,7 +55,6 @@ syntax on nnoremap g* g*zz nnoremap g# g#zz - " Tab completion set wildmode=list:longest,list:full set wildignore+=*.o,*.obj,.git,*.rbc,*.swp diff --git a/languages/ruby/irbrc b/languages/ruby/irbrc index 50af84d..9ece9ac 100755 --- a/languages/ruby/irbrc +++ b/languages/ruby/irbrc @@ -1,4 +1,5 @@ begin + require 'rubygems' unless defined? Gem require 'irbtools' rescue LoadError $stderr.puts "Please install 'irbtools' or add it to your Gemfile" @@ -12,9 +13,3 @@ class Object (obj.methods - obj.class.superclass.instance_methods).sort end end - -# Log to STDOUT if in Rails -if Object.const_defined?('ActiveRecord') - require 'logger' - ActiveRecord::Base.logger = Logger.new(STDOUT) -end