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

Permissions issue? #30

Open
scott opened this issue Jan 22, 2016 · 4 comments
Open

Permissions issue? #30

scott opened this issue Jan 22, 2016 · 4 comments

Comments

@scott
Copy link

scott commented Jan 22, 2016

I am not sure if this is related to the gem or not, but I am getting a weird thing where the permissions look like this in the /lib/griddler/mandrill directory:

-rw------- 1 root rvm 2.5K Jan 22 12:17 adapter.rb
-rw-r--r-- 1 root rvm 66 Jan 22 12:17 version.rb

This causes problems, because adapter should be the same as version. In fact the strange thing is that on my local env it is in fact this way, but when I deploy on Digital Ocean using their ruby on rails one-click app, it somehow ends up like above.

Everything works fine if I execute chmod +r /usr/local/rvm/gems/ruby-2.2.1/gems/griddler-mandrill-1.1.3/lib/griddler/mandrill/adapter.rb

Any ideas?

@wingrunr21
Copy link
Owner

Hey,

I was able to reproduce this. Those are not the permissions of the files in my local repo. I am not seeing this issue when the gem is installed via bundler so I'm guessing it is a rubygems issue. What version are you using?

@scott
Copy link
Author

scott commented Feb 25, 2016

Looks like it is 2.4.6

@pads
Copy link

pads commented Jun 7, 2016

I'm getting the same issue with this environment:

-bash-4.2$ ruby -v
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
-bash-4.2$ gem -v
2.4.5.1
-bash-4.2$ bundler -v
Bundler version 1.9.6
-bash-4.2$ 

I'm guessing this is not an issue with this gem but I'd like to know if @scott solved this?

@Vad1mo
Copy link

Vad1mo commented Apr 29, 2017

same issue here with:

ls -la /usr/local/bundle/gems/griddler-mandrill-1.1.3/lib/griddler/mandrill/adapter.rb
-rw-------    1 root     root          2550 Apr 28 21:01 /usr/local/bundle/gems/griddler-mandrill-1.1.3/lib/griddler/mandrill/adapter.rb


/#  ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]
/# gem -v
2.6.10
/# bundler -v
Bundler version 1.14.5

I am using https://hub.docker.com/_/ruby/

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

4 participants