Skip to content
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

No such file to load -- robots #6

Open
RichardStokes opened this issue Aug 21, 2011 · 4 comments
Open

No such file to load -- robots #6

RichardStokes opened this issue Aug 21, 2011 · 4 comments

Comments

@RichardStokes
Copy link

Getting 'LoadError: no such file to load -- robots' when I try to require 'robots' in irb. Have robots 0.10.1 installed.

@krbullock
Copy link

Just noticed this myself on Mac OS X Lion (10.7). On investigation, it seems the released gem file has all the file permissions set to -rw-rw---- (mode 660), whereas every other gem I've looked at sets them mode 644. My first inkling of the actual problem was when I tried this:

⁂ cat /Library/Ruby/Gems/1.8/gems/robots-0.10.1/lib/robots.rb 
cat: /Library/Ruby/Gems/1.8/gems/robots-0.10.1/lib/robots.rb: Permission denied

I have another machine running Mac OS X Snow Leopard (10.6), which for whatever reason doesn't exhibit this issue.

@failshell
Copy link

I get that error on Centos as well when installing the gem with rubygems. Once I chmod that file to 644, everything works.

@nyarly
Copy link

nyarly commented Dec 21, 2011

Seriously, the only way this makes sense is if lib/robots.rb has root ownership and 660 in the packaging directory. This is a recurring irritation in several projects now and it would lovely if it could get fixed.

uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Aug 26, 2014
See also:	fizx/robots#6


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@366241 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Aug 26, 2014
@axper
Copy link

axper commented Oct 19, 2014

robots.rb had these permissions:

-rw-r----- 1 root root 3.1K Oct 19 16:47 robots.rb

Just please simply chmod o+r it!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants