Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

pre.9/lib/bundler/settings.rb:5:in `initialize': uninitialized constant Bundler::Settings::YAML (NameError) #1441

Closed
stuffmc opened this Issue · 7 comments

4 participants

@stuffmc
heroku run bundle
Running bundle attached to terminal... up, run.7
Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.9/lib/bundler/settings.rb:5:in `initialize': uninitialized constant Bundler::Settings::YAML (NameError)
    from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.9/lib/bundler.rb:188:in `new'
    from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.9/lib/bundler.rb:188:in `settings'
    from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.9/lib/bundler/cli.rb:208:in `install'
    from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.9/lib/bundler/vendor/thor/task.rb:22:in `run'
    from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.9/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
    from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.9/lib/bundler/vendor/thor.rb:263:in `dispatch'
    from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.9/lib/bundler/vendor/thor/base.rb:386:in `start'
    from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.pre.9/bin/bundle:13:in `<top (required)>'
    from vendor/bundle/ruby/1.9.1/bin/bundle:19:in `load'
    from vendor/bundle/ruby/1.9.1/bin/bundle:19:in `<main>'
@hone hone was assigned
@hone
Owner

I tried to repro the issue on heroku's cedar stack, but could not.

https://gist.github.com/87b96f79e073903144bf

Can you provide the information from ISSUES like your Gemfile + Gemfile.lock?

@stuffmc
source 'http://rubygems.org'

gem 'rails', '3.1.0'

group :assets do
  gem 'sass-rails',   "~> 3.1.0"
  gem 'coffee-rails', "~> 3.1.0"
  gem 'uglifier'
end
gem 'jquery-rails'

group :development do
  gem 'pry'
  gem "nifty-generators"
end

gem 'pg'
gem 'formtastic',     "~> 2.0.0.rc5"
gem 'haml'
gem 'plist'
gem 'enum'
gem 'htmlentities'
gem 'nokogiri'
GEM
  remote: http://rubygems.org/
  specs:
    actionmailer (3.1.0)
      actionpack (= 3.1.0)
      mail (~> 2.3.0)
    actionpack (3.1.0)
      activemodel (= 3.1.0)
      activesupport (= 3.1.0)
      builder (~> 3.0.0)
      erubis (~> 2.7.0)
      i18n (~> 0.6)
      rack (~> 1.3.2)
      rack-cache (~> 1.0.3)
      rack-mount (~> 0.8.2)
      rack-test (~> 0.6.1)
      sprockets (~> 2.0.0)
    activemodel (3.1.0)
      activesupport (= 3.1.0)
      bcrypt-ruby (~> 3.0.0)
      builder (~> 3.0.0)
      i18n (~> 0.6)
    activerecord (3.1.0)
      activemodel (= 3.1.0)
      activesupport (= 3.1.0)
      arel (~> 2.2.1)
      tzinfo (~> 0.3.29)
    activeresource (3.1.0)
      activemodel (= 3.1.0)
      activesupport (= 3.1.0)
    activesupport (3.1.0)
      multi_json (~> 1.0)
    arel (2.2.1)
    bcrypt-ruby (3.0.1)
    builder (3.0.0)
    coderay (0.9.8)
    coffee-rails (3.1.1)
      coffee-script (>= 2.2.0)
      railties (~> 3.1.0)
    coffee-script (2.2.0)
      coffee-script-source
      execjs
    coffee-script-source (1.1.2)
    enum (1.0.0)
    erubis (2.7.0)
    execjs (1.2.6)
      multi_json (~> 1.0)
    formtastic (2.0.0.rc5)
      rails (~> 3.0)
    haml (3.1.2)
    hike (1.2.1)
    htmlentities (4.2.2)
    i18n (0.6.0)
    jquery-rails (1.0.14)
      railties (~> 3.0)
      thor (~> 0.14)
    mail (2.3.0)
      i18n (>= 0.4.0)
      mime-types (~> 1.16)
      treetop (~> 1.4.8)
    method_source (0.6.5)
      ruby_parser (>= 2.0.5)
    mime-types (1.16)
    multi_json (1.0.3)
    nifty-generators (0.4.6)
    nokogiri (1.5.0)
    pg (0.11.0)
    plist (3.1.0)
    polyglot (0.3.2)
    pry (0.9.5)
      coderay (>= 0.9.8)
      method_source (>= 0.6.5)
      ruby_parser (>= 2.0.5)
      slop (~> 2.1.0)
    rack (1.3.2)
    rack-cache (1.0.3)
      rack (>= 0.4)
    rack-mount (0.8.3)
      rack (>= 1.0.0)
    rack-ssl (1.3.2)
      rack
    rack-test (0.6.1)
      rack (>= 1.0)
    rails (3.1.0)
      actionmailer (= 3.1.0)
      actionpack (= 3.1.0)
      activerecord (= 3.1.0)
      activeresource (= 3.1.0)
      activesupport (= 3.1.0)
      bundler (~> 1.0)
      railties (= 3.1.0)
    railties (3.1.0)
      actionpack (= 3.1.0)
      activesupport (= 3.1.0)
      rack-ssl (~> 1.3.2)
      rake (>= 0.8.7)
      rdoc (~> 3.4)
      thor (~> 0.14.6)
    rake (0.9.2)
    rdoc (3.9.4)
    ruby_parser (2.3.0)
      sexp_processor (~> 3.0)
    sass (3.1.7)
    sass-rails (3.1.1)
      actionpack (~> 3.1.0)
      railties (~> 3.1.0)
      sass (>= 3.1.4)
      tilt (~> 1.3.2)
    sexp_processor (3.0.6)
    slop (2.1.0)
    sprockets (2.0.0)
      hike (~> 1.2)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    thor (0.14.6)
    tilt (1.3.3)
    treetop (1.4.10)
      polyglot
      polyglot (>= 0.3.1)
    tzinfo (0.3.29)
    uglifier (1.0.3)
      execjs (>= 0.3.0)
      multi_json (>= 1.0.2)

PLATFORMS
  ruby

DEPENDENCIES
  coffee-rails (~> 3.1.0)
  enum
  formtastic (~> 2.0.0.rc5)
  haml
  htmlentities
  jquery-rails
  nifty-generators
  nokogiri
  pg
  plist
  pry
  rails (= 3.1.0)
  sass-rails (~> 3.1.0)
  uglifier
@stuffmc

BTW It's very important to not that this may only happens on newly created cedar.

@indirect indirect closed this in 4ef2389
@stuffmc

Awesome! When will this make into the gem -- or do you think there's a way to patch this to heroku?

@jipiboily

Any news about that? Seems like I'm affected by this too....

@indirect
Owner

This was released in 1.1.rc.

@jipiboily

Doh, my bad! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.