You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Darryl L. Pierce (JIRA)" <ji...@apache.org> on 2012/04/25 17:40:19 UTC

[jira] [Created] (QPID-3976) Added support to the Ruby Rakefile to locate the cqpid.so file.r

Darryl L. Pierce created QPID-3976:
--------------------------------------

             Summary: Added support to the Ruby Rakefile to locate the cqpid.so file.r
                 Key: QPID-3976
                 URL: https://issues.apache.org/jira/browse/QPID-3976
             Project: Qpid
          Issue Type: Improvement
          Components: Ruby Test Suite
            Reporter: Darryl L. Pierce
         Attachments: 0001-Allow-specifying-the-location-of-cqpid.so-for-Rake-t.patch

Discovered during Fedora packaging. When a native extension is not in the default Ruby library path then Rake fails to pass any additional specified paths to tests when run.

This patch fixes that by allowing for an environment variable, CQPID_PATH, to be specified that points to the directory containing this library file. If it's not specified then Rake will check the default directories (normal behavior). When working in development, or when being verified during an installation when the library is in some other arbitrary location, the variable can be defined and the Rakefile and Rspec tests can be run.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Closed] (QPID-3976) Added support to the Ruby Rakefile to locate the cqpid.so file.r

Posted by "Darryl L. Pierce (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce closed QPID-3976.
----------------------------------

    Resolution: Invalid

Withdrawing this issue since, in the case mentioned, a better solution was found.
                
> Added support to the Ruby Rakefile to locate the cqpid.so file.r
> ----------------------------------------------------------------
>
>                 Key: QPID-3976
>                 URL: https://issues.apache.org/jira/browse/QPID-3976
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Ruby Test Suite
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Allow-specifying-the-location-of-cqpid.so-for-Rake-t.patch
>
>
> Discovered during Fedora packaging. When a native extension is not in the default Ruby library path then Rake fails to pass any additional specified paths to tests when run.
> This patch fixes that by allowing for an environment variable, CQPID_PATH, to be specified that points to the directory containing this library file. If it's not specified then Rake will check the default directories (normal behavior). When working in development, or when being verified during an installation when the library is in some other arbitrary location, the variable can be defined and the Rakefile and Rspec tests can be run.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-3976) Added support to the Ruby Rakefile to locate the cqpid.so file.r

Posted by "Darryl L. Pierce (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce updated QPID-3976:
-----------------------------------

    Attachment: 0001-Allow-specifying-the-location-of-cqpid.so-for-Rake-t.patch
    
> Added support to the Ruby Rakefile to locate the cqpid.so file.r
> ----------------------------------------------------------------
>
>                 Key: QPID-3976
>                 URL: https://issues.apache.org/jira/browse/QPID-3976
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Ruby Test Suite
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Allow-specifying-the-location-of-cqpid.so-for-Rake-t.patch
>
>
> Discovered during Fedora packaging. When a native extension is not in the default Ruby library path then Rake fails to pass any additional specified paths to tests when run.
> This patch fixes that by allowing for an environment variable, CQPID_PATH, to be specified that points to the directory containing this library file. If it's not specified then Rake will check the default directories (normal behavior). When working in development, or when being verified during an installation when the library is in some other arbitrary location, the variable can be defined and the Rakefile and Rspec tests can be run.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-3976) Added support to the Ruby Rakefile to locate the cqpid.so file.r

Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated QPID-3976:
---------------------------------

    Labels: old_ruby_test_suite_component  (was: )
    
> Added support to the Ruby Rakefile to locate the cqpid.so file.r
> ----------------------------------------------------------------
>
>                 Key: QPID-3976
>                 URL: https://issues.apache.org/jira/browse/QPID-3976
>             Project: Qpid
>          Issue Type: Improvement
>            Reporter: Darryl L. Pierce
>              Labels: old_ruby_test_suite_component
>         Attachments: 0001-Allow-specifying-the-location-of-cqpid.so-for-Rake-t.patch
>
>
> Discovered during Fedora packaging. When a native extension is not in the default Ruby library path then Rake fails to pass any additional specified paths to tests when run.
> This patch fixes that by allowing for an environment variable, CQPID_PATH, to be specified that points to the directory containing this library file. If it's not specified then Rake will check the default directories (normal behavior). When working in development, or when being verified during an installation when the library is in some other arbitrary location, the variable can be defined and the Rakefile and Rspec tests can be run.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org