You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Marios Andreou (Commented) (JIRA)" <ji...@apache.org> on 2012/02/02 11:19:54 UTC
[jira] [Commented] (DTACLOUD-138) deltacloud load error
[ 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