-
Notifications
You must be signed in to change notification settings - Fork 227
LoadError: no such file to load -- timecop on 0.5.8 and 0.5.9 #64
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
Comments
Can't reproduce this, and I'm sure I would have had many related issues/comments if this was a common issue so I think it's a problem with your own system. Try uninstalling each version, and the reinstalling the latest version only. |
Getting the same error here, ended up downgrading timecop to 0.5.6. That did the trick. |
We have encountered the exact same issue on our build server. After a few hours of debugging and head scratching, we have found the cause! The problem with v0.5.8 and v0.5.9 are permission related. For v0.5.7: -rw-r--r-- 1 root rvm 5103 Jan 20 23:10 timecop.rb
-rw-r--r-- 1 root rvm 1920 Jan 20 23:10 time_extensions.rb
-rw-r--r-- 1 root rvm 4458 Jan 20 23:10 time_stack_item.rb
-rw-r--r-- 1 root rvm 38 Jan 20 23:10 version.rb For v0.5.8 and v0.5.9: -rw----r-- 1 root rvm 5103 Jan 20 23:12 timecop.rb
-rw----r-- 1 root rvm 1920 Jan 20 23:12 time_extensions.rb
-rw----r-- 1 root rvm 4342 Jan 20 23:12 time_stack_item.rb
-rw----r-- 1 root rvm 38 Jan 20 23:12 version.rb You'll notice that the group-level users don't have permission to read any of those files thus resulting to load errors (since we use a different user for running the builds). We've checked your git repo and all the permission are fine. So we suspect that you might have changed either your development environment or your gem publishing method therefore the gem packages pushed to rubygems have incorrect permissions. |
cc @travisjeffery Could you please double check your dev environment and release a new gem? :) |
This is the 2nd time this has happened, not sure what the cause is yet. Just pushed |
👍 |
I see the same issue with timecop v0.6.1 (on Mac OS X 10.7.5 and on 10.6) lib/timecop/ has these permissions after gem install:
|
I had the exact same issue as oree, with Mac OS X 10.8.2 and Timecop v0.6.1. |
Also seeing this issue with
Successfully worked around with |
Hello I'm getting no such file to load on timecop 0.5.8 and 0.5.9m it works fine on 0.5.7.
Im on OSX mountain lion with ruby 1.8.7
The text was updated successfully, but these errors were encountered: