Answer the question
In order to leave comments, you need to log in
[Ruby, Thin] Why won't thin start as a service?
Good afternoon!
Installed rvm, ruby and thin on Ubuntu, did a thin install and wrapped it in wrapper
Now when I run sudo service thin start I get an error:
/usr/bin/env: ruby_executable_hooks: No such file or directory
gem install executable_hooks
gem regenerate_binstubs
try also: gem pristine --binstubs
bundler 1.7.3
erubis 2.7.0
executable-hooks 1.3.2
magic_encoding 0.0.2
rack 1.5.2
railties 4.1.6
rake 10.3.2
rake 10.1.0
rdoc 4.1.0
shotgun 0.9
sprockets 3.0 .0.beta.2
thin 1.6.3
thor 0.19.1
tilt 1.4.1
/usr/bin/env: ruby_executable_hooks: No such file or directory
Answer the question
In order to leave comments, you need to log in
Solved the problem:
$ ln -s `which ruby_executable_hooks` /usr/bin/ruby_executable_hooks
$ ln -s `which ruby` /usr/bin/ruby
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question