-
Notifications
You must be signed in to change notification settings - Fork 116
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
cannot load timetrap #159
Comments
I had a similar experience on a machine with cygwin yesterday after a Ruby upgrade. Had then to install ruby-dev and then "gem install bigdecimal" to make it work again. |
Same problem on Ubuntu 17.04 |
I would be extremely hesitant to look toward installation of ruby-dev as a 'fix'. It is a project that has not been updated in 5 years (at the time that I write this), has a readme that references only 1.9.3-p194 as a supported ruby (which itself has been unsupported for over 2 years), AND is a project specifically for deploying ruby on rails apps, which means that if it DOES somehow affect other gem binaries, that's probably not a good thing. |
I was able to replicate this issue. As far as I can tell it's related to some subtle difference in how load_paths are set up in new ruby installs. I believe I've fixed the issue in https://rubygems.org/gems/timetrap/versions/1.14.2 by updating the syntax for requiring the timetrap lib files relative to the bin. Could you let me know if this resolves the error on your install and close out the issue if so. Thanks! |
Confirming, it works again. Thx |
Seems this can be closed. |
I get the following error after installing timetrap and attempting to run it from the command line:
I have other systems that I have used to run timetrap for quite some time with no issues. It's entirely possible that it's a problem with my environment, but I'm not sure what it would be as other executable gems (bundler, rake, plus some I created myself, etc) seem to run just fine.
One curious point is that the error raised is a
SystemExit
and not aLoadError
, so the rescue block in the binary never gets hit. If I removerequire 'timetrap'
and just use the code in therescue
block, timetrap runs just fine. I'm not 100% sure this is a timetrap issue, but other executable gems in my global gemset appear to work fine, so that leads me to think that maybe it is.The text was updated successfully, but these errors were encountered: