Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zeus support #49

Closed
wants to merge 6 commits into from
Closed

Zeus support #49

wants to merge 6 commits into from

Conversation

asok
Copy link

@asok asok commented Nov 10, 2012

#48
Zeus support for rinari-web-server, rinari-console and rinari-rake.

The biggest surgory was made to rinari-web-server that is instead of calling ruby-compilation-run it is calling ruby-compilation-do. So it does not run ruby process but rather rails or zeus processes with correct arguments.
Maybe I'm wrong but all of the files in the scripts 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 as rinari-web-server. I can take a stub on that later.

@purcell
Copy link
Collaborator

purcell commented Nov 11, 2012

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. :-)

@asok asok closed this Nov 11, 2012
@luisalima
Copy link

Zeus looks awesome and rinari is already awesome :), I am interested in using Zeus with rinari. @purcell do you have some update on this?

@purcell
Copy link
Collaborator

purcell commented Mar 27, 2013

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.

@luisalima
Copy link

Oh ok! Thanks anyway, I'll be eagerly waiting :)

@localredhead
Copy link

+1 I would love to see rinari be zeus aware.

@jmdeldin
Copy link

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!

@jmdeldin
Copy link

In case someone runs across this later... rspec-mode will use Zeus if you set rspec-use-zeus-when-possible.

@purcell
Copy link
Collaborator

purcell commented Oct 18, 2013

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.

@jmdeldin
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants