Skip to content

Instantly share code, notes, and snippets.

@mmcc
Created November 30, 2011 21:55
Show Gist options
  • Save mmcc/1411152 to your computer and use it in GitHub Desktop.
Save mmcc/1411152 to your computer and use it in GitHub Desktop.
precompile error
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:52:in `initialize': Valid types are [:development, :runtime], not nil (ArgumentError)
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:352:in `new'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:352:in `search'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:346:in `gems_size'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:179:in `resolve'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:95:in `sort_by'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:175:in `each'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:175:in `sort_by'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:175:in `resolve'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:160:in `start'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:128:in `resolve'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:127:in `catch'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:127:in `resolve'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:151:in `resolve'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:90:in `specs'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:135:in `specs_for'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:124:in `requested_specs'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/environment.rb:23:in `requested_specs'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:11:in `setup'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler.rb:110:in `setup'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/setup.rb:7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment