New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails fails to start (rails master + sprockets master) #453

Closed
slbug opened this Issue May 8, 2011 · 24 comments

Comments

Projects
None yet
@slbug
Contributor

slbug commented May 8, 2011

=> Booting WEBrick
=> Rails 3.1.0.beta1 application starting in development on http://0.0.0.0:3001
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/actionpack/lib/sprockets/railtie.rb:37:in `block (2 levels) in ': undefined method `context' for Sprockets::Environment:0x00000002535fa0 (NoMethodError)
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/lazy_load_hooks.rb:26:in `on_load'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/actionpack/lib/sprockets/railtie.rb:36:in `block in '
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/lazy_load_hooks.rb:34:in `call'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/application/finisher.rb:56:in `block in '
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/initializable.rb:25:in `instance_exec'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/initializable.rb:25:in `run'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/initializable.rb:50:in `block in run_initializers'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/initializable.rb:49:in `each'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/initializable.rb:49:in `run_initializers'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/application.rb:94:in `initialize!'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/railtie/configurable.rb:28:in `method_missing'
    from /home/user/work/testapp/config/environment.rb:5:in `'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/dependencies.rb:237:in `require'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/dependencies.rb:237:in `block in require'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/dependencies.rb:223:in `block in load_dependency'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/dependencies.rb:639:in `new_constants_in'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/dependencies.rb:223:in `load_dependency'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/activesupport/lib/active_support/dependencies.rb:237:in `require'
    from /home/user/work/testapp/config.ru:4:in `block in '
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-09433a26a9e6/lib/rack/builder.rb:51:in `instance_eval'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-09433a26a9e6/lib/rack/builder.rb:51:in `initialize'
    from /home/user/work/testapp/config.ru:1:in `new'
    from /home/user/work/testapp/config.ru:1:in `'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-09433a26a9e6/lib/rack/builder.rb:40:in `eval'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-09433a26a9e6/lib/rack/builder.rb:40:in `parse_file'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-09433a26a9e6/lib/rack/server.rb:200:in `app'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/commands/server.rb:46:in `app'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-09433a26a9e6/lib/rack/server.rb:301:in `wrapped_app'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-09433a26a9e6/lib/rack/server.rb:252:in `start'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/commands/server.rb:70:in `start'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/commands.rb:54:in `block in '
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/commands.rb:49:in `tap'
    from /home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-67c3469e6ff1/railties/lib/rails/commands.rb:49:in `'
    from script/rails:6:in `require'
    from script/rails:6:in `'
@josevalim

This comment has been minimized.

Show comment
Hide comment
@josevalim

josevalim May 8, 2011

Contributor

Please update sprockets?

Contributor

josevalim commented May 8, 2011

Please update sprockets?

@josevalim josevalim closed this May 8, 2011

@slbug

This comment has been minimized.

Show comment
Hide comment
@slbug

slbug May 8, 2011

Contributor

just did (once again) bundle update and bundle install. latest sprockets from master branch. it fails after yesterdays clean up commit in sprockets repository.

Contributor

slbug commented May 8, 2011

just did (once again) bundle update and bundle install. latest sprockets from master branch. it fails after yesterdays clean up commit in sprockets repository.

@slbug slbug reopened this May 8, 2011

@josevalim

This comment has been minimized.

Show comment
Hide comment
@josevalim

josevalim May 8, 2011

Contributor

@slbug can you post then which sprockets version (commit ref) are you using? Rails and rack versions I can get from the backtrace, thanks.

Contributor

josevalim commented May 8, 2011

@slbug can you post then which sprockets version (commit ref) are you using? Rails and rack versions I can get from the backtrace, thanks.

@ghost ghost assigned josh May 8, 2011

@slbug

This comment has been minimized.

Show comment
Hide comment
@slbug

slbug May 8, 2011

Contributor

Gemfile:

source 'http://rubygems.org'

gem 'rails',                 :git => 'git://github.com/rails/rails.git'
gem 'arel',                  :git => 'git://github.com/rails/arel.git'
gem 'rack',                  :git => 'git://github.com/rack/rack.git'
gem 'sprockets',             :git => 'git://github.com/sstephenson/sprockets.git'
gem 'rack-cache',            :git => 'git://github.com/rtomayko/rack-cache.git', :require => 'rack/cache'
gem 'tilt',                  :git => 'git://github.com/rtomayko/tilt.git'
gem 'rack-mount',            :git => 'git://github.com/josh/rack-mount.git'

gem 'i18n',                  :git => 'git://github.com/svenfuchs/i18n.git'
gem 'redis',                 :git => 'git://github.com/ezmobius/redis-rb.git'

gem 'haml',                  :git => 'git://github.com/nex3/haml.git'
gem 'sass',                  :git => 'git://github.com/nex3/sass.git'
gem 'coffee-script',         :git => 'git://github.com/josh/ruby-coffee-script.git'
gem 'uglifier',              :git => 'git://github.com/lautis/uglifier.git'

gem 'ancestry',              :git => 'git://github.com/stefankroes/ancestry.git'
gem 'kaminari',              :git => 'git://github.com/amatsuda/kaminari.git'

gem 'jquery-rails',          :git => 'git://github.com/indirect/jquery-rails.git'

gem 'RubyInline',            :require => false
gem 'image_science',         :require => false
gem 'carrierwave',           :git => 'git://github.com/jnicklas/carrierwave.git'

gem 'htmlentities'
gem 'nokogiri'
gem 'pg'

group :development do
  gem 'hpricot'
  gem 'ruby_parser'
  gem 'haml-rails',          :git => 'git://github.com/indirect/haml-rails.git'
end

gem 'unicorn'

Gemfile.lock:

GIT
  remote: git://github.com/amatsuda/kaminari.git
  revision: 2dfb5553b236ee0a0db9fa3f9aecbcac314ae78c
  specs:
    kaminari (0.12.4)
      rails (>= 3.0.0)

GIT
  remote: git://github.com/ezmobius/redis-rb.git
  revision: c41bc94ea6e6eebb718428d74d22c84b6d2513a4
  specs:
    redis (2.2.0)

GIT
  remote: git://github.com/indirect/haml-rails.git
  revision: 92c41db61f20a9f122de25bc73e5045cfccdbcd5
  specs:
    haml-rails (0.3.4)
      actionpack (~> 3.0)
      activesupport (~> 3.0)
      haml (~> 3.0)
      railties (~> 3.0)

GIT
  remote: git://github.com/indirect/jquery-rails.git
  revision: 8800c15e7dfc574310719a9bb668cd3e5eada575
  specs:
    jquery-rails (1.0)
      railties (~> 3.0)
      thor (~> 0.14)

GIT
  remote: git://github.com/jnicklas/carrierwave.git
  revision: d2cb99103a4fd3a4927ea616b251809969831fbe
  specs:
    carrierwave (0.5.3)
      activesupport (~> 3.0)

GIT
  remote: git://github.com/josh/rack-mount.git
  revision: c52eb4bd45ff8d06aae7f3e3f93c0115f87a3ae0
  specs:
    rack-mount (0.7.2)
      rack (>= 1.0.0)

GIT
  remote: git://github.com/josh/ruby-coffee-script.git
  revision: 200152667e00a1b744977a3a4750df510925cc6f
  specs:
    coffee-script (2.2.0)
      coffee-script-source
      execjs

GIT
  remote: git://github.com/lautis/uglifier.git
  revision: 76d5e3ca43e3042c67d4290609458623be7a4fff
  specs:
    uglifier (0.5.1)
      execjs
      multi_json

GIT
  remote: git://github.com/nex3/haml.git
  revision: 5f04bbda570a41acfb1d5d8ac971ae99c1ae7046
  specs:
    haml (3.2.0.alpha.0)

GIT
  remote: git://github.com/nex3/sass.git
  revision: a1ef2cddaee971d84d0e5e26329727ab0c7be884
  specs:
    sass (3.2.0.alpha.0)

GIT
  remote: git://github.com/rack/rack.git
  revision: c16729ddc2a0576818db2e8c20ca6550d9d2cdad
  specs:
    rack (1.3.0.beta)

GIT
  remote: git://github.com/rails/arel.git
  revision: a3d9c393b4707a03734dcf6831fb9636fabac045
  specs:
    arel (2.1.0.20110430172428)

GIT
  remote: git://github.com/rails/rails.git
  revision: b3791da0318eb68f14a2d8d7658cc882784e6f6a
  specs:
    actionmailer (3.1.0.beta1)
      actionpack (= 3.1.0.beta1)
      mail (~> 2.3.0)
    actionpack (3.1.0.beta1)
      activemodel (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      builder (~> 3.0.0)
      erubis (~> 2.7.0)
      i18n (~> 0.6.0beta1)
      rack (~> 1.3.0.beta)
      rack-cache (~> 1.0.1)
      rack-mount (~> 0.7.2)
      rack-test (~> 0.6.0)
      sprockets (~> 2.0.0.beta.2)
      tzinfo (~> 0.3.27)
    activemodel (3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      bcrypt-ruby (~> 2.1.4)
      builder (~> 3.0.0)
      i18n (~> 0.6.0beta1)
    activerecord (3.1.0.beta1)
      activemodel (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      arel (~> 2.1.0)
      tzinfo (~> 0.3.27)
    activeresource (3.1.0.beta1)
      activemodel (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
    activesupport (3.1.0.beta1)
      multi_json (~> 1.0)
    rails (3.1.0.beta1)
      actionmailer (= 3.1.0.beta1)
      actionpack (= 3.1.0.beta1)
      activerecord (= 3.1.0.beta1)
      activeresource (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      bundler (~> 1.0)
      railties (= 3.1.0.beta1)
    railties (3.1.0.beta1)
      actionpack (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      rack-ssl (~> 1.3.2)
      rake (>= 0.8.7)
      thor (~> 0.14.6)

GIT
  remote: git://github.com/rtomayko/rack-cache.git
  revision: 85ee0c5b9cdde994e88e2c7b66c459b7bf736166
  specs:
    rack-cache (1.0.1)
      rack (>= 0.4)

GIT
  remote: git://github.com/rtomayko/tilt.git
  revision: b8e1cd20900f666d8127405be4a060e74274de8b
  specs:
    tilt (1.3)

GIT
  remote: git://github.com/sstephenson/sprockets.git
  revision: 61fa58655d4fa64fc6b5d8c617e3ec0bb92a5836
  specs:
    sprockets (2.0.0.beta.2)
      hike (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.0)

GIT
  remote: git://github.com/stefankroes/ancestry.git
  revision: 59d155e558dc3cd916f613bbe7f5a4f047981ed5
  specs:
    ancestry (1.2.3)
      activerecord (>= 2.2.2)

GIT
  remote: git://github.com/svenfuchs/i18n.git
  revision: 61138a5d8de4dfcec15e13a8f3e7f7c53ab8938a
  specs:
    i18n (0.6.0beta1)

GEM
  remote: http://rubygems.org/
  specs:
    RubyInline (3.9.0)
      ZenTest (~> 4.3)
    ZenTest (4.5.0)
    bcrypt-ruby (2.1.4)
    builder (3.0.0)
    coffee-script-source (1.1.0)
    erubis (2.7.0)
    execjs (0.3.3)
      multi_json (~> 1.0)
    hike (1.0.0)
    hpricot (0.8.4)
    htmlentities (4.3.0)
    image_science (1.2.1)
    kgio (2.4.0)
    mail (2.3.0)
      i18n (>= 0.4.0)
      mime-types (~> 1.16)
      treetop (~> 1.4.8)
    mime-types (1.16)
    multi_json (1.0.1)
    nokogiri (1.4.4)
    pg (0.11.0)
    polyglot (0.3.1)
    rack-ssl (1.3.2)
      rack
    rack-test (0.6.0)
      rack (>= 1.0)
    rake (0.8.7)
    ruby_parser (2.0.6)
      sexp_processor (~> 3.0)
    sexp_processor (3.0.5)
    thor (0.14.6)
    treetop (1.4.9)
      polyglot (>= 0.3.1)
    tzinfo (0.3.27)
    unicorn (3.6.2)
      kgio (~> 2.3)
      rack

PLATFORMS
  ruby

DEPENDENCIES
  RubyInline
  ancestry!
  arel!
  carrierwave!
  coffee-script!
  haml!
  haml-rails!
  hpricot
  htmlentities
  i18n!
  image_science
  jquery-rails!
  kaminari!
  nokogiri
  pg
  rack!
  rack-cache!
  rack-mount!
  rails!
  redis!
  ruby_parser
  sass!
  sprockets!
  tilt!
  uglifier!
  unicorn
Contributor

slbug commented May 8, 2011

Gemfile:

source 'http://rubygems.org'

gem 'rails',                 :git => 'git://github.com/rails/rails.git'
gem 'arel',                  :git => 'git://github.com/rails/arel.git'
gem 'rack',                  :git => 'git://github.com/rack/rack.git'
gem 'sprockets',             :git => 'git://github.com/sstephenson/sprockets.git'
gem 'rack-cache',            :git => 'git://github.com/rtomayko/rack-cache.git', :require => 'rack/cache'
gem 'tilt',                  :git => 'git://github.com/rtomayko/tilt.git'
gem 'rack-mount',            :git => 'git://github.com/josh/rack-mount.git'

gem 'i18n',                  :git => 'git://github.com/svenfuchs/i18n.git'
gem 'redis',                 :git => 'git://github.com/ezmobius/redis-rb.git'

gem 'haml',                  :git => 'git://github.com/nex3/haml.git'
gem 'sass',                  :git => 'git://github.com/nex3/sass.git'
gem 'coffee-script',         :git => 'git://github.com/josh/ruby-coffee-script.git'
gem 'uglifier',              :git => 'git://github.com/lautis/uglifier.git'

gem 'ancestry',              :git => 'git://github.com/stefankroes/ancestry.git'
gem 'kaminari',              :git => 'git://github.com/amatsuda/kaminari.git'

gem 'jquery-rails',          :git => 'git://github.com/indirect/jquery-rails.git'

gem 'RubyInline',            :require => false
gem 'image_science',         :require => false
gem 'carrierwave',           :git => 'git://github.com/jnicklas/carrierwave.git'

gem 'htmlentities'
gem 'nokogiri'
gem 'pg'

group :development do
  gem 'hpricot'
  gem 'ruby_parser'
  gem 'haml-rails',          :git => 'git://github.com/indirect/haml-rails.git'
end

gem 'unicorn'

Gemfile.lock:

GIT
  remote: git://github.com/amatsuda/kaminari.git
  revision: 2dfb5553b236ee0a0db9fa3f9aecbcac314ae78c
  specs:
    kaminari (0.12.4)
      rails (>= 3.0.0)

GIT
  remote: git://github.com/ezmobius/redis-rb.git
  revision: c41bc94ea6e6eebb718428d74d22c84b6d2513a4
  specs:
    redis (2.2.0)

GIT
  remote: git://github.com/indirect/haml-rails.git
  revision: 92c41db61f20a9f122de25bc73e5045cfccdbcd5
  specs:
    haml-rails (0.3.4)
      actionpack (~> 3.0)
      activesupport (~> 3.0)
      haml (~> 3.0)
      railties (~> 3.0)

GIT
  remote: git://github.com/indirect/jquery-rails.git
  revision: 8800c15e7dfc574310719a9bb668cd3e5eada575
  specs:
    jquery-rails (1.0)
      railties (~> 3.0)
      thor (~> 0.14)

GIT
  remote: git://github.com/jnicklas/carrierwave.git
  revision: d2cb99103a4fd3a4927ea616b251809969831fbe
  specs:
    carrierwave (0.5.3)
      activesupport (~> 3.0)

GIT
  remote: git://github.com/josh/rack-mount.git
  revision: c52eb4bd45ff8d06aae7f3e3f93c0115f87a3ae0
  specs:
    rack-mount (0.7.2)
      rack (>= 1.0.0)

GIT
  remote: git://github.com/josh/ruby-coffee-script.git
  revision: 200152667e00a1b744977a3a4750df510925cc6f
  specs:
    coffee-script (2.2.0)
      coffee-script-source
      execjs

GIT
  remote: git://github.com/lautis/uglifier.git
  revision: 76d5e3ca43e3042c67d4290609458623be7a4fff
  specs:
    uglifier (0.5.1)
      execjs
      multi_json

GIT
  remote: git://github.com/nex3/haml.git
  revision: 5f04bbda570a41acfb1d5d8ac971ae99c1ae7046
  specs:
    haml (3.2.0.alpha.0)

GIT
  remote: git://github.com/nex3/sass.git
  revision: a1ef2cddaee971d84d0e5e26329727ab0c7be884
  specs:
    sass (3.2.0.alpha.0)

GIT
  remote: git://github.com/rack/rack.git
  revision: c16729ddc2a0576818db2e8c20ca6550d9d2cdad
  specs:
    rack (1.3.0.beta)

GIT
  remote: git://github.com/rails/arel.git
  revision: a3d9c393b4707a03734dcf6831fb9636fabac045
  specs:
    arel (2.1.0.20110430172428)

GIT
  remote: git://github.com/rails/rails.git
  revision: b3791da0318eb68f14a2d8d7658cc882784e6f6a
  specs:
    actionmailer (3.1.0.beta1)
      actionpack (= 3.1.0.beta1)
      mail (~> 2.3.0)
    actionpack (3.1.0.beta1)
      activemodel (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      builder (~> 3.0.0)
      erubis (~> 2.7.0)
      i18n (~> 0.6.0beta1)
      rack (~> 1.3.0.beta)
      rack-cache (~> 1.0.1)
      rack-mount (~> 0.7.2)
      rack-test (~> 0.6.0)
      sprockets (~> 2.0.0.beta.2)
      tzinfo (~> 0.3.27)
    activemodel (3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      bcrypt-ruby (~> 2.1.4)
      builder (~> 3.0.0)
      i18n (~> 0.6.0beta1)
    activerecord (3.1.0.beta1)
      activemodel (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      arel (~> 2.1.0)
      tzinfo (~> 0.3.27)
    activeresource (3.1.0.beta1)
      activemodel (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
    activesupport (3.1.0.beta1)
      multi_json (~> 1.0)
    rails (3.1.0.beta1)
      actionmailer (= 3.1.0.beta1)
      actionpack (= 3.1.0.beta1)
      activerecord (= 3.1.0.beta1)
      activeresource (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      bundler (~> 1.0)
      railties (= 3.1.0.beta1)
    railties (3.1.0.beta1)
      actionpack (= 3.1.0.beta1)
      activesupport (= 3.1.0.beta1)
      rack-ssl (~> 1.3.2)
      rake (>= 0.8.7)
      thor (~> 0.14.6)

GIT
  remote: git://github.com/rtomayko/rack-cache.git
  revision: 85ee0c5b9cdde994e88e2c7b66c459b7bf736166
  specs:
    rack-cache (1.0.1)
      rack (>= 0.4)

GIT
  remote: git://github.com/rtomayko/tilt.git
  revision: b8e1cd20900f666d8127405be4a060e74274de8b
  specs:
    tilt (1.3)

GIT
  remote: git://github.com/sstephenson/sprockets.git
  revision: 61fa58655d4fa64fc6b5d8c617e3ec0bb92a5836
  specs:
    sprockets (2.0.0.beta.2)
      hike (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.0)

GIT
  remote: git://github.com/stefankroes/ancestry.git
  revision: 59d155e558dc3cd916f613bbe7f5a4f047981ed5
  specs:
    ancestry (1.2.3)
      activerecord (>= 2.2.2)

GIT
  remote: git://github.com/svenfuchs/i18n.git
  revision: 61138a5d8de4dfcec15e13a8f3e7f7c53ab8938a
  specs:
    i18n (0.6.0beta1)

GEM
  remote: http://rubygems.org/
  specs:
    RubyInline (3.9.0)
      ZenTest (~> 4.3)
    ZenTest (4.5.0)
    bcrypt-ruby (2.1.4)
    builder (3.0.0)
    coffee-script-source (1.1.0)
    erubis (2.7.0)
    execjs (0.3.3)
      multi_json (~> 1.0)
    hike (1.0.0)
    hpricot (0.8.4)
    htmlentities (4.3.0)
    image_science (1.2.1)
    kgio (2.4.0)
    mail (2.3.0)
      i18n (>= 0.4.0)
      mime-types (~> 1.16)
      treetop (~> 1.4.8)
    mime-types (1.16)
    multi_json (1.0.1)
    nokogiri (1.4.4)
    pg (0.11.0)
    polyglot (0.3.1)
    rack-ssl (1.3.2)
      rack
    rack-test (0.6.0)
      rack (>= 1.0)
    rake (0.8.7)
    ruby_parser (2.0.6)
      sexp_processor (~> 3.0)
    sexp_processor (3.0.5)
    thor (0.14.6)
    treetop (1.4.9)
      polyglot (>= 0.3.1)
    tzinfo (0.3.27)
    unicorn (3.6.2)
      kgio (~> 2.3)
      rack

PLATFORMS
  ruby

DEPENDENCIES
  RubyInline
  ancestry!
  arel!
  carrierwave!
  coffee-script!
  haml!
  haml-rails!
  hpricot
  htmlentities
  i18n!
  image_science
  jquery-rails!
  kaminari!
  nokogiri
  pg
  rack!
  rack-cache!
  rack-mount!
  rails!
  redis!
  ruby_parser
  sass!
  sprockets!
  tilt!
  uglifier!
  unicorn
@slbug

This comment has been minimized.

Show comment
Hide comment
@slbug

slbug May 8, 2011

Contributor

You can ignore RubyInline and image-science. Just added it, so it wont affect this issue.

Contributor

slbug commented May 8, 2011

You can ignore RubyInline and image-science. Just added it, so it wont affect this issue.

@Fonsan

This comment has been minimized.

Show comment
Hide comment
@Fonsan

Fonsan May 8, 2011

Contributor

Please use the https://gist.github.com/ feature when posting this much code

Contributor

Fonsan commented May 8, 2011

Please use the https://gist.github.com/ feature when posting this much code

@slbug

This comment has been minimized.

Show comment
Hide comment
@slbug

slbug May 8, 2011

Contributor

Sure, i will. Just thought that those code should be better here without opening new pages.

Contributor

slbug commented May 8, 2011

Sure, i will. Just thought that those code should be better here without opening new pages.

@josh

This comment has been minimized.

Show comment
Hide comment
@josh

josh May 8, 2011

Member

Please don't upgrade sprockets yet. Stick on the beta gem 2.0.0.beta.1.

Member

josh commented May 8, 2011

Please don't upgrade sprockets yet. Stick on the beta gem 2.0.0.beta.1.

@josh josh closed this May 8, 2011

@slbug

This comment has been minimized.

Show comment
Hide comment
@slbug

slbug May 8, 2011

Contributor

I did so, reported just fyi.

Contributor

slbug commented May 8, 2011

I did so, reported just fyi.

@mceachen

This comment has been minimized.

Show comment
Hide comment
@mceachen

mceachen May 17, 2011

Contributor

Just to save someone else the 2 minutes waiting for a bundle update sprockets that will fail, beta.2 is required by rails 3.1.0beta1. You want gem 'sprockets', '2.0.0.beta.2' in your Gemfile.

Contributor

mceachen commented May 17, 2011

Just to save someone else the 2 minutes waiting for a bundle update sprockets that will fail, beta.2 is required by rails 3.1.0beta1. You want gem 'sprockets', '2.0.0.beta.2' in your Gemfile.

@samgranieri

This comment has been minimized.

Show comment
Hide comment
@samgranieri

samgranieri May 18, 2011

Contributor

thanks @mceachen, this sprockets issue hit me too....

Contributor

samgranieri commented May 18, 2011

thanks @mceachen, this sprockets issue hit me too....

@ramza1

This comment has been minimized.

Show comment
Hide comment
@ramza1

ramza1 May 18, 2011

this also helped me alot

ramza1 commented May 18, 2011

this also helped me alot

@radosch

This comment has been minimized.

Show comment
Hide comment

radosch commented May 18, 2011

thanks

@ruseel

This comment has been minimized.

Show comment
Hide comment
@ruseel

ruseel May 18, 2011

thanks @mceachen, this issue hit me hard too.

ruseel commented May 18, 2011

thanks @mceachen, this issue hit me hard too.

@danbronsema

This comment has been minimized.

Show comment
Hide comment
@danbronsema

danbronsema May 18, 2011

Oh dear god - @mceachen thanks you so much for this!

Oh dear god - @mceachen thanks you so much for this!

@sudoash

This comment has been minimized.

Show comment
Hide comment

sudoash commented May 18, 2011

Thanks @mceachen.

@antoniorosado

This comment has been minimized.

Show comment
Hide comment
@antoniorosado

antoniorosado May 18, 2011

you saved my day. thanks @mceachen :)

you saved my day. thanks @mceachen :)

@nhance

This comment has been minimized.

Show comment
Hide comment
@nhance

nhance May 19, 2011

Thanks @mceachen, you saved me a bunch of time.

nhance commented May 19, 2011

Thanks @mceachen, you saved me a bunch of time.

@edison

This comment has been minimized.

Show comment
Hide comment
@edison

edison May 19, 2011

I have the same problem, but now sprockets is 2.0.0.beta.4.

I create a new app, then run bundle install, rails server, get this:

/Users/edison/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.0.beta1/lib/sprockets/railtie.rb:37: undefined methodcontext' for #Sprockets::Environment:0x103218780 (NoMethodError)`

