[
https://issues.apache.org/jira/browse/THRIFT-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Duxbury closed THRIFT-696.
--------------------------------
Resolution: Won't Fix
> require statements should reference from current directory
> ----------------------------------------------------------
>
> Key: THRIFT-696
> URL: https://issues.apache.org/jira/browse/THRIFT-696
> Project: Thrift
> Issue Type: Improvement
> Components: Ruby - Compiler
> Reporter: Paul Ingles
> Priority: Minor
> Attachments: rb_require_from_current_dir.patch
>
>
> Currently, require statements just use require 'some_constants' or
> 'some_types'. When you move the generated code into part of another project
> that is below the top-level directory the requires are no longer valid.
> I've patched the code to instead use the require as:
> File.join(File.dirname(__FILE__), 'some_constants'))
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.