sstephenson/sprockets — Issue #223: hike dependency
Author: chikamichi
Created: 2011-10-10 17:25:59+00:00
State: open

Hi. I have the following error when running some RSpec specs:

```
[~/stormz (myworkshops *$% u=)]$ rspec spec/controllers/items_controller_spec.rb
/home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/rack-1.3.4/lib/rack/backports/uri/common_192.rb:53: warning: already initialized constant WFKV_
/home/jd/.rvm/gems/ruby-1.9.2-p290@global/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require': no such file to load -- hike (LoadError)
from /home/jd/.rvm/gems/ruby-1.9.2-p290@global/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `block in require'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@global/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@global/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/sprockets-2.0.0/lib/sprockets/environment.rb:8:in `'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@global/gems/actionpack-3.1.0/lib/sprockets/railtie.rb:20:in `block in '
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `instance_exec'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `run'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/railties-3.1.0/lib/rails/initializable.rb:50:in `block in run_initializers'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/railties-3.1.0/lib/rails/initializable.rb:49:in `each'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/railties-3.1.0/lib/rails/initializable.rb:49:in `run_initializers'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/railties-3.1.0/lib/rails/application.rb:92:in `initialize!'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/jd/af83/ucengine-storm/config/environment.rb:5:in `'
from /home/jd/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/jd/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/jd/af83/ucengine-storm/spec/spec_helper.rb:7:in `block in '
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/spork-0.9.0.rc9/lib/spork.rb:24:in `prefork'
from /home/jd/af83/ucengine-storm/spec/spec_helper.rb:4:in `'
from /home/jd/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/jd/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/jd/af83/ucengine-storm/spec/controllers/items_controller_spec.rb:1:in `'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `block in load_spec_files'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `map'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load_spec_files'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:18:in `run'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'
from /home/jd/.rvm/gems/ruby-1.9.2-p290@ucengine-storm/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `block in autorun'
```

I added hike in my Rails's Gemfile and the spec runs fine. Is there any missing dependency on sprocket?