deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marios Andreou (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-138) deltacloud load error
Date Thu, 02 Feb 2012 10:19:54 GMT

    [ https://issues.apache.org/jira/browse/DTACLOUD-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198665#comment-13198665
] 

Marios Andreou commented on DTACLOUD-138:
-----------------------------------------

Hi Gugan, try putting 

require 'rubygems'

at the top of that test file. See http://docs.rubygems.org/read/chapter/3#page70 for more
info (or this http://tomayko.com/writings/require-rubygems-antipattern)

marios
                
> deltacloud load error
> ---------------------
>
>                 Key: DTACLOUD-138
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-138
>             Project: DeltaCloud
>          Issue Type: Bug
>            Reporter: Gugan
>            Assignee: Marios Andreou
>
> hai,
> I tried this code to access the deltacloud mock server. but it couldn't load deltacloud.
Deltacloud is installed.
> require 'deltacloud'
> api_url      = 'http://localhost:3001/api'
> api_name     = 'mockuser'
> api_password = 'mockpassword'
> client = DeltaCloud.new( api_name, api_password, api_url )
> $ ruby test.rb
> test.rb:1:in `require': no such file to load -- deltacloud (LoadError)
> 	from test.rb:1
> why it does not load deltacloud or whether I have run somewhere else?
> Gugan

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message