Skip to content

Instantly share code, notes, and snippets.

@chewmanfoo
Created April 27, 2016 17:15
Show Gist options
  • Save chewmanfoo/ffd3e7fd5840da3f373b3c27f488aaf9 to your computer and use it in GitHub Desktop.
Save chewmanfoo/ffd3e7fd5840da3f373b3c27f488aaf9 to your computer and use it in GitHub Desktop.
jenkins@cit-c-jenk001:~$ irb
/usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/stub_specification.rb:75:in `initialize': Permission denied @ rb_sysopen - /usr/local/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/specifications/phantomjs-2.1.1.0.gemspec (Errno::EACCES)
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/stub_specification.rb:75:in `open'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/stub_specification.rb:75:in `data'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/stub_specification.rb:178:in `valid?'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:731:in `block in each_stub'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:723:in `block (2 levels) in each_gemspec'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:722:in `each'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:722:in `block in each_gemspec'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:721:in `each'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:721:in `each_gemspec'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:729:in `each_stub'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:748:in `stubs'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:936:in `find_inactive_by_path'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems.rb:187:in `try_activate'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/locale.rb:149:in `block in search_file'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/locale.rb:157:in `block in each_localized_path'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/locale.rb:166:in `each_sublocale'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/locale.rb:156:in `each_localized_path'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/locale.rb:144:in `search_file'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/locale.rb:123:in `find'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/locale.rb:107:in `load'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/locale.rb:31:in `initialize'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/init.rb:112:in `new'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/init.rb:112:in `init_config'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb/init.rb:16:in `setup'
from /usr/local/rbenv/versions/2.2.3/lib/ruby/2.2.0/irb.rb:378:in `start'
from /usr/local/rbenv/versions/2.2.3/bin/irb:11:in `<main>'
root@cit-c-jenk001:/usr/local/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/specifications$ ls -la
total 80
drwxrwxr-x 3 root wheel 4096 Apr 27 11:49 .
drwxrwxr-x 8 root wheel 4096 Apr 1 17:26 ..
-rw-rw-r-- 1 root wheel 1092 Apr 1 17:26 aws-sdk-2.2.31.gemspec
-rw-rw-r-- 1 root wheel 1105 Apr 1 17:26 aws-sdk-core-2.2.31.gemspec
-rw-rw-r-- 1 root wheel 1149 Apr 1 17:26 aws-sdk-resources-2.2.31.gemspec
-rw-rw-r-- 1 root wheel 1296 Apr 1 17:28 aws-sdk-v1-1.66.0.gemspec
-rw-rw-r-- 1 root wheel 2094 Apr 1 17:26 bundler-1.11.2.gemspec
drwxrwxr-x 2 root wheel 4096 Apr 1 17:26 default
-rw-rw-r-- 1 root wheel 993 Apr 1 17:26 jmespath-1.2.3.gemspec
-rw-rw-r-- 1 root wheel 1282 Apr 1 17:26 json_pure-1.8.3.gemspec
-rw-rw-r-- 1 root wheel 1705 Apr 1 17:27 mini_portile2-2.0.0.gemspec
-rw-rw-r-- 1 root wheel 4626 Apr 1 17:26 minitest-5.4.3.gemspec
-rw-rw-r-- 1 root wheel 656 Apr 1 17:26 netaddr-1.5.1.gemspec
-rw-rw-r-- 1 root wheel 6348 Apr 1 17:28 nokogiri-1.6.7.2.gemspec
-rw-rw---- 1 root wheel 1741 Apr 27 11:49 phantomjs-2.1.1.0.gemspec
-rw-rw-r-- 1 root wheel 1540 Apr 1 17:26 power_assert-0.2.2.gemspec
-rw-rw---- 1 root wheel 1655 Apr 27 11:49 screencap-0.1.4.gemspec
-rw-rw-r-- 1 root wheel 2053 Apr 1 17:26 test-unit-3.0.8.gemspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment