Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

cant figure out how to install everything to contribute #39

@aj0strow

Description

@aj0strow

Hello,

I wanted to try out an idea for default associations, but I can't figure out how to get everything set up to the point where the existing test suite passes.

I forked the repo, and then ran:

$ ADAPTER=mysql bundle install
$ rake spec

And got:

/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/options.rb:188: Use RbConfig instead of obsolete and deprecated Config.
Profiling enabled.
...F.FF..***................*...FFFFFFFFFFFFFF.FF*FFF.FFFFFFFFFFFFFFFF.FF*FFF.FFFFFFFFFFFFFFFF.FF*FFF.FFF.......*******.....*.

With errors such as the following:

NoMethodError in 'DataMapper::Serializer#to_json should integrate with dm-validations'
undefined method `violations' for #<DataMapper::Validations::OrderedHash:0x000001021def18>
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/dm-validations-1.2.0/lib/dm-validations/validation_errors.rb:116:in `method_missing'
/Users/ajostrow/Documents/code/ruby-programs/dm-serializer/lib/dm-serializer/to_json.rb:72:in `to_json'
/Users/ajostrow/Documents/code/ruby-programs/dm-serializer/spec/spec_helper.rb:17:in `test'
spec/lib/serialization_method_shared_spec.rb:284:in `block (2 levels) in <top (required)>'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/example/example_methods.rb:40:in `block in execute'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/example/example_group_methods.rb:219:in `block in run_examples'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/example/example_group_methods.rb:217:in `each'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/example/example_group_methods.rb:217:in `run_examples'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:23:in `block in run'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/options.rb:153:in `run_examples'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-1.3.2/bin/spec:5:in `<main>'

I have a feeling things didn't get installed or included properly. Any suggestions? Would really love the opportunity to try and contribute.

Best, AJ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions