Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-293

Error when running client tests ('rake spec') on F17 (ruby 1.9.3)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Client (Ruby)
    • None
    • Fedora 17
      Ruby 1.9.3
      Deltacloud Version: f6cc95ebeba21fe8e182452b14639bf4dbbd753c

    Description

      Running 'rake spec' from the 'deltacloud/client' directory errors out:

      [root@nec-em6 deltacloud]# pwd
      /home/dcloud/workspace/deltacloud
      [root@nec-em6 deltacloud]# cd client

      [root@nec-em6 client]# rake spec
      /usr/bin/ruby -S rspec specs/images_spec.rb specs/storage_snapshot_spec.rb specs/keys_spec.rb specs/instance_states_spec.rb specs/instances_spec.rb specs/content_spec.rb specs/buckets_spec.rb specs/initialization_spec.rb specs/realms_spec.rb specs/storage_volume_spec.rb specs/hardware_profiles_spec.rb specs/errors_spec.rb --format nested --color
      /usr/share/rubygems/rubygems/custom_require.rb:36:in `require': cannot load such file – specs/spec_helper (LoadError)
      from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
      from /home/dcloud/workspace/deltacloud/client/specs/images_spec.rb:20:in `<top (required)>'
      from /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:780:in `load'
      from /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:780:in `block in load_spec_files'
      from /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:780:in `map'
      from /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:780:in `load_spec_files'
      from /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:22:in `run'
      from /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'
      from /usr/local/share/gems/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `block in autorun'
      rake aborted!
      /usr/bin/ruby -S rspec specs/images_spec.rb specs/storage_snapshot_spec.rb specs/keys_spec.rb specs/instance_states_spec.rb specs/instances_spec.rb specs/content_spec.rb specs/buckets_spec.rb specs/initialization_spec.rb specs/realms_spec.rb specs/storage_volume_spec.rb specs/hardware_profiles_spec.rb specs/errors_spec.rb --format nested --color failed

      Tasks: TOP => spec
      (See full trace by running task with --trace)
      [root@nec-em6 client]#

      [root@nec-em6 client]# ruby -v
      ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

      [root@nec-em6 client]# gem query |grep spec
      rspec (2.11.0)
      rspec-core (2.11.1)
      rspec-expectations (2.11.2)
      rspec-mocks (2.11.1)

      Attachments

        Activity

          People

            marios Marios Andreou
            rlandy Ronelle Landy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: