deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (JIRA)" <>
Subject [jira] [Created] (DTACLOUD-291) LoadError when running rake with bundler on Fedora 17
Date Wed, 01 Aug 2012 13:00:38 GMT
Ronelle Landy created DTACLOUD-291:

             Summary: LoadError when running rake with bundler on Fedora 17
                 Key: DTACLOUD-291
             Project: DeltaCloud
          Issue Type: Bug
          Components: Native/Frontend
         Environment: deltacloud commit version: 1ed49681482d64fb1578fc6ab6989e32d7cc8cc2
Fedora 17
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
            Reporter: Ronelle Landy

On Fedora 17, running any rake task with 'bundle' included in the Rakefile causes a LoadError
as shown below ...

    [root@nec-em6 server]# rake mock:features:reset
    rake aborted!
    There was a LoadError while evaluating deltacloud-core.gemspec:
      cannot load such file -- rake from
      /home/dcloud/workspace/deltacloud/server/deltacloud-core.gemspec:17:in `<main>'
    Does it try to require a relative path? That doesn't work in Ruby 1.9. 

Commenting out the following in the Rakefile fixes the problem:

    require "bundler"
    rescue LoadError
    $stderr.puts "Please install bundler with 'gem install bundler'"

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message