   (require 'ruby-tools)
   (define-key ruby-tools-mode-map (kbd "C-:") 'ruby-toggle-symbol-string)
   (define-key ruby-tools-mode-map (kbd "C-\"") 'ruby-toggle-string-type)
-  (define-key ruby-tools-mode-map (kbd "C-'") nil)
-  (require 'nxml-mode)
-  ;(require 'rhtml-mode)
-  ;(require 'rails)
-
-  ;; Keep ac-mode from trying to complete on an end
-  (make-local-variable 'ac-ignores)
-  (add-to-list 'ac-ignores "end")
-)
+  (define-key ruby-tools-mode-map (kbd "C-'") nil))
 
 (add-hook 'ruby-mode-hook 'my-ruby-mode-hook)
 

(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process")
(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")

(setq rinari-tags-file-name "TAGS")

(provide 'clgc-ruby)

      (ruby-tools-to-single-quote-string))))

(defun my-ruby-mode-hook ()
  ;; Keep ac-mode from trying to complete on an end
  (make-local-variable 'ac-ignores)
  (add-to-list 'ac-ignores "end")
  (require 'rinari)
  (setq rinari-tags-file-name "TAGS")
  (global-rinari-mode t)

  (define-key ruby-mode-map "\C-m" 'reindent-then-newline-and-indent)
  (define-key ruby-mode-map "\C-j" 'newline)
  (require 'ruby-mode-expansions)
