eschulte / rinari

Rinari Is Not A Rails IDE (it is an Emacs minor mode for Rails)
http://rinari.rubyforge.org
GNU General Public License v3.0
412 stars 68 forks source link

Emacs 24 , inf-ruby mystery #63

Closed ericarnal closed 11 years ago

ericarnal commented 11 years ago

I've installed everything via elpa and it works great... Until I restart emacs and have a "Emacs 24: Cannot open load file, inf-ruby"

But I noticed that if

It works again. Not a big issue as I almost never close emacs, but what am I missing ?

purcell commented 11 years ago

You say "elpa", but which package repositories are you using? The recent supported packages are in Marmalade and MELPA.

ericarnal commented 11 years ago

Sorry. I'm using Marmalade on emacs 24.3 (9.0) OSX.

And while I've just noticed that while installing I get the messages :

Warning (emacs): Unable to activate package ruby-compilation'. Required packageinf-ruby-2.2.1' is unavailable

purcell commented 11 years ago

That's weird, because inf-ruby 2.2.4 is on Marmalade too, right here: http://marmalade-repo.org/packages/inf-ruby

Maybe the package installation was unsuccessful?

ericarnal commented 11 years ago

inf-ruby was installed but the the problem was that for some reason package.el didn't load dependencies (it used to work fine with Rinari on 23) . I've just added (package-initialize) in my init.el and it works. Thanks for your help and for your work.

purcell commented 11 years ago

@ericarnal Very glad to hear you got it working -- happy hacking!

dgutov commented 11 years ago

for some reason package.el didn't load dependencies

This is actually the expected behavior:

http://www.gnu.org/software/emacs/manual/html_node/emacs/Package-Installation.html

purcell commented 11 years ago

Ah, I see -- I'd never encountered that because I've always used package-initialize.

dgutov commented 11 years ago

Me too. I was just recently reminded of it (company-mode/company-mode#5).

aterreno commented 9 years ago

I've run in the same issue and I always had (package-initialize) on my init.el

Solution is to run package-refresh-contents