jmoses/foreman — Issue #1: Restart option is not working :( 
Author: cubiic
Created: 2011-12-21 16:04:50+00:00
State: open

I'm using OS X Lion , ruby 1.8.7 (2010-01-10 patchlevel 249) . I needed to use the restart feature . so I added your fork to my gemfile like this :

gem 'foreman', :git => 'https://github.com/jmoses/foreman.git'

When I was running the application with the command below :

➜ sms_football git:(master) ✗ sudo bundle exec foreman start
/Users/Apple/code/my_project/rails/ruby/1.8/bundler/gems/foreman-9527dde581a0/lib/foreman/engine.rb:24:in `initialize': undefined method `systmpdir' for Etc:Module (NoMethodError)
from /Users/Apple/code/my_project/rails/ruby/1.8/bundler/gems/foreman-9527dde581a0/lib/foreman/cli.rb:74:in `new'
from /Users/Apple/code/my_project/rails/ruby/1.8/bundler/gems/foreman-9527dde581a0/lib/foreman/cli.rb:74:in `engine'
from /Users/Apple/code/my_project/rails/ruby/1.8/bundler/gems/foreman-9527dde581a0/lib/foreman/cli.rb:23:in `start'
from /Users/Apple/code/my_project/rails/ruby/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
from /Users/Apple/code/my_project/rails/ruby/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Users/Apple/code/my_project/rails/ruby/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Users/Apple/code/my_project/rails/ruby/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Users/Apple/code/my_project/rails/ruby/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Users/Apple/code/my_project/rails/ruby/1.8/bundler/gems/foreman-9527dde581a0/bin/foreman:7
from /Users/Apple/code/my_project/rails/ruby/1.8/bin/foreman:19:in `load'
from /Users/Apple/code/my_project/rails/ruby/1.8/bin/foreman:19