   (package-refresh-contents)
   (package-install 'use-package))
 
+;; quelpa extends use-package to grab directly from git repositores that
+;; are not yet published on elpa/melpa repos
 (use-package quelpa
   :ensure t
   :init

(add-hook 'c-mode-common-hook 'my-c-mode-hook)

;; Scripting languages
(use-package rinari
  :hook ruby-mode
  :ensure t)
(use-package robe
  :hook (ruby-mode . robe-mode)
  :ensure t
  :init
  (add-hook 'ruby-mode-hook
            (lambda ()
              (setq-local company-backends '((company-robe))))))

(use-package python
  :defer t

(use-package flycheck
  :ensure t
  :defer t
  :init
  (progn
    (setq flycheck-command-wrapper-function
          (lambda (command)
            (append '("bundle" "exec") command))))
  :config
  (global-flycheck-mode))

