nilenso / lock_ness_monster

Lock your gem versions down!
MIT License
9 stars 0 forks source link

undefined method `[]` for nil:NilClass (No MethodError) #3

Open parasquid opened 10 years ago

parasquid commented 10 years ago
* Looking for gem versions
/var/lib/gems/2.0.0/gems/lock_ness_monster-0.0.2/lib/lock_ness_monster.rb:16:in `block in lock': undefined method `[]' for nil:NilClass (NoMethodError)
from /var/lib/gems/2.0.0/gems/lock_ness_monster-0.0.2/lib/lock_ness_monster.rb:14:in `each'
from /var/lib/gems/2.0.0/gems/lock_ness_monster-0.0.2/lib/lock_ness_monster.rb:14:in `reduce'
from /var/lib/gems/2.0.0/gems/lock_ness_monster-0.0.2/lib/lock_ness_monster.rb:14:in `lock'
from /var/lib/gems/2.0.0/gems/lock_ness_monster-0.0.2/bin/lock_ness_monster:4:in `<top (required)>'
from /usr/local/bin/lock_ness_monster:23:in `load'
from /usr/local/bin/lock_ness_monster:23:in `<main>'
bundle exec gem list

*** LOCAL GEMS ***

actionmailer (4.0.3)
actionpack (4.0.3)
activemodel (4.0.3)
activerecord (4.0.3)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.3)
addressable (2.3.5)
arel (4.0.2)
atomic (1.1.16)
bootstrap-sass (3.1.1.0)
builder (3.1.4)
bundler (1.5.3)
capistrano (3.1.0)
capistrano-bundler (1.1.2)
capistrano-devops (0.0.11)
capistrano-rails (1.1.1)
celluloid (0.15.2)
celluloid-io (0.15.0)
choice (0.1.6)
coderay (1.1.0)
coffee-rails (4.0.1)
coffee-script (2.2.0)
coffee-script-source (1.7.0)
connection_pool (1.2.0)
dashing-rails (2.2.0)
diff-lcs (1.2.5)
erubis (2.7.0)
eventmachine (1.0.3)
execjs (2.0.2)
factory_girl (4.4.0)
factory_girl_rails (4.4.1)
faraday (0.9.0)
ffi (1.9.3)
font-awesome-rails (3.2.1.3)
formatador (0.2.4)
gem_config (0.3.0)
given_core (3.5.4)
gravatar_image_tag (1.2.0)
guard (2.5.1)
guard-rails (0.5.0)
guard-rspec (4.2.8)
hashie (2.0.5)
hike (1.2.3)
httparty (0.13.0)
i18n (0.6.9)
jbuilder (1.5.3)
jquery-rails (3.1.0)
jquery-ui-rails (4.2.0)
json (1.8.1)
jwt (0.1.11)
kaminari (0.15.1)
kgio (2.9.2)
libv8 (3.16.14.3 x86_64-linux)
listen (2.7.1)
lograge (0.3.0)
lumberjack (1.0.4)
macadmin-rails (2.3.1)
mail (2.5.4)
method_source (0.8.2)
mime-types (1.25.1)
minitest (4.7.5)
multi_json (1.9.0)
multi_xml (0.5.5)
multipart-post (2.0.0)
net-scp (1.1.2)
net-ssh (2.8.0)
nio4r (1.0.0)
oauth2 (0.9.3)
omniauth (1.2.1)
omniauth-mindvalley (0.0.5)
omniauth-oauth2 (1.1.2)
pg (0.17.1)
polyglot (0.3.4)
pry (0.9.12.6)
puma (2.8.1)
quiet_assets (1.0.2)
rack (1.5.2)
rack-protection (1.5.2)
rack-test (0.6.2)
rails (4.0.3)
rails-erd (1.1.0)
railties (4.0.3)
rainbows (4.6.1)
raindrops (0.13.0)
rake (10.1.1)
rb-fsevent (0.9.4)
rb-inotify (0.9.3)
rdoc (4.1.1)
redis (3.0.7)
redis-namespace (1.4.1)
ref (1.0.5)
rspec (2.14.1)
rspec-core (2.14.8)
rspec-expectations (2.14.5)
rspec-given (3.5.4)
rspec-mocks (2.14.6)
rspec-rails (2.14.1)
ruby-graphviz (1.0.9)
rufus-scheduler (3.0.7)
sass (3.2.16)
sass-rails (4.0.2)
sdoc (0.4.0)
seed_dump (3.1.0)
sidekiq (2.16.1)
sidekiq_status (1.0.7)
sinatra (1.4.4)
slim (2.0.2)
slop (3.5.0)
sorcerer (1.0.2)
spring (1.1.2)
sprockets (2.11.0)
sprockets-rails (2.0.1)
sshkit (1.3.0)
temple (0.6.7)
term-ansicolor (1.3.0)
therubyracer (0.12.1)
thor (0.18.1)
thread_safe (0.2.0)
tilt (1.4.1)
timers (1.1.0)
tins (1.0.1)
treetop (1.4.15)
tzinfo (0.3.39)
uglifier (2.5.0)
unicorn (4.8.2)
ruby -v
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux-gnu]
parasquid commented 10 years ago

I suspect it's tripping up on one of the gems here, but I'm not able to see at a glance which one -- perhaps libv8 (3.16.14.3 x86_64-linux) ?

jithugopal commented 10 years ago

@parasquid Good catch. I'll patch this up quick.