Edit: Solved using 2.0.0.beta.2 on Gemfile.lock.

edison commented May 19, 2011

I have the same problem, but now sprockets is 2.0.0.beta.4.

I create a new app, then run bundle install, rails server, get this:

/Users/edison/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.0.beta1/lib/sprockets/railtie.rb:37: undefined methodcontext' for #Sprockets::Environment:0x103218780 (NoMethodError)`

Edit: Solved using 2.0.0.beta.2 on Gemfile.lock.

@fonzo14

This comment has been minimized.

Show comment
Hide comment
@fonzo14

fonzo14 May 19, 2011

same problem with sprockets 2.0.0.beta.4

Switch back to 2.0.0.beta.2 for solving it

fonzo14 commented May 19, 2011

same problem with sprockets 2.0.0.beta.4

Switch back to 2.0.0.beta.2 for solving it

@cyberbruce

This comment has been minimized.

Show comment
Hide comment
@cyberbruce

cyberbruce May 20, 2011

Thanks guys! Saved me time. sprockets 2.0.0.beta.2 worked like a charm.

Thanks guys! Saved me time. sprockets 2.0.0.beta.2 worked like a charm.

@alxgsv

This comment has been minimized.

Show comment
Hide comment
@alxgsv

alxgsv May 20, 2011

Confirmed.

sprockets 2.0.0.beta.2 working ok with rails 3.1.0.beta1

alxgsv commented May 20, 2011

Confirmed.

sprockets 2.0.0.beta.2 working ok with rails 3.1.0.beta1

@mceachen

This comment has been minimized.

Show comment
Hide comment
@mceachen

mceachen May 21, 2011

Contributor

@edison -- don't edit your Gemfile.lock -- your edit will get reverted next time you run bundle update.

Just add gem 'sprockets', '2.0.0.beta.2' to your Gemfile, then run bundle update sprockets.

FWIW, the issue with sprockets is here: https://github.com/sstephenson/sprockets/issues/47

Contributor

mceachen commented May 21, 2011

@edison -- don't edit your Gemfile.lock -- your edit will get reverted next time you run bundle update.

Just add gem 'sprockets', '2.0.0.beta.2' to your Gemfile, then run bundle update sprockets.

FWIW, the issue with sprockets is here: https://github.com/sstephenson/sprockets/issues/47

@edison

This comment has been minimized.

Show comment
Hide comment
@edison

edison May 21, 2011

@mceachen you are right, this is the best way. Thanks!

edison commented May 21, 2011

@mceachen you are right, this is the best way. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment