Closed asok closed 11 years ago
I think I have a neater integration mechanism figured out, and I've been reorganising ruby-compilation.el
over the last few days ready to insert it. As a result, this pull request doesn't apply right now, but it's been helpful to see your approach. Please bear with me, and I hope to have something ready to share soon. :-)
Zeus looks awesome and rinari is already awesome :), I am interested in using Zeus with rinari. @purcell do you have some update on this?
Nope, I haven't had more time to work on it, and I didn't want to just hack in support because it affects both rinari
and ruby-compilation
.
Oh ok! Thanks anyway, I'll be eagerly waiting :)
+1 I would love to see rinari be zeus aware.
Hey @purcell, I was wondering if you had any tips for making ruby-compilation work with zeus with or without Rinari. I hacked something together with M-x compile for now, but the less Elisp I'm responsible for, the better!
In case someone runs across this later... rspec-mode will use Zeus if you set rspec-use-zeus-when-possible
.
This would be easy if zeus were a drop-in replacement for the Rails script. IIRC, though, when I played with this a while ago, zeus would ignore the "environment" argument for zeus console
-- this mismatch means potentially coding around a bunch of special cases. Maybe things are different now.
Ah, good point about running a test-env console. Looks like there's no way around it with zeus unless you add a new command. I don't think it's worth worrying about -- rspec-mode fills the testing gap for me right now. Thanks for all your work!
https://github.com/eschulte/rinari/issues/48 Zeus support for
rinari-web-server
,rinari-console
andrinari-rake
.The biggest surgory was made to
rinari-web-server
that is instead of callingruby-compilation-run
it is callingruby-compilation-do
. So it does not runruby
process but ratherrails
orzeus
processes with correct arguments. Maybe I'm wrong but all of the files in thescripts
directory are executables with shebang pointing to/usr/bid/env ruby
. If yes then we can do get away with this.rinari-script
would take similar approach asrinari-web-server
. I can take a stub on that later.