I hereby claim:
- I am erebor on github.
- I am erebor (https://keybase.io/erebor) on keybase.
- I have a public key ASCwelzHQwbGvFfpYDymtEwE0wzITr58SrVr_VzaKHRAogo
To claim this, I am signing this object:
0x4Fc908C13A9DB32959c343E37cD216d3E893E567 |
blah |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
$:.unshift(File.expand_path('../../lib', __FILE__)) | |
require 'ws2812' | |
class Ring | |
attr_accessor :led_count | |
def initialize(number_of_leds) | |
@led_count = number_of_leds | |
end |
A couple of notes up-front: notice that json_pure is not specifically required in my Gemfile, but it shows up with a specific version requirement in Gemfile.lock. If that version requirement is lower than an available system version of json_pure, then this problem shows up. I can make it show up with 1.4.4 versus 1.4.3 on my development Mac. | |
$ bundle --version | |
Bundler version 1.0.0.rc.3 | |
$ ruby -v | |
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-linux] | |
(Not using RVM here) |
The "Reporting Bugs" section asks for this info (since I don't have a test case or clear instructions how to reproduce in another app) | |
* Whether you have locked or not | |
I have not explicitly locked, because I'm currently using 1.0.0.rc.1, which says not to do that any more. But running 'bundle install' now creates a Gemfile.lock. | |
* What version of bundler you are using | |
Currently 1.0.0.rc.1, though the behavior is identical with 0.9.26. |
Mac:~/cas(working) ruby-1.8.7-p174> gem outdated --debug | |
Exception `NameError' at /Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::OutdatedCommand | |
Exception `NoMethodError' at /Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/commands/outdated_command.rb:26 - undefined method `first' for nil:NilClass | |
ERROR: While executing gem ... (NoMethodError) | |
undefined method `first' for nil:NilClass | |
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/commands/outdated_command.rb:26:in `execute' | |
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/commands/outdated_command.rb:21:in `each' | |
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/commands/outdated_command.rb:21:in `execute' | |
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/command.rb:270:in `invoke' | |
/Users/rew/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/rubygems/com |
Mac:~/cas(working) ruby-1.8.7-p174> gem --verbose outdated | |
ERROR: Invalid option: --verbose. See 'gem --help'. | |
Mac:~/cas(working) ruby-1.8.7-p174> gem outdated --verbose | |
GET http://gemcutter.org/latest_specs.4.8.gz | |
302 Found | |
GET http://production.s3.rubygems.org/latest_specs.4.8.gz | |
200 OK | |
ERROR: While executing gem ... (NoMethodError) | |
undefined method `first' for nil:NilClass | |
Mac:~/cas(working) ruby-1.8.7-p174> gem outdated --trace |
Mac:~/cas(working) ruby-1.8.7-p174> cat $(which gem) | |
#!/Users/rew/.rvm/rubies/ruby-1.8.7-p174/bin/ruby | |
#-- | |
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. | |
# All rights reserved. | |
# See LICENSE.txt for permissions. | |
#++ | |
require 'rubygems' | |
require 'rubygems/gem_runner' |
Mac:~/.rvm ruby-1.8.7-p174> rvm info | |
ruby-1.8.7-p174: | |
system: | |
uname: "Darwin ryanmac.local 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386" | |
shell: "bash" | |
version: "3.2.48(1)-release" | |
rvm: | |
type: "rvm is /Users/rew/.rvm/bin/rvm" |