Questions tagged [zeus]

Zeus is an environment preloader for Ruby, so that your development tasks such as console, server, generate, and specs/tests take less time to load.

Zeus is an environment preloader for Ruby, so that your development tasks such as console, server, generate, and specs/tests take less time to load. See the docs for more information.

99 questions
4
votes
1 answer

How can I rewrite URLs in the Zeus web server for Mobile useragent?

I need to redirect anyone with a mobile user agent to a file called mobile.php. My web hosting provider, Net Registry uses the Zeus web server. Here's the script I've written from my research RULE_1_START: # get the document root map path into…
Jason
  • 15,064
  • 15
  • 65
  • 105
4
votes
1 answer

How to run rake cucumber:wip with zeus?

For my Rails app, I use zeus to speed up development. For my first feature/scenario, I used zeus cucumber which worked perfectly, but now I have 2 features and I wanted to be able to test only the second feature. Before using zeus, I used to test…
Charlon
  • 363
  • 2
  • 16
4
votes
1 answer

In Rails, using Figaro, Zeus and RSpec, how to set the secret token from Figaro when running specs?

TL;DR: My Figaro variables are not set when I run zeus rspec spec/. The title pretty much explains the problem briefly, but I'll elaborate. In a Rails 4 application, I'm using Figaro to store environment specific configuration, e.g. the Rails…
sindrenm
  • 3,254
  • 3
  • 24
  • 30
4
votes
2 answers

How to pass environment variables to Zeus

When I run zeus: MY_VAR=MY_VALUE zeus start Environment stays with that that variable, let's say I want to run Rails server with MY_VAR=MAY_VALUE_2 I have tried: MY_VAR=MAY_VALUE_2 zeus s But it does not work. I am using oh-my-zsh, in case that's…
sites
  • 21,417
  • 17
  • 87
  • 146
4
votes
3 answers

RoR burke's zeus gem gives exit status 1 when using Ubuntu 13.04

The Zeus gem https://github.com/burke/zeus works as expected on MacOSX, however, on a Linux box it exhibits the issues described (and unresolved) here: https://github.com/burke/zeus/issues/237 Using: Rbenv with ruby 1.9.3-p327-perf Ubuntu…
xxjjnn
  • 14,591
  • 19
  • 61
  • 94
4
votes
3 answers

Unknown service zeus-admin running on my server

I used nmap to check which ports are open on my server it showed PORT STATE SERVICE 9090/tcp open zeus-admin now port 9090 is supposed to listen for apache tomcat. What is this zeus-admin ? how I start my apache tomcat server ?
Nagri
  • 3,008
  • 5
  • 34
  • 63
3
votes
2 answers

When using zeus in zsh cursor position shifts after the the termination of zeus command

Sometimes there is a strange issue with terminal cursor in zsh when zeus command was terminated. The position of cursor shifts and each line of the output in the console has extra indentation, e.g. services GET /services(.:format) …
Sergiy Seletskyy
  • 16,236
  • 7
  • 69
  • 80
3
votes
2 answers

Can't create parallel database with parallel_tests with zeus

i have an issus with zeus-parallel_tests and his initialization : my gemfile : group :development, :test do gem "sqlite3" gem "rspec-rails" gem "rspec-its" gem "guard-rspec" gem "quiet_assets" gem "dotenv-rails" gem "parallel_tests" …
Antoine Bernard
  • 101
  • 1
  • 1
  • 5
3
votes
1 answer

Mod Rewrite rule to Zeus Server rule (Codeigniter)

I'm about to go live with a Codeigniter powered site. I want to remove index.php from the url so that instead of this: http://www.mysite.com/index.php/controller I get something like this: http://www.mysite.com/controller So far, pretty…
John McCollum
  • 5,162
  • 4
  • 34
  • 50
3
votes
1 answer

How do I fix this distorted output from guard when using guard-zeus?

I'm using the guard-zeus gem in my application The gem is behaving as expected, but the output to the console is all distorted. It looks like extra tabs are being added, so the lines aren't breaking as they should Anybody know how to fix…
bodacious
  • 6,608
  • 9
  • 45
  • 74
3
votes
1 answer

Failing Rspec only with Zeus with undefined method for existing field declared with Mongoid using STI design pattern

Using Rails 4, Zeus 0.13.3, rspec-rails edge and mongoid edge Simple STI model: File my_model.rb in /model directory class MyModel include Mongoid::Document field :my_field end File my_sti.rb in /model/my_model directory class MyModel class…
Alex
  • 4,367
  • 5
  • 29
  • 45
3
votes
3 answers

Running Zeus in Debugger with Rubymine

This tutorial claims that running zeus in debug mode is as easy as clicking the debug button, however whenever I do I get the following error Fast Debugger (ruby-debug-ide 0.4.22, debase 0.0.8) listens on 127.0.0.1:50192 1663: Exception in…
user160917
  • 9,211
  • 4
  • 53
  • 63
3
votes
1 answer

zsh command not found: zeus, mailcatcher, etc?

I've been going over this for awhile now and can't seem to get it permanently resolved. Was hoping someone could clarify for me. I'm pretty familiar with setting up my PATH and working with ZSH. I have a ton of custom helpers, plugins, etc. going on…
andrewmart.in
  • 1,563
  • 14
  • 23
3
votes
1 answer

Ruby on Rails - Zeus permanently "freezes" test environment

It happens to me a lot of times. Test environment goes into "waiting" state FOREVER and nothing happens. I can't fix that by reloading zeus manually (this is annoying...), and after manual reboot everything is fine. But isn't zeus job to reload…
nothing-special-here
  • 11,230
  • 13
  • 64
  • 94
3
votes
1 answer

Disabling the running-twice with Zeus in Rails 4 minitest?

Zeus has a known issue where it runs specs double if you include the default "autorunner" for a testing suite. It is common to see tests running twice when starting out with Zeus. If you see your tests/specs running twice, you should try…
berkes
  • 26,996
  • 27
  • 115
  • 206