RailsCasts Pro episodes are now free!

Learn more or hide this

Ellin Tolstov's Profile

GitHub User: fenelon

Site: https://level.travel/

Comments by Ellin Tolstov

Avatar

I got it to work on 10.8.2 with no problems. You should try submitting an issue to their page. Good luck!

UPD: Did you follow their instructions?
> Unzip it, then launch it. Select SublHandler -> Preferences..., then set the path for the subl binary.

You might probably need to first do this http://www.sublimetext.com/docs/2/osx_command_line.html

Avatar

To use BetterError's file opening protocol links (subl://) with Sublime you will need https://github.com/asuth/subl-handler

Thanks Ryan for pointing at such an amazing tool!

It even points at the right line!

Avatar

I'm trying to set up Sidekiq to work with Monit, but it seems to be needing to cd to current_path before executing bundle exec. Does anyone know how to tell Monit to cd to my app's directory before executing the start command? The commands in Monit also fail if I try to start them without /usr/bin/env

check process sidekiq
  with pidfile <%= current_path %>/tmp/pids/sidekiq.pid
  start program = "/usr/bin/env bundle exec sidekiq -C <%= current_path %>/config/sidekiq.yml -P <%= current_path %>/tmp/pids/sidekiq.pid" as uid deployer and gid admin with timeout 90 seconds
  stop program = "/usr/bin/env kill -s INT `cat <%= current_path %>/tmp/pids/sidekiq.pid`" as uid deployer and gid admin with timeout 90 seconds
  if totalmem is greater than 800 MB for 2 cycles then restart # eating up memory?
  group sidekiq
Avatar

Guys, I ran into an issue with Monit + Resque + rbenv setup. My Resque workers fail to start with Monit saying rbenv: not found, but the same command works fine if I run it directly in console under user deployer. Have someone managed to set up monit to monitor Resque workers? Any ideas?

I've posted some more info here: http://stackoverflow.com/questions/12094311/managing-resque-workers-with-monit-on-rbenv-setup

Avatar

I use cap ryan:bates to solve all my problems :)
Thank you!