Skip to content

ruby_executable_hooks: No such file or directory #17

@vuvanly

Description

@vuvanly

Hi everyone,
When i try to deploy app to heroku i got this error

charitys-MacBook-Pro:bus_tracking charity$ git push heroku master 
Fetching repository, done.
Counting objects: 13, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 3.90 KiB | 0 bytes/s, done.
Total 10 (delta 4), reused 0 (delta 0)

-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.1
-----> Installing dependencies using 1.5.2
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       /usr/bin/env: ruby_executable_hooks: No such file or directory
       Bundler Output: /usr/bin/env: ruby_executable_hooks: No such file or directory
 !
 !     Failed to install gems via Bundler.
 !

 !     Push rejected, failed to compile Ruby app

To [email protected]:arcane-inlet-3324.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:arcane-inlet-3324.git'

I followed @mpapis but i still not work. Please help me.

charitys-MacBook-Pro:bus_tracking charity$ gem install executable-hooks -v ">=1.3.2" 
Building native extensions.  This could take a while...
# In case of problems run the following command to update binstubs:
gem regenerate_binstubs
Successfully installed executable-hooks-1.3.2
Parsing documentation for executable-hooks-1.3.2
Done installing documentation for executable-hooks after 0 seconds
1 gem installed
charitys-MacBook-Pro:bus_tracking charity$ gem regenerate_binstubs
try also: gem pristine --binstubs
airbrake 3.1.16
airbrake 3.1.15
annotate 2.6.3
annotate 2.6.2
aws-sdk 1.38.0
aws-sdk 1.34.1
bourbon 4.0.1
bourbon 4.0.0
bourbon 3.1.8
brakeman 2.0.0
bundler 1.6.2
coderay 1.1.0
compass 1.0.0.alpha.19
debugger 1.6.6
delayed_job_web 1.2.9
delayed_job_web 1.2.8
delayed_job_web 1.2.5
diff-lcs 1.2.5
engineyard 2.3.3
engineyard 2.3.2
erubis 2.7.0
executable-hooks 1.3.2
executable-hooks 1.3.1
ey_config 0.0.7
ey_config 0.0.6
haml 4.1.0.beta.1
html2haml 1.0.1
httpclient 2.3.4.1
launchy 2.4.2
newrelic_rpm 3.7.3.204
nokogiri 1.6.1
premailer 1.8.2
premailer 1.8.0
pry 0.9.12.6
rack 1.5.2
railroad 0.5.0
rails-erd 1.1.0
railties 4.1.0
railties 4.0.4
railties 4.0.3
rake 10.3.1
rake 10.3.0
rake 10.2.2
rake 10.1.1
rake 10.1.0
rdoc 4.1.1
rdoc 4.1.0
rest-client 1.6.7
rest_client 1.7.3
rspec-core 2.14.8
rspec-core 2.14.7
ruby-graphviz 1.0.9
ruby2ruby 2.0.8
ruby_parser 3.1.3
safe_yaml 1.0.3
sass 3.3.8
sass 3.3.7
sass 3.3.5
sass 3.2.19
sass 3.2.14
sdoc 0.4.0
sidekiq 3.0.0
slim 1.3.9
spork 1.0.0rc4
spring 1.1.3
spring 1.1.2
sprockets 2.12.1
sprockets 2.12.0
sprockets 2.11.0
thin 1.6.2
thin 1.6.1
thor 0.19.1
thor 0.18.1
tilt 1.4.1
treetop 1.4.15
unicorn 4.8.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions