Skip to content
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

Require backports after rubygems so that ruby 1.8 finds it #73

Merged
merged 1 commit into from Feb 23, 2012

Conversation

fgrehm
Copy link
Contributor

@fgrehm fgrehm commented Feb 22, 2012

I had spec_helper.rb dirty since I started playing with Virtus code and ended up not pointing this out to you guys.

$ rake
/home/fabio/projetos/oss/virtus/spec/spec_helper.rb:1:in `require': no such file to load -- backports (LoadError)
    from /home/fabio/projetos/oss/virtus/spec/spec_helper.rb:1
    from ./spec/unit/virtus/value_object/class_methods/equalizer_spec.rb:1:in `require'
    from ./spec/unit/virtus/value_object/class_methods/equalizer_spec.rb:1
    from /home/fabio/.rvm/gems/ruby-1.8.7-p334@virtus/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:15:in `load'
    from /home/fabio/.rvm/gems/ruby-1.8.7-p334@virtus/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:15:in `load_files'
    from /home/fabio/.rvm/gems/ruby-1.8.7-p334@virtus/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:14:in `each'
    from /home/fabio/.rvm/gems/ruby-1.8.7-p334@virtus/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:14:in `load_files'
    from /home/fabio/.rvm/gems/ruby-1.8.7-p334@virtus/gems/rspec-1.3.2/lib/spec/runner/options.rb:134:in `run_examples'
    from /home/fabio/.rvm/gems/ruby-1.8.7-p334@virtus/gems/rspec-1.3.2/lib/spec/runner/command_line.rb:9:in `run'
    from /home/fabio/.rvm/gems/ruby-1.8.7-p334@virtus/gems/rspec-1.3.2/bin/spec:5
rake aborted!

dkubb added a commit that referenced this pull request Feb 23, 2012
Require backports after rubygems so that ruby 1.8 finds it
@dkubb dkubb merged commit 08c330b into solnic:master Feb 23, 2012
@dkubb
Copy link
Collaborator

dkubb commented Feb 23, 2012

Thanks! I think the main reason I never hit this is because I was using bundler. I hadn't tested what would happen if I used rake spec without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants