Please, could you help me? I am trying to use sudo with chruby and foreman, but without success. I tried: $ sudo chruby-exec ruby-2.1.2 -- foreman $ foreman: command not found But the same command with rake command works fine. $ sudo chruby-exec ruby-2.1.2 -- rake --version $ rake, version 10.1.0 Thank you very much. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALQXn34fUm-XpOHyjVCpDhB%3Dk1snZTcqYjDiYa92LD_Cjzo4yA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.