Last Updated: September 30, 2020
·
3.416K
· simon2k

Start your rails environment faster!

Okay, I'd like to share with you something really cool!

What if you can load your environment once, without wasting time waiting for the moment when the environment is loaded?
Here it comes... and it is called Zeus!

I discovered it around 2 weeks ago, and it made a really good impression on me.

Okay, so how can you install it?

The best way is to add a gem called 'zeus' to your Gemfile:
gem 'zeus'

Then just bundle install and tadam! You've got it.

In order to load your rails environment, call:
zeus start

Now you have to wait for the environment to load (but just once!).

When almost everything in the terminal in which you ran the zeus start command has gone green, you can run your:

  • rails server
    zeus s

  • rails console
    zeus c

  • rake tasks
    zeus rake tasks_name

  • and so on...

I hope, you'll enjoy it!

Resource: https://github.com/burke/zeus

4 Responses
Add your response

Finally - zeus solves one of the big disadvantage of ruby on rails development.

thanks Simon :-)

ps.: Did you find any issues with zeus (any gotchas that would be nice to consider before jumping in)

over 1 year ago ·

When I tried zeus half year ago it had cryptic problems during testing, environment reloading and so.

over 1 year ago ·

Anyone else can share some insights concerning problems encountered with Zeus? Zeus looks like it could be a time saver and productivity boost, as long as the gem itself doesn't come with its own problems.

over 1 year ago ·

Unfortunately it doesn't work with JRuby.

over 1 year ago ·