-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hive-runner doesn't work on OSX under rbenv, only rvm #136
Comments
It doesn't work with uru either, which is a problem for the Windows Hive. I think it may be to do with the use of the daemons gem. Specifically, |
Hi I've faced following problems under this configuration; OS: When I try to run $ hived
/Users/iso/.rbenv/versions/2.3.7/lib/ruby/gems/2.3.0/gems/hive-runner-2.1.27/Gemfile not found And I've changed #!/usr/bin/env ruby
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path(
# '../../Gemfile',
Pathname.new(__FILE__).realpath
) After this change I tried again with command $ hived --help
Usage: start_hive <command> <options> -- <application options>
* where <command> is one of:
start start an instance of the application
stop stop all instances of the application
restart stop all instances and restart them afterwards
reload send a SIGHUP to all instances of the application
run start the application and stay on top
zap set the application to a stopped state
status show status (PID) of application instances
* and where <options> may contain several of the following:
-t, --ontop Stay on top (does not daemonize)
-s, --shush Silent mode (no output to the terminal)
-f, --force Force operation
-n, --no_wait Do not wait for processes to stop
Common options:
-h, --help Show this message
--version Show version
[!] There was an error parsing `hived`: exit. Bundler cannot continue.
# from /Users/iso/.rbenv/versions/2.3.7/lib/ruby/gems/2.3.0/gems/hive-runner-2.1.27/bin/hived:31
# -------------------------------------------
#
> Daemons.run(File.expand_path('..', __FILE__) + '/start_hive',
# show_status_callback: :test,
# -------------------------------------------
Do you have any idea? |
@ismailakbudak Can you try and follow http://bbc.github.io/hive-ci/documentation/quick-start.html and use rvm instead of rbenv, probably it is easy to use. |
This is because the shim inserted for hived start breaks the bundling of ruby dependencies
The text was updated successfully, but these errors were encountered: