Permalink
Browse files

Instructions for how to work around ELPA upgrade problems.

  • Loading branch information...
1 parent ae9570b commit ad5705fe63fb457bcfb4756b4677b162e0fb1008 @technomancy technomancy committed Feb 26, 2009
Showing with 8 additions and 1 deletion.
  1. +6 −0 README.markdown
  2. +2 −1 starter-kit-ruby.el
View
6 README.markdown
@@ -80,6 +80,12 @@ library is useful enough to be bundled with the starter kit, it should
be useful enough to submit to ELPA so that everyone can use it, not
just users of the starter kit.
+Sometimes packages are removed from the Starter Kit as they get added
+to ELPA itself. This has occasionally caused problems with certain
+packages. If you run into problems with such a package, try removing
+everything from inside the elpa/ directory and invoking M-x
+starter-kit-elpa-install in a fresh instance.
+
## Contributing
If you know your way around Emacs, please try out the starter kit as a
View
3 starter-kit-ruby.el
@@ -4,7 +4,8 @@
(eval-after-load 'ruby-mode
'(progn
- (require 'ruby-compilation)
+ ;; work around possible elpa bug
+ (ignore-errors (require 'ruby-compilation))
(setq ruby-use-encoding-map nil)
(add-hook 'ruby-mode-hook 'inf-ruby-keys)
(define-key ruby-mode-map (kbd "RET") 'reindent-then-newline-and-indent)

0 comments on commit ad5705f

Please sign in to comment.