<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e4bb2-cede-7d27-91c3-3f99f6b6ec3c,g:6923998d-b75a-4b44-9a9b-f8c24caedd26-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://ringenery.com/role/CONDENSEDSTATEMENTOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="rei-20260630.xsd#CONDENSEDSTATEMENTOFSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/CONDENSEDSTATEMENTOFSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7e5e-8cbe-59ea8bcf12da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019e4bb2-d1b8-71ff-b1f0-9b8597a9fd87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7e5e-8cbe-59ea8bcf12da" xlink:to="loc_us-gaap_StatementTable_019e4bb2-d1b8-71ff-b1f0-9b8597a9fd87" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019e4bb2-d1b8-7878-bfdd-16bd36862da2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019e4bb2-d1b8-71ff-b1f0-9b8597a9fd87" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019e4bb2-d1b8-7878-bfdd-16bd36862da2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e4bb2-d1b8-7878-bfdd-16bd36862da2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e4bb2-d1b8-7878-bfdd-16bd36862da2" xlink:to="loc_us-gaap_EquityComponentDomain_019e4bb2-d1b8-7878-bfdd-16bd36862da2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e4bb2-d1b8-76b8-bc6e-83e5a53978d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e4bb2-d1b8-7878-bfdd-16bd36862da2" xlink:to="loc_us-gaap_EquityComponentDomain_019e4bb2-d1b8-76b8-bc6e-83e5a53978d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019e4bb2-d1b8-7300-ac00-5a1a32fbf058" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e4bb2-d1b8-76b8-bc6e-83e5a53978d6" xlink:to="loc_us-gaap_CommonStockMember_019e4bb2-d1b8-7300-ac00-5a1a32fbf058" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019e4bb2-d1b8-7712-afdc-30ec54bec017" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e4bb2-d1b8-76b8-bc6e-83e5a53978d6" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019e4bb2-d1b8-7712-afdc-30ec54bec017" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019e4bb2-d1b8-7b26-93a5-51d03fb8274c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e4bb2-d1b8-76b8-bc6e-83e5a53978d6" xlink:to="loc_us-gaap_RetainedEarningsMember_019e4bb2-d1b8-7b26-93a5-51d03fb8274c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7e5e-8cbe-59ea8bcf12da" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_019e4bb2-d1b8-7bcd-a5c0-b7f514495b1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_SharesOutstanding_019e4bb2-d1b8-7bcd-a5c0-b7f514495b1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e4bb2-d1b8-7ae3-aea2-1e44430984c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_StockholdersEquity_019e4bb2-d1b8-7ae3-aea2-1e44430984c7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_019e4bb2-d1b8-72c2-a2d8-3f5821928ceb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_019e4bb2-d1b8-72c2-a2d8-3f5821928ceb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_019e4bb2-d1b8-711c-8aa8-ba3bc7af572c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_019e4bb2-d1b8-711c-8aa8-ba3bc7af572c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ShareBasedPaymentArrangementSharesWithheldForTaxWithholdingObligationWithRestrictedStockVested_019e4bb2-d1b8-73a4-99a3-8c039cb97b85" xlink:href="rei-20260630.xsd#rei_ShareBasedPaymentArrangementSharesWithheldForTaxWithholdingObligationWithRestrictedStockVested"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_rei_ShareBasedPaymentArrangementSharesWithheldForTaxWithholdingObligationWithRestrictedStockVested_019e4bb2-d1b8-73a4-99a3-8c039cb97b85" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ShareBasedPaymentArrangementValueWithheldForTaxWithholdingObligationWithRestrictedStockVested_019e4bb2-d1b8-7c18-a238-91868dab5e41" xlink:href="rei-20260630.xsd#rei_ShareBasedPaymentArrangementValueWithheldForTaxWithholdingObligationWithRestrictedStockVested"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_rei_ShareBasedPaymentArrangementValueWithheldForTaxWithholdingObligationWithRestrictedStockVested_019e4bb2-d1b8-7c18-a238-91868dab5e41" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AdjustmentToAdditionalPaidInCapitalPaymentToCoverTaxWithholdingsIncomeTaxEffect_019e4bb2-d1b8-722f-b38f-6be96849859b" xlink:href="rei-20260630.xsd#rei_AdjustmentToAdditionalPaidInCapitalPaymentToCoverTaxWithholdingsIncomeTaxEffect"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_rei_AdjustmentToAdditionalPaidInCapitalPaymentToCoverTaxWithholdingsIncomeTaxEffect_019e4bb2-d1b8-722f-b38f-6be96849859b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_019e4bb2-d1b8-707a-af54-976456373121" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_019e4bb2-d1b8-707a-af54-976456373121" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e4bb2-d1b8-76ca-bb96-5ac551b17ad9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e4bb2-d1b8-76ca-bb96-5ac551b17ad9" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_019fa214-0d6e-773f-b371-d4528c459495" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_019fa214-0d6e-773f-b371-d4528c459495" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_019fa213-99cf-7ae6-b0bc-6e423e9d7763" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_019fa213-99cf-7ae6-b0bc-6e423e9d7763" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019e4bb2-d1b8-743f-9ae3-ca4d7e3372ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019e4bb2-d1b8-743f-9ae3-ca4d7e3372ca" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e4bb2-d1b8-7d78-a63e-86ede7a09715" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e4bb2-d1b8-7c1c-9631-01756cdbb940" xlink:to="loc_us-gaap_NetIncomeLoss_019e4bb2-d1b8-7d78-a63e-86ede7a09715" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_019e4bb2-d1b8-78be-8847-38b7d3b5fe59" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e4bb2-d1b8-7ab4-9de3-3629dc241d97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/CONDENSEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="rei-20260630.xsd#CONDENSEDSTATEMENTSOFCASHFLOWS"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/CONDENSEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019e4bb2-d1b8-7ca8-9d6e-b372aa5b1a58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:to="loc_us-gaap_StatementTable_019e4bb2-d1b8-7ca8-9d6e-b372aa5b1a58" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d1b8-7178-acf3-24056f7d6a50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019e4bb2-d1b8-7ca8-9d6e-b372aa5b1a58" xlink:to="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d1b8-7178-acf3-24056f7d6a50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d1b8-7178-acf3-24056f7d6a50_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d1b8-7178-acf3-24056f7d6a50" xlink:to="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d1b8-7178-acf3-24056f7d6a50_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d1b8-75ac-92a5-3ab6b72a05ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d1b8-7178-acf3-24056f7d6a50" xlink:to="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d1b8-75ac-92a5-3ab6b72a05ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_LimeRockAcquisitionMember_019e4bb2-d1b8-7113-bc0c-9bc0e09d1fb0" xlink:href="rei-20260630.xsd#rei_LimeRockAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d1b8-75ac-92a5-3ab6b72a05ba" xlink:to="loc_rei_LimeRockAcquisitionMember_019e4bb2-d1b8-7113-bc0c-9bc0e09d1fb0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-7a8f-a3fc-e79a9b427ca7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-7a8f-a3fc-e79a9b427ca7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e4bb2-d1b8-78b5-a499-ba10bfe661f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-7a8f-a3fc-e79a9b427ca7" xlink:to="loc_us-gaap_NetIncomeLoss_019e4bb2-d1b8-78b5-a499-ba10bfe661f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-7a8f-a3fc-e79a9b427ca7" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_019e4bb2-d1b8-797e-9538-776247739b6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_019e4bb2-d1b8-797e-9538-776247739b6a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse_019e4bb2-d1b8-7dea-a94d-d2a595427e5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfLongLivedAssetsHeldForUse"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse_019e4bb2-d1b8-7dea-a94d-d2a595427e5f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationAccretionExpense_019e4bb2-d1b8-7c05-bff4-277521713c11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationAccretionExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_AssetRetirementObligationAccretionExpense_019e4bb2-d1b8-7c05-bff4-277521713c11" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019e4bb2-d1b8-720f-a84a-02f1c259b296" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019e4bb2-d1b8-720f-a84a-02f1c259b296" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e4bb2-d1b8-7af6-958e-ff046e60b7c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_ShareBasedCompensation_019e4bb2-d1b8-7af6-958e-ff046e60b7c3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_019e4bb2-d1b8-70e6-9b36-688c05fd3f1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_019e4bb2-d1b8-70e6-9b36-688c05fd3f1e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_019e4bb2-d1b8-78e5-8e89-bc6e76fb0066" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_019e4bb2-d1b8-78e5-8e89-bc6e76fb0066" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_019e4bb2-d1b8-7495-ac23-b1d6452e7418" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_019e4bb2-d1b8-7495-ac23-b1d6452e7418" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ExcessTaxBenefitExpenseRelatedToShareBasedCompensation_019e4bb2-d1b8-77d8-94f6-3be0a667b613" xlink:href="rei-20260630.xsd#rei_ExcessTaxBenefitExpenseRelatedToShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_rei_ExcessTaxBenefitExpenseRelatedToShareBasedCompensation_019e4bb2-d1b8-77d8-94f6-3be0a667b613" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e4bb2-d1b8-7124-9012-386834ca588f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e4bb2-d1b8-7124-9012-386834ca588f" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CashReceivedPaidForDerivativeSettlementsNet_019e4bb2-d1b8-7d05-9252-613bc21f915f" xlink:href="rei-20260630.xsd#rei_CashReceivedPaidForDerivativeSettlementsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_rei_CashReceivedPaidForDerivativeSettlementsNet_019e4bb2-d1b8-7d05-9252-613bc21f915f" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_019e4bb2-d1b8-7aaa-89b4-31b40ce0c785" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-72ab-96ba-0281f140e523" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_019e4bb2-d1b8-7aaa-89b4-31b40ce0c785" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e4bb2-d1b8-7279-8a40-2ac66bdbe25c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_019e4bb2-d1b8-7aaa-89b4-31b40ce0c785" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e4bb2-d1b8-7279-8a40-2ac66bdbe25c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019e4bb2-d1b8-7aca-bbaa-c786f678042d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_019e4bb2-d1b8-7aaa-89b4-31b40ce0c785" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019e4bb2-d1b8-7aca-bbaa-c786f678042d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidExpense_019e4bb2-d1b8-7491-b955-7337131ec1ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPrepaidExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_019e4bb2-d1b8-7aaa-89b4-31b40ce0c785" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidExpense_019e4bb2-d1b8-7491-b955-7337131ec1ea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e4bb2-d1b8-7de3-a44e-e3cbb8251bd5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_019e4bb2-d1b8-7aaa-89b4-31b40ce0c785" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e4bb2-d1b8-7de3-a44e-e3cbb8251bd5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAssetRetirementObligations_019e4bb2-d1b8-7b43-aa98-2e1ef25e5193" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAssetRetirementObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_019e4bb2-d1b8-7aaa-89b4-31b40ce0c785" xlink:to="loc_us-gaap_IncreaseDecreaseInAssetRetirementObligations_019e4bb2-d1b8-7b43-aa98-2e1ef25e5193" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4bb2-d1b8-7dac-9542-43422738f412" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_019e4bb2-d1b8-7a8f-a3fc-e79a9b427ca7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e4bb2-d1b8-7dac-9542-43422738f412" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019e4bb2-d1b8-79a9-b60f-b72f46ce6363" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019e4bb2-d1b8-79a9-b60f-b72f46ce6363" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOilAndGasProperty_019e4bb2-d1b8-7e50-bb37-0fda10d1b913" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireOilAndGasProperty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:to="loc_us-gaap_PaymentsToAcquireOilAndGasProperty_019e4bb2-d1b8-7e50-bb37-0fda10d1b913" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToExploreAndDevelopOilAndGasProperties_019e4bb2-d1b8-76d9-9bf3-a7bdd2df2d6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToExploreAndDevelopOilAndGasProperties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:to="loc_us-gaap_PaymentsToExploreAndDevelopOilAndGasProperties_019e4bb2-d1b8-76d9-9bf3-a7bdd2df2d6d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMachineryAndEquipment_019e4bb2-d1b8-7e1a-9d1a-77c332461b03" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireMachineryAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:to="loc_us-gaap_PaymentsToAcquireMachineryAndEquipment_019e4bb2-d1b8-7e1a-9d1a-77c332461b03" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherProductiveAssets_019e4bb2-d1b8-7185-b961-710a0e0ebcd5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfOtherProductiveAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherProductiveAssets_019e4bb2-d1b8-7185-b961-710a0e0ebcd5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfOilAndGasPropertyAndEquipment_019e4bb2-d1b8-7326-9c1b-74d8c6eeea37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfOilAndGasPropertyAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:to="loc_us-gaap_ProceedsFromSaleOfOilAndGasPropertyAndEquipment_019e4bb2-d1b8-7326-9c1b-74d8c6eeea37" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromInsuranceSettlementInvestingActivities_019e80f9-25c9-7c69-87b8-7bbeee2463f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromInsuranceSettlementInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:to="loc_us-gaap_ProceedsFromInsuranceSettlementInvestingActivities_019e80f9-25c9-7c69-87b8-7bbeee2463f8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4bb2-d1b8-7d2d-adcd-d4442f315697" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_019e4bb2-d1b8-7ebc-aba0-bf835ec7bcce" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e4bb2-d1b8-7d2d-adcd-d4442f315697" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_019e4bb2-d1b8-7bbe-8fa2-ef0c0e4f5e2c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_019e4bb2-d1b8-7bbe-8fa2-ef0c0e4f5e2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_019e4bb2-d1b8-7ae5-bf44-eb7db4d84ac7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_019e4bb2-d1b8-7ae5-bf44-eb7db4d84ac7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019f6624-88f6-7bc6-b3d1-7147ca445b5b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019f6624-88f6-7bc6-b3d1-7147ca445b5b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019e4bb2-d1b8-7eb4-a75d-34df1d4375dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019e4bb2-d1b8-7eb4-a75d-34df1d4375dc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromNotesPayable_019e80f9-f2b8-7a0c-a164-e71384542b61" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromNotesPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:to="loc_us-gaap_ProceedsFromNotesPayable_019e80f9-f2b8-7a0c-a164-e71384542b61" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfNotesPayable_019e4bb2-d1b8-74cc-a3fb-833f4b67d3fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfNotesPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:to="loc_us-gaap_RepaymentsOfNotesPayable_019e4bb2-d1b8-74cc-a3fb-833f4b67d3fc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e4bb2-d1b8-71d5-8f72-39a88db2adc3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e4bb2-d1b8-71d5-8f72-39a88db2adc3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_019e4bb2-d1b8-7bc2-a3ff-442c31feffd3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_019e4bb2-d1b8-7bc2-a3ff-442c31feffd3" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4bb2-d1b8-7db4-8b85-60466be57cb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_019e4bb2-d1b8-7271-bd0d-d5331a107515" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e4bb2-d1b8-7db4-8b85-60466be57cb1" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e4bb2-d1b8-7742-a623-886c6d0b7115" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e4bb2-d1b8-7742-a623-886c6d0b7115" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e4bb2-d1b8-77cb-b794-07d179d3348a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e4bb2-d1b8-77cb-b794-07d179d3348a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e4bb2-d1b8-748b-810b-351c5408ae50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_019e4bb2-d1b8-7400-9054-ead9dd78dd89" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SupplementalCashFlowInformationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_019e4bb2-d1b8-7400-9054-ead9dd78dd89" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPaidNet_019e4bb2-d1b8-7b7d-905e-1232754207fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestPaidNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_019e4bb2-d1b8-7400-9054-ead9dd78dd89" xlink:to="loc_us-gaap_InterestPaidNet_019e4bb2-d1b8-7b7d-905e-1232754207fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019e4bb2-d1b8-7e9e-a7d7-484c3bebe845" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_019e4bb2-d1b8-7400-9054-ead9dd78dd89" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_019e4bb2-d1b8-7e9e-a7d7-484c3bebe845" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_019e4bb2-d1b8-72c9-a3d9-f3cda3681196" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:to="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_019e4bb2-d1b8-72c9-a3d9-f3cda3681196" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationPeriodIncreaseDecrease_019e4bb2-d1b8-780c-916f-6a3795990a9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_019e4bb2-d1b8-72c9-a3d9-f3cda3681196" xlink:to="loc_us-gaap_AssetRetirementObligationPeriodIncreaseDecrease_019e4bb2-d1b8-780c-916f-6a3795990a9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SettlementOfAssetRetirementObligationsThroughNoncashPaymentsAmount_019e4bb2-d1b8-7b6c-a435-3e3c4afb8a80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SettlementOfAssetRetirementObligationsThroughNoncashPaymentsAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_019e4bb2-d1b8-72c9-a3d9-f3cda3681196" xlink:to="loc_us-gaap_SettlementOfAssetRetirementObligationsThroughNoncashPaymentsAmount_019e4bb2-d1b8-7b6c-a435-3e3c4afb8a80" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationRevisionOfEstimate_019e4bb2-d1b8-70ef-9e43-aa49f4160312" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationRevisionOfEstimate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_019e4bb2-d1b8-72c9-a3d9-f3cda3681196" xlink:to="loc_us-gaap_AssetRetirementObligationRevisionOfEstimate_019e4bb2-d1b8-70ef-9e43-aa49f4160312" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetRetirementObligationLiabilitiesPropertiesSold_019e4bb2-d1b8-7a12-9e1e-0dd48c2f65b6" xlink:href="rei-20260630.xsd#rei_AssetRetirementObligationLiabilitiesPropertiesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_019e4bb2-d1b8-72c9-a3d9-f3cda3681196" xlink:to="loc_rei_AssetRetirementObligationLiabilitiesPropertiesSold_019e4bb2-d1b8-7a12-9e1e-0dd48c2f65b6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability_019e4bb2-d1b8-7568-9f05-99cb39efe492" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_019e4bb2-d1b8-72c9-a3d9-f3cda3681196" xlink:to="loc_us-gaap_RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability_019e4bb2-d1b8-7568-9f05-99cb39efe492" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CapitalExpendituresIncurredButNotYetPaid1_019e4bb2-d1b8-7f8b-b00b-90ba3adbb169" xlink:href="rei-20260630.xsd#rei_CapitalExpendituresIncurredButNotYetPaid1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_019e4bb2-d1b8-72c9-a3d9-f3cda3681196" xlink:to="loc_rei_CapitalExpendituresIncurredButNotYetPaid1_019e4bb2-d1b8-7f8b-b00b-90ba3adbb169" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OfferingCostsIncurredAndNotYetPaid_019fcc4e-4740-7f5d-82e1-e97f26eca286" xlink:href="rei-20260630.xsd#rei_OfferingCostsIncurredAndNotYetPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_019e4bb2-d1b8-72c9-a3d9-f3cda3681196" xlink:to="loc_rei_OfferingCostsIncurredAndNotYetPaid_019fcc4e-4740-7f5d-82e1-e97f26eca286" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalCashFlowElementsAbstract_019e4bb2-d1b8-7f93-8497-cabce49c6777" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SupplementalCashFlowElementsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e4bb2-d1b8-7367-9c1a-8cbabb2abac2" xlink:to="loc_us-gaap_SupplementalCashFlowElementsAbstract_019e4bb2-d1b8-7f93-8497-cabce49c6777" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d1b8-7f71-91a5-a6cdf7cb8bec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_019e4bb2-d1b8-7f93-8497-cabce49c6777" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d1b8-7f71-91a5-a6cdf7cb8bec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredByBank_019e4bb2-d1b8-7b90-839a-f2a7888298e8" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredByBank"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d1b8-7f71-91a5-a6cdf7cb8bec" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredByBank_019e4bb2-d1b8-7b90-839a-f2a7888298e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredDepositInEscrow_019e4bb2-d1b8-7d29-8088-eed8b8ea4d7a" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredDepositInEscrow"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d1b8-7f71-91a5-a6cdf7cb8bec" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredDepositInEscrow_019e4bb2-d1b8-7d29-8088-eed8b8ea4d7a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredDirectTransactionCosts_019e4bb2-d1b8-7bd1-8ef8-d54a03d73b91" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredDirectTransactionCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d1b8-7f71-91a5-a6cdf7cb8bec" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredDirectTransactionCosts_019e4bb2-d1b8-7bd1-8ef8-d54a03d73b91" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredCashPaidForFixedAssetsAcquired_019e4bb2-d1b8-7e3d-aa27-76990047b9d6" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredCashPaidForFixedAssetsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d1b8-7f71-91a5-a6cdf7cb8bec" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredCashPaidForFixedAssetsAcquired_019e4bb2-d1b8-7e3d-aa27-76990047b9d6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredTotal_019e4bb2-d1b8-7174-bfe5-b1de84ee96a6" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredTotal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d1b8-7f71-91a5-a6cdf7cb8bec" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredTotal_019e4bb2-d1b8-7174-bfe5-b1de84ee96a6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquiredAbstract_019e4bb2-d1b8-7aa3-8f1f-b009e3c12789" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquiredAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_019e4bb2-d1b8-7f93-8497-cabce49c6777" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquiredAbstract_019e4bb2-d1b8-7aa3-8f1f-b009e3c12789" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_SuspenseLiabilityPeriodIncreaseDecrease_019e4bb2-d1b8-7048-865c-b17564f3ce10" xlink:href="rei-20260630.xsd#rei_SuspenseLiabilityPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquiredAbstract_019e4bb2-d1b8-7aa3-8f1f-b009e3c12789" xlink:to="loc_rei_SuspenseLiabilityPeriodIncreaseDecrease_019e4bb2-d1b8-7048-865c-b17564f3ce10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_IncreaseDecreaseInAssetRetirementObligation_019e4bb2-d1b8-7bc3-ac7a-c03915336e8e" xlink:href="rei-20260630.xsd#rei_IncreaseDecreaseInAssetRetirementObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquiredAbstract_019e4bb2-d1b8-7aa3-8f1f-b009e3c12789" xlink:to="loc_rei_IncreaseDecreaseInAssetRetirementObligation_019e4bb2-d1b8-7bc3-ac7a-c03915336e8e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionDeferredCashPaymentFairValue_019e4bb2-d1b8-743f-8b44-b7c4d3704154" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionDeferredCashPaymentFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquiredAbstract_019e4bb2-d1b8-7aa3-8f1f-b009e3c12789" xlink:to="loc_rei_AssetAcquisitionDeferredCashPaymentFairValue_019e4bb2-d1b8-743f-8b44-b7c4d3704154" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_019e4bb2-d1b8-70b7-b52a-00113b212a9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_019e4bb2-d1b8-7f93-8497-cabce49c6777" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_019e4bb2-d1b8-70b7-b52a-00113b212a9f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_019e4bb2-d1b8-74a6-ae8b-5c0cd4c42160" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumedAbstract_019e4bb2-d1b8-70b7-b52a-00113b212a9f" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_019e4bb2-d1b8-74a6-ae8b-5c0cd4c42160" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofCorrectionofAnImmaterialErrorDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofCorrectionofAnImmaterialErrorDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofCorrectionofAnImmaterialErrorDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7fdf-a0cd-eaea696acb5e" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7ad5-a358-2dfdf85dd756" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7fdf-a0cd-eaea696acb5e" xlink:to="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7ad5-a358-2dfdf85dd756" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAxis_019e4bb2-d1b8-7d0d-99a5-b9a7acad3019" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7ad5-a358-2dfdf85dd756" xlink:to="loc_srt_RestatementAxis_019e4bb2-d1b8-7d0d-99a5-b9a7acad3019" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_019e4bb2-d1b8-7d0d-99a5-b9a7acad3019_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_019e4bb2-d1b8-7d0d-99a5-b9a7acad3019" xlink:to="loc_srt_RestatementDomain_019e4bb2-d1b8-7d0d-99a5-b9a7acad3019_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_019e4bb2-d1b8-78e1-88f7-fbaec008fa92" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_019e4bb2-d1b8-7d0d-99a5-b9a7acad3019" xlink:to="loc_srt_RestatementDomain_019e4bb2-d1b8-78e1-88f7-fbaec008fa92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RevisionOfPriorPeriodErrorCorrectionAdjustmentMember_019e4bb2-d1b8-7aa3-aa27-c6f1353fcc82" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RevisionOfPriorPeriodErrorCorrectionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_019e4bb2-d1b8-78e1-88f7-fbaec008fa92" xlink:to="loc_srt_RevisionOfPriorPeriodErrorCorrectionAdjustmentMember_019e4bb2-d1b8-7aa3-aa27-c6f1353fcc82" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4bb2-d1b8-7288-bbb4-aafe42066421" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7fdf-a0cd-eaea696acb5e" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e4bb2-d1b8-7288-bbb4-aafe42066421" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e4bb2-d1b8-7375-be32-c32ed8c739c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7fdf-a0cd-eaea696acb5e" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e4bb2-d1b8-7375-be32-c32ed8c739c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DeferredIncomeTaxes_019e4bb2-d1b8-7e73-ac0e-ffea4f16db6b" xlink:href="rei-20260630.xsd#rei_DeferredIncomeTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7fdf-a0cd-eaea696acb5e" xlink:to="loc_rei_DeferredIncomeTaxes_019e4bb2-d1b8-7e73-ac0e-ffea4f16db6b" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskandReceivablesDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskandReceivablesDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESConcentrationofCreditRiskandReceivablesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-73ae-895c-571080bfff97" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7fd6-8ca2-f77b7e93fc2b" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-73ae-895c-571080bfff97" xlink:to="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7fd6-8ca2-f77b7e93fc2b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_019e4bb2-d1b8-763f-8183-de0ec26e774f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7fd6-8ca2-f77b7e93fc2b" xlink:to="loc_srt_MajorCustomersAxis_019e4bb2-d1b8-763f-8183-de0ec26e774f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019e4bb2-d1b8-763f-8183-de0ec26e774f_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_019e4bb2-d1b8-763f-8183-de0ec26e774f" xlink:to="loc_srt_NameOfMajorCustomerDomain_019e4bb2-d1b8-763f-8183-de0ec26e774f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019e4bb2-d1b8-763b-8d42-db1999800eba" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_019e4bb2-d1b8-763f-8183-de0ec26e774f" xlink:to="loc_srt_NameOfMajorCustomerDomain_019e4bb2-d1b8-763b-8d42-db1999800eba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CustomerOneMember_019e4bb2-d1b8-78d8-ba4b-f0089213e1bb" xlink:href="rei-20260630.xsd#rei_CustomerOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019e4bb2-d1b8-763b-8d42-db1999800eba" xlink:to="loc_rei_CustomerOneMember_019e4bb2-d1b8-78d8-ba4b-f0089213e1bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CustomerTwoMember_019e4bb2-d1b8-7327-b08d-0c075905a530" xlink:href="rei-20260630.xsd#rei_CustomerTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019e4bb2-d1b8-763b-8d42-db1999800eba" xlink:to="loc_rei_CustomerTwoMember_019e4bb2-d1b8-7327-b08d-0c075905a530" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CustomerThreeMember_019e4bb2-d1b8-795a-8344-30e257a96cd2" xlink:href="rei-20260630.xsd#rei_CustomerThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019e4bb2-d1b8-763b-8d42-db1999800eba" xlink:to="loc_rei_CustomerThreeMember_019e4bb2-d1b8-795a-8344-30e257a96cd2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e4bb2-d1b8-76bb-9c71-ec99f684cf35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7fd6-8ca2-f77b7e93fc2b" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e4bb2-d1b8-76bb-9c71-ec99f684cf35" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d1b8-76bb-9c71-ec99f684cf35_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e4bb2-d1b8-76bb-9c71-ec99f684cf35" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d1b8-76bb-9c71-ec99f684cf35_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d1b8-7372-8409-a3b2000d9a26" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e4bb2-d1b8-76bb-9c71-ec99f684cf35" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d1b8-7372-8409-a3b2000d9a26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_019e4bb2-d1b8-7208-a4ec-73b29b6db62b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d1b8-7372-8409-a3b2000d9a26" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_019e4bb2-d1b8-7208-a4ec-73b29b6db62b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableMember_019e4bb2-d1b8-7eb7-a4f6-6315bd0415f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d1b8-7372-8409-a3b2000d9a26" xlink:to="loc_us-gaap_AccountsReceivableMember_019e4bb2-d1b8-7eb7-a4f6-6315bd0415f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019e4bb2-d1b8-7c27-b376-3b5d953a7a2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7fd6-8ca2-f77b7e93fc2b" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019e4bb2-d1b8-7c27-b376-3b5d953a7a2e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d1b8-7c27-b376-3b5d953a7a2e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019e4bb2-d1b8-7c27-b376-3b5d953a7a2e" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d1b8-7c27-b376-3b5d953a7a2e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d1b8-7baa-8f5f-eafc5342055e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019e4bb2-d1b8-7c27-b376-3b5d953a7a2e" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d1b8-7baa-8f5f-eafc5342055e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_019e4bb2-d1b8-7087-9c76-5a7a470ecc83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d1b8-7baa-8f5f-eafc5342055e" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_019e4bb2-d1b8-7087-9c76-5a7a470ecc83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueConcentrationOfRiskCashAndCashEquivalents_019e4bb2-d1b8-7db9-88a3-e33d854972c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueConcentrationOfRiskCashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-73ae-895c-571080bfff97" xlink:to="loc_us-gaap_FairValueConcentrationOfRiskCashAndCashEquivalents_019e4bb2-d1b8-7db9-88a3-e33d854972c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019e4bb2-d1b8-7fa8-990c-b75988c85022" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-73ae-895c-571080bfff97" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019e4bb2-d1b8-7fa8-990c-b75988c85022" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofAccountsNotesLoansandFinancingReceivableDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofAccountsNotesLoansandFinancingReceivableDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofAccountsNotesLoansandFinancingReceivableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019fb18a-aae1-7583-bbeb-7ecc0e0f5aad" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019fb18a-aae1-7d5b-856b-2e37a27562a4" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019fb18a-aae1-7583-bbeb-7ecc0e0f5aad" xlink:to="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019fb18a-aae1-7d5b-856b-2e37a27562a4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019fb18a-aae1-720e-ae14-ceb400659bba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019fb18a-aae1-7d5b-856b-2e37a27562a4" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019fb18a-aae1-720e-ae14-ceb400659bba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_019fb18a-aae1-720e-ae14-ceb400659bba_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019fb18a-aae1-720e-ae14-ceb400659bba" xlink:to="loc_us-gaap_ReceivableTypeDomain_019fb18a-aae1-720e-ae14-ceb400659bba_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_019fb18a-aae1-7419-acdd-defc97b6565c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019fb18a-aae1-720e-ae14-ceb400659bba" xlink:to="loc_us-gaap_ReceivableTypeDomain_019fb18a-aae1-7419-acdd-defc97b6565c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OilAndGasReceivablesMember_019fb18a-aae1-7fe4-830b-0d5e4427664a" xlink:href="rei-20260630.xsd#rei_OilAndGasReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_019fb18a-aae1-7419-acdd-defc97b6565c" xlink:to="loc_rei_OilAndGasReceivablesMember_019fb18a-aae1-7fe4-830b-0d5e4427664a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward_019e4bb2-d1b8-728d-aa43-155fbf3d8825" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019fb18a-aae1-7583-bbeb-7ecc0e0f5aad" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward_019e4bb2-d1b8-728d-aa43-155fbf3d8825" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e4bb2-d1b8-7935-bd78-2226f2dfe146" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward_019e4bb2-d1b8-728d-aa43-155fbf3d8825" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e4bb2-d1b8-7935-bd78-2226f2dfe146" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e4bb2-d1b8-75cf-b9ad-eb5b129e587f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofProvisionsforCreditLossExpenseDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofProvisionsforCreditLossExpenseDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofProvisionsforCreditLossExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019f6b56-0e40-7a2d-a505-8f4ab76ad96e" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019f6b56-0e40-7088-9b27-994005b8135c" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019f6b56-0e40-7a2d-a505-8f4ab76ad96e" xlink:to="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019f6b56-0e40-7088-9b27-994005b8135c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019f6b56-0e40-7c05-9595-c6cb17ed4e61" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019f6b56-0e40-7088-9b27-994005b8135c" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019f6b56-0e40-7c05-9595-c6cb17ed4e61" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_019f6b56-0e40-7c05-9595-c6cb17ed4e61_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019f6b56-0e40-7c05-9595-c6cb17ed4e61" xlink:to="loc_us-gaap_ReceivableTypeDomain_019f6b56-0e40-7c05-9595-c6cb17ed4e61_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_019f6b56-0e40-7292-a13b-e205626db7fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019f6b56-0e40-7c05-9595-c6cb17ed4e61" xlink:to="loc_us-gaap_ReceivableTypeDomain_019f6b56-0e40-7292-a13b-e205626db7fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OilAndGasReceivablesMember_019f6b56-0e40-78d2-a8c6-4d058dbe1424" xlink:href="rei-20260630.xsd#rei_OilAndGasReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_019f6b56-0e40-7292-a13b-e205626db7fc" xlink:to="loc_rei_OilAndGasReceivablesMember_019f6b56-0e40-78d2-a8c6-4d058dbe1424" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_JointInterestBillingReceivableMember_019fa223-49dd-782c-b177-096d02a7f7dc" xlink:href="rei-20260630.xsd#rei_JointInterestBillingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_019f6b56-0e40-7292-a13b-e205626db7fc" xlink:to="loc_rei_JointInterestBillingReceivableMember_019fa223-49dd-782c-b177-096d02a7f7dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_019f6b56-0e40-7557-ba8c-6d168c8349fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019f6b56-0e40-7a2d-a505-8f4ab76ad96e" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_019f6b56-0e40-7557-ba8c-6d168c8349fb" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofAccountsReceivablefromPurchasersofOilandGasDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofAccountsReceivablefromPurchasersofOilandGasDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofAccountsReceivablefromPurchasersofOilandGasDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019f6b54-c628-71d4-9e7c-611f11e177fe" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019f6b54-c628-7c6c-81fc-f0e2b7bcdc69" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019f6b54-c628-71d4-9e7c-611f11e177fe" xlink:to="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019f6b54-c628-7c6c-81fc-f0e2b7bcdc69" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019f6b54-c628-7e14-9834-380682ab58c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019f6b54-c628-7c6c-81fc-f0e2b7bcdc69" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019f6b54-c628-7e14-9834-380682ab58c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_019f6b54-c628-7e14-9834-380682ab58c7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019f6b54-c628-7e14-9834-380682ab58c7" xlink:to="loc_us-gaap_ReceivableTypeDomain_019f6b54-c628-7e14-9834-380682ab58c7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_019f6b54-c628-7f5c-9324-c1acd7e913e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_019f6b54-c628-7e14-9834-380682ab58c7" xlink:to="loc_us-gaap_ReceivableTypeDomain_019f6b54-c628-7f5c-9324-c1acd7e913e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OilAndGasReceivablesMember_019f6b54-c628-743a-8de2-1c62cf581a6c" xlink:href="rei-20260630.xsd#rei_OilAndGasReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_019f6b54-c628-7f5c-9324-c1acd7e913e2" xlink:to="loc_rei_OilAndGasReceivablesMember_019f6b54-c628-743a-8de2-1c62cf581a6c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_JointInterestBillingReceivableMember_019fa21f-a6f5-741f-b27d-907abc48ce16" xlink:href="rei-20260630.xsd#rei_JointInterestBillingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_019f6b54-c628-7f5c-9324-c1acd7e913e2" xlink:to="loc_rei_JointInterestBillingReceivableMember_019fa21f-a6f5-741f-b27d-907abc48ce16" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_019f6b54-c628-740e-a0cf-0cd0ae5f23e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019f6b54-c628-71d4-9e7c-611f11e177fe" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_019f6b54-c628-740e-a0cf-0cd0ae5f23e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_019f6b54-c628-705f-9f8b-44457d4b922e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019f6b54-c628-71d4-9e7c-611f11e177fe" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_019f6b54-c628-705f-9f8b-44457d4b922e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019f6b54-c628-7c17-95de-e0210fee0767" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019f6b54-c628-71d4-9e7c-611f11e177fe" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019f6b54-c628-7c17-95de-e0210fee0767" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofPropertyPlantandEquipmentEstimatedUsefulLivesDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofPropertyPlantandEquipmentEstimatedUsefulLivesDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofPropertyPlantandEquipmentEstimatedUsefulLivesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019e4bb2-d1b8-7483-bd4b-91e7717dcd9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019e4bb2-d1b8-7d30-a04b-3d5526c63701" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019e4bb2-d1b8-7483-bd4b-91e7717dcd9c" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019e4bb2-d1b8-7d30-a04b-3d5526c63701" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d1b8-766a-b509-aee65109269b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019e4bb2-d1b8-7d30-a04b-3d5526c63701" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d1b8-766a-b509-aee65109269b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-766a-b509-aee65109269b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d1b8-766a-b509-aee65109269b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-766a-b509-aee65109269b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-76a9-a717-dbfa7a93bf55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d1b8-766a-b509-aee65109269b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-76a9-a717-dbfa7a93bf55" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_019e4bb2-d1b8-7b89-8cdf-13bed60e8857" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-76a9-a717-dbfa7a93bf55" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_019e4bb2-d1b8-7b89-8cdf-13bed60e8857" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OfficeEquipmentMember_019e4bb2-d1b8-7130-9708-d0da71903c1a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-76a9-a717-dbfa7a93bf55" xlink:to="loc_us-gaap_OfficeEquipmentMember_019e4bb2-d1b8-7130-9708-d0da71903c1a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentMember_019e4bb2-d1b8-7b34-ae71-eff66e22b79d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-76a9-a717-dbfa7a93bf55" xlink:to="loc_us-gaap_EquipmentMember_019e4bb2-d1b8-7b34-ae71-eff66e22b79d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AutomobilesMember_019e4bb2-d1b8-7b23-ac18-a90e2d514b0d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AutomobilesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-76a9-a717-dbfa7a93bf55" xlink:to="loc_us-gaap_AutomobilesMember_019e4bb2-d1b8-7b23-ac18-a90e2d514b0d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingMember_019e4bb2-d1b8-75a1-9f00-c091247cea96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-76a9-a717-dbfa7a93bf55" xlink:to="loc_us-gaap_BuildingMember_019e4bb2-d1b8-75a1-9f00-c091247cea96" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_UnmannedAerialVehiclesMember_019e4bb2-d1b8-7001-94f8-e41eba7943f1" xlink:href="rei-20260630.xsd#rei_UnmannedAerialVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-76a9-a717-dbfa7a93bf55" xlink:to="loc_rei_UnmannedAerialVehiclesMember_019e4bb2-d1b8-7001-94f8-e41eba7943f1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e4bb2-d1b8-784c-bb02-d90d81de0fab" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019e4bb2-d1b8-7d30-a04b-3d5526c63701" xlink:to="loc_srt_RangeAxis_019e4bb2-d1b8-784c-bb02-d90d81de0fab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e4bb2-d1b8-784c-bb02-d90d81de0fab_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e4bb2-d1b8-784c-bb02-d90d81de0fab" xlink:to="loc_srt_RangeMember_019e4bb2-d1b8-784c-bb02-d90d81de0fab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e4bb2-d1b8-72de-9c65-f741f593ac66" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e4bb2-d1b8-784c-bb02-d90d81de0fab" xlink:to="loc_srt_RangeMember_019e4bb2-d1b8-72de-9c65-f741f593ac66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e4bb2-d1b8-7b13-b1f7-6ed4dbd3010e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e4bb2-d1b8-72de-9c65-f741f593ac66" xlink:to="loc_srt_MinimumMember_019e4bb2-d1b8-7b13-b1f7-6ed4dbd3010e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e4bb2-d1b8-70d5-9aa9-7df269ab6e23" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e4bb2-d1b8-72de-9c65-f741f593ac66" xlink:to="loc_srt_MaximumMember_019e4bb2-d1b8-70d5-9aa9-7df269ab6e23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019e4bb2-d1b8-7c99-8b25-a821532db7a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019e4bb2-d1b8-7483-bd4b-91e7717dcd9c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019e4bb2-d1b8-7c99-8b25-a821532db7a4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofGainLossOnDisposalofAssetsDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofGainLossOnDisposalofAssetsDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofGainLossOnDisposalofAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019e4bb2-d1b8-7eba-b0fc-8935a0e68200" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019e4bb2-d1b8-756c-8384-d4bc07da8e77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e4bb2-d1b8-7eba-b0fc-8935a0e68200" xlink:to="loc_us-gaap_DebtInstrumentTable_019e4bb2-d1b8-756c-8384-d4bc07da8e77" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d1b8-7e25-8418-5f6541395d0d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e4bb2-d1b8-756c-8384-d4bc07da8e77" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d1b8-7e25-8418-5f6541395d0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-7e25-8418-5f6541395d0d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d1b8-7e25-8418-5f6541395d0d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-7e25-8418-5f6541395d0d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-775d-8660-8c37d1efc163" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d1b8-7e25-8418-5f6541395d0d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-775d-8660-8c37d1efc163" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OwnedAndLeasedVehiclesMember_019e4bb2-d1b8-7e4f-8664-82a1a785f848" xlink:href="rei-20260630.xsd#rei_OwnedAndLeasedVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d1b8-775d-8660-8c37d1efc163" xlink:to="loc_rei_OwnedAndLeasedVehiclesMember_019e4bb2-d1b8-7e4f-8664-82a1a785f848" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OwnedVehiclesMember_019e4bb2-d1b8-7bab-93ee-27238bbc5ef1" xlink:href="rei-20260630.xsd#rei_OwnedVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OwnedAndLeasedVehiclesMember_019e4bb2-d1b8-7e4f-8664-82a1a785f848" xlink:to="loc_rei_OwnedVehiclesMember_019e4bb2-d1b8-7bab-93ee-27238bbc5ef1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_LeasedVehiclesMember_019e4bb2-d1b8-78c7-aafd-6ee967df4e5d" xlink:href="rei-20260630.xsd#rei_LeasedVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OwnedAndLeasedVehiclesMember_019e4bb2-d1b8-7e4f-8664-82a1a785f848" xlink:to="loc_rei_LeasedVehiclesMember_019e4bb2-d1b8-78c7-aafd-6ee967df4e5d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_019e4bb2-d1b8-7f25-80cb-5e6ebc1b39f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e4bb2-d1b8-7eba-b0fc-8935a0e68200" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_019e4bb2-d1b8-7f25-80cb-5e6ebc1b39f3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESNotesPayableDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESNotesPayableDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESNotesPayableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7c9a-be03-166a6e13966f" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-734e-bbcc-b275614b1539" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7c9a-be03-166a6e13966f" xlink:to="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-734e-bbcc-b275614b1539" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-7d9b-9e2e-538c75758bbe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-734e-bbcc-b275614b1539" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-7d9b-9e2e-538c75758bbe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-7d9b-9e2e-538c75758bbe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-7d9b-9e2e-538c75758bbe" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-7d9b-9e2e-538c75758bbe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-780a-a644-54330aa5005d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-7d9b-9e2e-538c75758bbe" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-780a-a644-54330aa5005d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_PromissoryNotesPayableMember_019e4bb2-d1b8-7096-8c0d-f6816c8ec872" xlink:href="rei-20260630.xsd#rei_PromissoryNotesPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-780a-a644-54330aa5005d" xlink:to="loc_rei_PromissoryNotesPayableMember_019e4bb2-d1b8-7096-8c0d-f6816c8ec872" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019e4bb2-d1b8-7839-b2a7-7191c9e5271a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7c9a-be03-166a6e13966f" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019e4bb2-d1b8-7839-b2a7-7191c9e5271a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e4bb2-d1b8-7379-9827-63b2a3a10ebe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7c9a-be03-166a6e13966f" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e4bb2-d1b8-7379-9827-63b2a3a10ebe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableCurrent_019e4bb2-d1b8-7b75-ab88-ec8c7a2ff555" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7c9a-be03-166a6e13966f" xlink:to="loc_us-gaap_NotesPayableCurrent_019e4bb2-d1b8-7b75-ab88-ec8c7a2ff555" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofWeightedAverageNotesPayableBalancesandInterestRateDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofWeightedAverageNotesPayableBalancesandInterestRateDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofWeightedAverageNotesPayableBalancesandInterestRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-790c-84e3-10bc8e272e8b" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-72de-9c2a-3d7c8df64ee9" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-790c-84e3-10bc8e272e8b" xlink:to="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-72de-9c2a-3d7c8df64ee9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-7108-9ee1-97c1926ba55a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-72de-9c2a-3d7c8df64ee9" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-7108-9ee1-97c1926ba55a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-7108-9ee1-97c1926ba55a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-7108-9ee1-97c1926ba55a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-7108-9ee1-97c1926ba55a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-7eee-b2af-3a6ae2092dff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-7108-9ee1-97c1926ba55a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-7eee-b2af-3a6ae2092dff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_PromissoryNotesPayableMember_019e4bb2-d1b8-7661-a956-5c5affa6fb9e" xlink:href="rei-20260630.xsd#rei_PromissoryNotesPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-7eee-b2af-3a6ae2092dff" xlink:to="loc_rei_PromissoryNotesPayableMember_019e4bb2-d1b8-7661-a956-5c5affa6fb9e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAverageAmountOutstanding_019e4bb2-d1b8-713f-bfca-3bc06e547d64" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAverageAmountOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-790c-84e3-10bc8e272e8b" xlink:to="loc_us-gaap_LongTermDebtAverageAmountOutstanding_019e4bb2-d1b8-713f-bfca-3bc06e547d64" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtWeightedAverageInterestRateOverTime_019e4bb2-d1b8-7d3f-9c4c-be3000c075a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtWeightedAverageInterestRateOverTime"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-790c-84e3-10bc8e272e8b" xlink:to="loc_us-gaap_LongTermDebtWeightedAverageInterestRateOverTime_019e4bb2-d1b8-7d3f-9c4c-be3000c075a1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofInterestPaidRelatedtoNotesPayableDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofInterestPaidRelatedtoNotesPayableDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofInterestPaidRelatedtoNotesPayableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019e4bb2-d1b8-7743-b793-df7f103ef3e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019e4bb2-d1b8-7347-9679-b2a9d45212eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e4bb2-d1b8-7743-b793-df7f103ef3e1" xlink:to="loc_us-gaap_DebtInstrumentTable_019e4bb2-d1b8-7347-9679-b2a9d45212eb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-72f9-9106-e5c8dc918f27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e4bb2-d1b8-7347-9679-b2a9d45212eb" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-72f9-9106-e5c8dc918f27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-72f9-9106-e5c8dc918f27_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-72f9-9106-e5c8dc918f27" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-72f9-9106-e5c8dc918f27_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-758a-af1f-8022a76650d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019e4bb2-d1b8-72f9-9106-e5c8dc918f27" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-758a-af1f-8022a76650d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_PromissoryNotesPayableMember_019e4bb2-d1b8-7895-b287-c4cf3b9eb616" xlink:href="rei-20260630.xsd#rei_PromissoryNotesPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019e4bb2-d1b8-758a-af1f-8022a76650d8" xlink:to="loc_rei_PromissoryNotesPayableMember_019e4bb2-d1b8-7895-b287-c4cf3b9eb616" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_019e4bb2-d1b8-7e1e-a987-c37577c15aac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e4bb2-d1b8-7743-b793-df7f103ef3e1" xlink:to="loc_us-gaap_InterestExpense_019e4bb2-d1b8-7e1e-a987-c37577c15aac" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESIncomeTaxesDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESIncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7ee6-84ae-4a500a0b6209" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-78c0-9c77-4133335f1a88" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7ee6-84ae-4a500a0b6209" xlink:to="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-78c0-9c77-4133335f1a88" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_019e4bb2-d1b8-768a-9054-c09a7c131c18" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-78c0-9c77-4133335f1a88" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_019e4bb2-d1b8-768a-9054-c09a7c131c18" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-768a-9054-c09a7c131c18_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_019e4bb2-d1b8-768a-9054-c09a7c131c18" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-768a-9054-c09a7c131c18_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7bea-a971-05ad5b1b50fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_019e4bb2-d1b8-768a-9054-c09a7c131c18" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7bea-a971-05ad5b1b50fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_019e4bb2-d1b8-7e0d-b6e1-afbad90d8c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7bea-a971-05ad5b1b50fc" xlink:to="loc_us-gaap_DomesticCountryMember_019e4bb2-d1b8-7e0d-b6e1-afbad90d8c8c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_019e4bb2-d1b8-7f4c-91f2-d9f8e72cae78" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7bea-a971-05ad5b1b50fc" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_019e4bb2-d1b8-7f4c-91f2-d9f8e72cae78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019e4bb2-d1b8-76bc-92e7-767b1a4808f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-7ee6-84ae-4a500a0b6209" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019e4bb2-d1b8-76bc-92e7-767b1a4808f1" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofComponentsofIncomeTaxBenefitsProvisionsDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofComponentsofIncomeTaxBenefitsProvisionsDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/BASISOFPRESENTATIONANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofComponentsofIncomeTaxBenefitsProvisionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-76fc-99ab-5b72c44b5b81" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7ec5-a6cb-9b1f8da6b24f" xlink:href="rei-20260630.xsd#rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-76fc-99ab-5b72c44b5b81" xlink:to="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7ec5-a6cb-9b1f8da6b24f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_019e4bb2-d1b8-7d4d-bb61-e4a89bb68169" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesTable_019e4bb2-d1b8-7ec5-a6cb-9b1f8da6b24f" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_019e4bb2-d1b8-7d4d-bb61-e4a89bb68169" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7d4d-bb61-e4a89bb68169_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_019e4bb2-d1b8-7d4d-bb61-e4a89bb68169" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7d4d-bb61-e4a89bb68169_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7972-a2a0-aec11df088e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_019e4bb2-d1b8-7d4d-bb61-e4a89bb68169" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7972-a2a0-aec11df088e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_019e4bb2-d1b8-77e5-9d01-1d8ab0ff22bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7972-a2a0-aec11df088e4" xlink:to="loc_us-gaap_DomesticCountryMember_019e4bb2-d1b8-77e5-9d01-1d8ab0ff22bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_019e4bb2-d1b8-7737-af23-4a6fe73f743b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_019e4bb2-d1b8-7972-a2a0-aec11df088e4" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_019e4bb2-d1b8-7737-af23-4a6fe73f743b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019e4bb2-d1b8-783d-86e5-ac213f201d75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-76fc-99ab-5b72c44b5b81" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019e4bb2-d1b8-783d-86e5-ac213f201d75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019e4bb2-d1b8-72c4-b45b-a2ff7907e9a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-76fc-99ab-5b72c44b5b81" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019e4bb2-d1b8-72c4-b45b-a2ff7907e9a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019e4bb2-d1b8-77a7-a86c-82fdd1262ff6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-76fc-99ab-5b72c44b5b81" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019e4bb2-d1b8-77a7-a86c-82fdd1262ff6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e4bb2-d1b8-760a-a9b2-3babac908b64" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-76fc-99ab-5b72c44b5b81" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e4bb2-d1b8-760a-a9b2-3babac908b64" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e4bb2-d1b8-70ec-8a3b-3a1bd5dd9178" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-76fc-99ab-5b72c44b5b81" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e4bb2-d1b8-70ec-8a3b-3a1bd5dd9178" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019e4bb2-d1b8-7ce4-bbd8-08a5a3eba377" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OrganizationAndSummaryOfSignificantAccountingPoliciesLineItems_019e4bb2-d1b8-76fc-99ab-5b72c44b5b81" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019e4bb2-d1b8-7ce4-bbd8-08a5a3eba377" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/REVENUERECOGNITIONNarrativeDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#REVENUERECOGNITIONNarrativeDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/REVENUERECOGNITIONNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019e4bb2-d1b8-7b72-9215-87cef0ac0ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019e4bb2-d1b8-7946-91d8-d271cd0d1400" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019e4bb2-d1b8-7b72-9215-87cef0ac0ae9" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019e4bb2-d1b8-7946-91d8-d271cd0d1400" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_019e4bb2-d1b8-7c5c-8395-c7004bc6797a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019e4bb2-d1b8-7946-91d8-d271cd0d1400" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_019e4bb2-d1b8-7c5c-8395-c7004bc6797a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e4bb2-d1b8-717b-9244-a9ddce75ab2a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019e4bb2-d1b8-7946-91d8-d271cd0d1400" xlink:to="loc_srt_RangeAxis_019e4bb2-d1b8-717b-9244-a9ddce75ab2a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e4bb2-d1b8-717b-9244-a9ddce75ab2a_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e4bb2-d1b8-717b-9244-a9ddce75ab2a" xlink:to="loc_srt_RangeMember_019e4bb2-d1b8-717b-9244-a9ddce75ab2a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e4bb2-d1b8-723e-a56a-25b8372320e9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e4bb2-d1b8-717b-9244-a9ddce75ab2a" xlink:to="loc_srt_RangeMember_019e4bb2-d1b8-723e-a56a-25b8372320e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e4bb2-d1b8-74f5-8434-bc7632d6aa95" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e4bb2-d1b8-723e-a56a-25b8372320e9" xlink:to="loc_srt_MinimumMember_019e4bb2-d1b8-74f5-8434-bc7632d6aa95" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e4bb2-d1b8-7f93-abc2-3438a748c446" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e4bb2-d1b8-723e-a56a-25b8372320e9" xlink:to="loc_srt_MaximumMember_019e4bb2-d1b8-7f93-abc2-3438a748c446" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms_019e4bb2-d1b8-78b9-9e57-4cdab1c609e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019e4bb2-d1b8-7b72-9215-87cef0ac0ae9" xlink:to="loc_us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms_019e4bb2-d1b8-78b9-9e57-4cdab1c609e0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/REVENUERECOGNITIONNarrativeDetails_1" xlink:type="simple" xlink:href="rei-20260630.xsd#REVENUERECOGNITIONNarrativeDetails_1"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/REVENUERECOGNITIONNarrativeDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019e4bb2-d1b8-7b72-9215-87cef0ac0ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019e4bb2-d1b8-7946-91d8-d271cd0d1400" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019e4bb2-d1b8-7b72-9215-87cef0ac0ae9" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019e4bb2-d1b8-7946-91d8-d271cd0d1400" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e4bb2-d1b8-717b-9244-a9ddce75ab2a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019e4bb2-d1b8-7946-91d8-d271cd0d1400" xlink:to="loc_srt_RangeAxis_019e4bb2-d1b8-717b-9244-a9ddce75ab2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e4bb2-d1b8-717b-9244-a9ddce75ab2a_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e4bb2-d1b8-717b-9244-a9ddce75ab2a" xlink:to="loc_srt_RangeMember_019e4bb2-d1b8-717b-9244-a9ddce75ab2a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e4bb2-d1b8-723e-a56a-25b8372320e9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e4bb2-d1b8-717b-9244-a9ddce75ab2a" xlink:to="loc_srt_RangeMember_019e4bb2-d1b8-723e-a56a-25b8372320e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e4bb2-d1b8-74f5-8434-bc7632d6aa95" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e4bb2-d1b8-723e-a56a-25b8372320e9" xlink:to="loc_srt_MinimumMember_019e4bb2-d1b8-74f5-8434-bc7632d6aa95" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e4bb2-d1b8-7f93-abc2-3438a748c446" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e4bb2-d1b8-723e-a56a-25b8372320e9" xlink:to="loc_srt_MaximumMember_019e4bb2-d1b8-7f93-abc2-3438a748c446" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms_019e4bb2-d1b8-78b9-9e57-4cdab1c609e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019e4bb2-d1b8-7b72-9215-87cef0ac0ae9" xlink:to="loc_us-gaap_RevenuePerformanceObligationDescriptionOfPaymentTerms_019e4bb2-d1b8-78b9-9e57-4cdab1c609e0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/LEASESNarrativeDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#LEASESNarrativeDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/LEASESNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e4bb2-d1b8-7220-ac40-24095bfaa54e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_019e4bb2-d1b8-783b-9c1e-88f970b809c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e4bb2-d1b8-7220-ac40-24095bfaa54e" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_019e4bb2-d1b8-783b-9c1e-88f970b809c1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermAxis_019e4bb2-d1b8-7cb7-a3b8-d226d33383d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseContractualTermAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_019e4bb2-d1b8-783b-9c1e-88f970b809c1" xlink:to="loc_us-gaap_LeaseContractualTermAxis_019e4bb2-d1b8-7cb7-a3b8-d226d33383d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermDomain_019e4bb2-d1b8-7cb7-a3b8-d226d33383d5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseContractualTermDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseContractualTermAxis_019e4bb2-d1b8-7cb7-a3b8-d226d33383d5" xlink:to="loc_us-gaap_LeaseContractualTermDomain_019e4bb2-d1b8-7cb7-a3b8-d226d33383d5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermDomain_019e4bb2-d1b8-737e-957e-3ff66de50a75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseContractualTermDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseContractualTermAxis_019e4bb2-d1b8-7cb7-a3b8-d226d33383d5" xlink:to="loc_us-gaap_LeaseContractualTermDomain_019e4bb2-d1b8-737e-957e-3ff66de50a75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AmendedMidlandOfficeLeaseMember_019e4bb2-d1b8-7682-9ab1-a683b761d342" xlink:href="rei-20260630.xsd#rei_AmendedMidlandOfficeLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseContractualTermDomain_019e4bb2-d1b8-737e-957e-3ff66de50a75" xlink:to="loc_rei_AmendedMidlandOfficeLeaseMember_019e4bb2-d1b8-7682-9ab1-a683b761d342" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_WoodlandsOfficeLeaseMember_019e4bb2-d1b8-7f86-8e27-827d4fc16337" xlink:href="rei-20260630.xsd#rei_WoodlandsOfficeLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseContractualTermDomain_019e4bb2-d1b8-737e-957e-3ff66de50a75" xlink:to="loc_rei_WoodlandsOfficeLeaseMember_019e4bb2-d1b8-7f86-8e27-827d4fc16337" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_019e4bb2-d1b8-72af-bf6d-4f3839ae4ea6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e4bb2-d1b8-7220-ac40-24095bfaa54e" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_019e4bb2-d1b8-72af-bf6d-4f3839ae4ea6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeFinanceLeaseTermOfContract1_019e4bb2-d1b8-7678-8fe0-d03dc7f97e56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeFinanceLeaseTermOfContract1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e4bb2-d1b8-7220-ac40-24095bfaa54e" xlink:to="loc_us-gaap_LesseeFinanceLeaseTermOfContract1_019e4bb2-d1b8-7678-8fe0-d03dc7f97e56" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/LEASESScheduleofGainLossonDisposalofAssetsDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#LEASESScheduleofGainLossonDisposalofAssetsDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/LEASESScheduleofGainLossonDisposalofAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e4bb2-d27f-73de-bf61-c38c11dce56a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_019e4bb2-d27f-76f5-bc8b-21f5dc58ca52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e4bb2-d27f-73de-bf61-c38c11dce56a" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_019e4bb2-d27f-76f5-bc8b-21f5dc58ca52" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d27f-70aa-a413-acd696f131c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_019e4bb2-d27f-76f5-bc8b-21f5dc58ca52" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d27f-70aa-a413-acd696f131c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d27f-70aa-a413-acd696f131c2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d27f-70aa-a413-acd696f131c2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d27f-70aa-a413-acd696f131c2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d27f-70a3-9490-b4bb9c81489c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019e4bb2-d27f-70aa-a413-acd696f131c2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d27f-70a3-9490-b4bb9c81489c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OwnedAndLeasedVehiclesMember_019e4bb2-d27f-7381-8bdb-464946c7bd38" xlink:href="rei-20260630.xsd#rei_OwnedAndLeasedVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019e4bb2-d27f-70a3-9490-b4bb9c81489c" xlink:to="loc_rei_OwnedAndLeasedVehiclesMember_019e4bb2-d27f-7381-8bdb-464946c7bd38" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OwnedVehiclesMember_019e4bb2-d27f-76d1-9d77-21332931c4a6" xlink:href="rei-20260630.xsd#rei_OwnedVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OwnedAndLeasedVehiclesMember_019e4bb2-d27f-7381-8bdb-464946c7bd38" xlink:to="loc_rei_OwnedVehiclesMember_019e4bb2-d27f-76d1-9d77-21332931c4a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_LeasedVehiclesMember_019e4bb2-d27f-70d3-a4f3-1c05f05021fd" xlink:href="rei-20260630.xsd#rei_LeasedVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_OwnedAndLeasedVehiclesMember_019e4bb2-d27f-7381-8bdb-464946c7bd38" xlink:to="loc_rei_LeasedVehiclesMember_019e4bb2-d27f-70d3-a4f3-1c05f05021fd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_019e4bb2-d27f-7628-949d-0f4b35e1814e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019e4bb2-d27f-73de-bf61-c38c11dce56a" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_019e4bb2-d27f-7628-949d-0f4b35e1814e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/EARNINGSLOSSPERSHAREINFORMATIONScheduleofCalculationofBasicandDilutedEarningsLossPerShareDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#EARNINGSLOSSPERSHAREINFORMATIONScheduleofCalculationofBasicandDilutedEarningsLossPerShareDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/EARNINGSLOSSPERSHAREINFORMATIONScheduleofCalculationofBasicandDilutedEarningsLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e4bb2-d27f-703d-b2ae-7639fc41ce88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e4bb2-d27f-7e35-afc8-b6f3465ddfdd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e4bb2-d27f-703d-b2ae-7639fc41ce88" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e4bb2-d27f-7e35-afc8-b6f3465ddfdd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_019e4bb2-d27f-7505-a264-716e57c2f7e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OptionIndexedToIssuersEquityTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e4bb2-d27f-7e35-afc8-b6f3465ddfdd" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_019e4bb2-d27f-7505-a264-716e57c2f7e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7505-a264-716e57c2f7e4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_019e4bb2-d27f-7505-a264-716e57c2f7e4" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7505-a264-716e57c2f7e4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7ed9-a928-de9c9a15c0c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_019e4bb2-d27f-7505-a264-716e57c2f7e4" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7ed9-a928-de9c9a15c0c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019e4bb2-d27f-75da-98bc-09e85ee91010" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7ed9-a928-de9c9a15c0c8" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019e4bb2-d27f-75da-98bc-09e85ee91010" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7b59-b8dd-6ae2726894e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e4bb2-d27f-7e35-afc8-b6f3465ddfdd" xlink:to="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7b59-b8dd-6ae2726894e7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7b59-b8dd-6ae2726894e7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7b59-b8dd-6ae2726894e7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7b59-b8dd-6ae2726894e7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7e0b-921e-84bb099ec1c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7b59-b8dd-6ae2726894e7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7e0b-921e-84bb099ec1c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e4bb2-d27f-726a-9a44-02f2d42f0561" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7e0b-921e-84bb099ec1c6" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e4bb2-d27f-726a-9a44-02f2d42f0561" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_PerformanceStockUnitsMember_019e4bb2-d27f-72a1-bf5c-0f4953e51b3f" xlink:href="rei-20260630.xsd#rei_PerformanceStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7e0b-921e-84bb099ec1c6" xlink:to="loc_rei_PerformanceStockUnitsMember_019e4bb2-d27f-72a1-bf5c-0f4953e51b3f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_019e4bb2-d27f-79e2-87df-3c9c5f9c7f69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfWarrantOrRightAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e4bb2-d27f-7e35-afc8-b6f3465ddfdd" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_019e4bb2-d27f-79e2-87df-3c9c5f9c7f69" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-79e2-87df-3c9c5f9c7f69_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_019e4bb2-d27f-79e2-87df-3c9c5f9c7f69" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-79e2-87df-3c9c5f9c7f69_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-7da2-9825-429e1f756a1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_019e4bb2-d27f-79e2-87df-3c9c5f9c7f69" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-7da2-9825-429e1f756a1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CommonWarrantsMember_019e4bb2-d27f-7915-be97-a19a7731462e" xlink:href="rei-20260630.xsd#rei_CommonWarrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-7da2-9825-429e1f756a1b" xlink:to="loc_rei_CommonWarrantsMember_019e4bb2-d27f-7915-be97-a19a7731462e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e4bb2-d27f-72ba-8d80-490c25702dc8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e4bb2-d27f-703d-b2ae-7639fc41ce88" xlink:to="loc_us-gaap_NetIncomeLoss_019e4bb2-d27f-72ba-8d80-490c25702dc8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e4bb2-d27f-78cb-9018-2433db09d8bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e4bb2-d27f-703d-b2ae-7639fc41ce88" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e4bb2-d27f-78cb-9018-2433db09d8bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDilutedAbstract_019e4bb2-d27f-7d72-916b-2b6870784375" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareDilutedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e4bb2-d27f-703d-b2ae-7639fc41ce88" xlink:to="loc_us-gaap_EarningsPerShareDilutedAbstract_019e4bb2-d27f-7d72-916b-2b6870784375" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019e4bb2-d27f-76cb-a5e6-bf723e56bae1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_019e4bb2-d27f-7d72-916b-2b6870784375" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019e4bb2-d27f-76cb-a5e6-bf723e56bae1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e4bb2-d27f-7eaf-aebc-d80228d44253" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_019e4bb2-d27f-7d72-916b-2b6870784375" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e4bb2-d27f-7eaf-aebc-d80228d44253" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_019e4bb2-d27f-7537-903f-820ba7e1fd0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_019e4bb2-d27f-7d72-916b-2b6870784375" xlink:to="loc_us-gaap_EarningsPerShareBasic_019e4bb2-d27f-7537-903f-820ba7e1fd0e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_019e4bb2-d27f-71ea-8327-d80cc7f5fc76" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_019e4bb2-d27f-7d72-916b-2b6870784375" xlink:to="loc_us-gaap_EarningsPerShareDiluted_019e4bb2-d27f-71ea-8327-d80cc7f5fc76" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/EARNINGSLOSSPERSHAREINFORMATIONScheduleofSecuritiesExcludedfromComputationofEarningsLossPerShareDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#EARNINGSLOSSPERSHAREINFORMATIONScheduleofSecuritiesExcludedfromComputationofEarningsLossPerShareDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/EARNINGSLOSSPERSHAREINFORMATIONScheduleofSecuritiesExcludedfromComputationofEarningsLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e4bb2-d27f-79bb-b09a-9b3d15e79bf5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e4bb2-d27f-71f6-b71b-6810c6e33fae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e4bb2-d27f-79bb-b09a-9b3d15e79bf5" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e4bb2-d27f-71f6-b71b-6810c6e33fae" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019e4bb2-d27f-736d-973c-18cda3b78d0b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e4bb2-d27f-71f6-b71b-6810c6e33fae" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019e4bb2-d27f-736d-973c-18cda3b78d0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e4bb2-d27f-736d-973c-18cda3b78d0b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e4bb2-d27f-736d-973c-18cda3b78d0b" xlink:to="loc_us-gaap_EquityComponentDomain_019e4bb2-d27f-736d-973c-18cda3b78d0b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e4bb2-d27f-7366-8d05-840acfe5bac0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e4bb2-d27f-736d-973c-18cda3b78d0b" xlink:to="loc_us-gaap_EquityComponentDomain_019e4bb2-d27f-7366-8d05-840acfe5bac0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019e4bb2-d27f-744c-a55d-f1a8a016c3a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e4bb2-d27f-7366-8d05-840acfe5bac0" xlink:to="loc_us-gaap_CommonStockMember_019e4bb2-d27f-744c-a55d-f1a8a016c3a3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-72c8-971b-84694234cc34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e4bb2-d27f-71f6-b71b-6810c6e33fae" xlink:to="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-72c8-971b-84694234cc34" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-72c8-971b-84694234cc34_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-72c8-971b-84694234cc34" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-72c8-971b-84694234cc34_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7471-b8db-883ec362ed34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-72c8-971b-84694234cc34" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7471-b8db-883ec362ed34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e4bb2-d27f-7039-a36f-9cc80ed5a32e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7471-b8db-883ec362ed34" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e4bb2-d27f-7039-a36f-9cc80ed5a32e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-723a-9c8f-86105d9c9d29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7471-b8db-883ec362ed34" xlink:to="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-723a-9c8f-86105d9c9d29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019e4bb2-d27f-75a5-b220-1d7b3686f0e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e4bb2-d27f-79bb-b09a-9b3d15e79bf5" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019e4bb2-d27f-75a5-b220-1d7b3686f0e5" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/ACQUISITIONSANDDIVESTITURESNarrativeDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#ACQUISITIONSANDDIVESTITURESNarrativeDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/ACQUISITIONSANDDIVESTITURESNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-70d9-a600-f04db55f24fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionTable_019e4bb2-d27f-7e98-a57e-fb5f4b02c1f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-70d9-a600-f04db55f24fe" xlink:to="loc_us-gaap_AssetAcquisitionTable_019e4bb2-d27f-7e98-a57e-fb5f4b02c1f9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d27f-72a6-a9c5-ce35e4f41c64" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_019e4bb2-d27f-7e98-a57e-fb5f4b02c1f9" xlink:to="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d27f-72a6-a9c5-ce35e4f41c64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-72a6-a9c5-ce35e4f41c64_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d27f-72a6-a9c5-ce35e4f41c64" xlink:to="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-72a6-a9c5-ce35e4f41c64_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-7c95-a261-c5a90a0efe31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d27f-72a6-a9c5-ce35e4f41c64" xlink:to="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-7c95-a261-c5a90a0efe31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_LimeRockAcquisitionMember_019e4bb2-d27f-7bda-8ae1-f789b07e101e" xlink:href="rei-20260630.xsd#rei_LimeRockAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-7c95-a261-c5a90a0efe31" xlink:to="loc_rei_LimeRockAcquisitionMember_019e4bb2-d27f-7bda-8ae1-f789b07e101e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_YoakumCountryAcquisitionMember_019e4bb2-d27f-7e07-9fb9-f151855171eb" xlink:href="rei-20260630.xsd#rei_YoakumCountryAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-7c95-a261-c5a90a0efe31" xlink:to="loc_rei_YoakumCountryAcquisitionMember_019e4bb2-d27f-7e07-9fb9-f151855171eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_019e4bb2-d27f-7e26-8c81-3018286c75a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_019e4bb2-d27f-7e98-a57e-fb5f4b02c1f9" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_019e4bb2-d27f-7e26-8c81-3018286c75a4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019e4bb2-d27f-7e26-8c81-3018286c75a4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_019e4bb2-d27f-7e26-8c81-3018286c75a4" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019e4bb2-d27f-7e26-8c81-3018286c75a4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019e4bb2-d27f-785e-b475-b777147ceabb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_019e4bb2-d27f-7e26-8c81-3018286c75a4" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019e4bb2-d27f-785e-b475-b777147ceabb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DisposalGroupSeriesOfIndividuallyImmaterialDisposalsMember_019e4bb2-d27f-727f-b252-657070b1ce9d" xlink:href="rei-20260630.xsd#rei_DisposalGroupSeriesOfIndividuallyImmaterialDisposalsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019e4bb2-d27f-785e-b475-b777147ceabb" xlink:to="loc_rei_DisposalGroupSeriesOfIndividuallyImmaterialDisposalsMember_019e4bb2-d27f-727f-b252-657070b1ce9d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019e4bb2-d27f-7274-a53b-2eff10002afa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_019e4bb2-d27f-7e98-a57e-fb5f4b02c1f9" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019e4bb2-d27f-7274-a53b-2eff10002afa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019e4bb2-d27f-7274-a53b-2eff10002afa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019e4bb2-d27f-7274-a53b-2eff10002afa" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019e4bb2-d27f-7274-a53b-2eff10002afa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019e4bb2-d27f-7810-b2ae-3f989b84069f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019e4bb2-d27f-7274-a53b-2eff10002afa" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019e4bb2-d27f-7810-b2ae-3f989b84069f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_NorthwestShelfMember_019e4bb2-d27f-7821-9f7e-3e9937c87d2e" xlink:href="rei-20260630.xsd#rei_NorthwestShelfMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019e4bb2-d27f-7810-b2ae-3f989b84069f" xlink:to="loc_rei_NorthwestShelfMember_019e4bb2-d27f-7821-9f7e-3e9937c87d2e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionPurchasePriceAdjustments_019e4bb2-d27f-7818-8e9d-f050b7ef10de" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionPurchasePriceAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-70d9-a600-f04db55f24fe" xlink:to="loc_rei_AssetAcquisitionPurchasePriceAdjustments_019e4bb2-d27f-7818-8e9d-f050b7ef10de" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionContingentConsiderationLiability_019e4bb2-d27f-7ea7-95b5-858444232373" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-70d9-a600-f04db55f24fe" xlink:to="loc_us-gaap_AssetAcquisitionContingentConsiderationLiability_019e4bb2-d27f-7ea7-95b5-858444232373" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableShares_019e4bb2-d27f-77c0-83d0-f127c532cab1" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-70d9-a600-f04db55f24fe" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableShares_019e4bb2-d27f-77c0-83d0-f127c532cab1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_019e4bb2-d27f-7916-b88c-2346e12c400f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-70d9-a600-f04db55f24fe" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_019e4bb2-d27f-7916-b88c-2346e12c400f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_019e4bb2-d27f-765d-bdc1-42dc7e5bc01c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromDivestitureOfBusinesses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-70d9-a600-f04db55f24fe" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_019e4bb2-d27f-765d-bdc1-42dc7e5bc01c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfBusinessesAcquired_019e4bb2-d27f-74bf-ac79-0d7c19cc945b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NumberOfBusinessesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-70d9-a600-f04db55f24fe" xlink:to="loc_us-gaap_NumberOfBusinessesAcquired_019e4bb2-d27f-74bf-ac79-0d7c19cc945b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_019e4bb2-d27f-7a2b-9c95-220c6175fa4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-70d9-a600-f04db55f24fe" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_019e4bb2-d27f-7a2b-9c95-220c6175fa4e" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/ACQUISITIONSANDDIVESTITURESScheduleofFinalAllocationoftheTotalCostoftheLimeRockAcquisitionDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#ACQUISITIONSANDDIVESTITURESScheduleofFinalAllocationoftheTotalCostoftheLimeRockAcquisitionDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/ACQUISITIONSANDDIVESTITURESScheduleofFinalAllocationoftheTotalCostoftheLimeRockAcquisitionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-797a-b6a1-7f4c81dab6ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionTable_019e4bb2-d27f-7162-a800-96c0f8901ef7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-797a-b6a1-7f4c81dab6ce" xlink:to="loc_us-gaap_AssetAcquisitionTable_019e4bb2-d27f-7162-a800-96c0f8901ef7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d27f-7313-942f-de8028d0c251" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_019e4bb2-d27f-7162-a800-96c0f8901ef7" xlink:to="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d27f-7313-942f-de8028d0c251" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-7313-942f-de8028d0c251_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d27f-7313-942f-de8028d0c251" xlink:to="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-7313-942f-de8028d0c251_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-765c-83a1-ca2cec840135" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetAcquisitionAxis_019e4bb2-d27f-7313-942f-de8028d0c251" xlink:to="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-765c-83a1-ca2cec840135" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_LimeRockAcquisitionMember_019e4bb2-d27f-7246-b89e-658a46e9e710" xlink:href="rei-20260630.xsd#rei_LimeRockAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_019e4bb2-d27f-765c-83a1-ca2cec840135" xlink:to="loc_rei_LimeRockAcquisitionMember_019e4bb2-d27f-7246-b89e-658a46e9e710" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredAbstract_019e4bb2-d27f-7948-9598-bb774c6c3bf0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionConsiderationTransferredAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-797a-b6a1-7f4c81dab6ce" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferredAbstract_019e4bb2-d27f-7948-9598-bb774c6c3bf0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019e4bb2-d27f-7798-82ac-b32bc09a41d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferredAbstract_019e4bb2-d27f-7948-9598-bb774c6c3bf0" xlink:to="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019e4bb2-d27f-7798-82ac-b32bc09a41d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableShares_019e4bb2-d27f-77bb-b999-1f298d239bcc" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019e4bb2-d27f-7798-82ac-b32bc09a41d4" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuableShares_019e4bb2-d27f-77bb-b999-1f298d239bcc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssuedPricePerShare_019e4bb2-d27f-7e1a-872b-dd3852fb5d81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharesIssuedPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019e4bb2-d27f-7798-82ac-b32bc09a41d4" xlink:to="loc_us-gaap_SharesIssuedPricePerShare_019e4bb2-d27f-7e1a-872b-dd3852fb5d81" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredCommonStockSharesIssuedAndIssuable_019e4bb2-d27f-73e4-a7cf-31fa4dbcc17f" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredCommonStockSharesIssuedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019e4bb2-d27f-7798-82ac-b32bc09a41d4" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredCommonStockSharesIssuedAndIssuable_019e4bb2-d27f-73e4-a7cf-31fa4dbcc17f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d27f-710e-9836-0bece680c2ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferredAbstract_019e4bb2-d27f-7948-9598-bb774c6c3bf0" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d27f-710e-9836-0bece680c2ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredDepositInEscrow_019e4bb2-d27f-741f-904f-4ec41da1addf" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredDepositInEscrow"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d27f-710e-9836-0bece680c2ab" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredDepositInEscrow_019e4bb2-d27f-741f-904f-4ec41da1addf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_PaymentsForAssetAcquisition_019e4bb2-d27f-7df1-a740-0a26b9ebd8a4" xlink:href="rei-20260630.xsd#rei_PaymentsForAssetAcquisition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d27f-710e-9836-0bece680c2ab" xlink:to="loc_rei_PaymentsForAssetAcquisition_019e4bb2-d27f-7df1-a740-0a26b9ebd8a4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionDeferredCashConsideration_019e4bb2-d27f-7d10-b88a-f0d6888eeeac" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionDeferredCashConsideration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d27f-710e-9836-0bece680c2ab" xlink:to="loc_rei_AssetAcquisitionDeferredCashConsideration_019e4bb2-d27f-7d10-b88a-f0d6888eeeac" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionPostCloseAdjustments_019e4bb2-d27f-7383-8456-7fedd0b2ed7a" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionPostCloseAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d27f-710e-9836-0bece680c2ab" xlink:to="loc_rei_AssetAcquisitionPostCloseAdjustments_019e4bb2-d27f-7383-8456-7fedd0b2ed7a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_019e4bb2-d27f-71d0-927d-084426912c97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d27f-710e-9836-0bece680c2ab" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_019e4bb2-d27f-71d0-927d-084426912c97" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredDirectTransactionCosts_019e4bb2-d27f-7f53-a277-895bc0c60ca2" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredDirectTransactionCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumedAbstract_019e4bb2-d27f-710e-9836-0bece680c2ab" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredDirectTransactionCosts_019e4bb2-d27f-7f53-a277-895bc0c60ca2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost_019e4bb2-d27f-7434-bad6-2db5b38746b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferredAbstract_019e4bb2-d27f-7948-9598-bb774c6c3bf0" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost_019e4bb2-d27f-7434-bad6-2db5b38746b7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_019e4bb2-d27f-7e0e-9db3-4d7d3f08de42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-797a-b6a1-7f4c81dab6ce" xlink:to="loc_us-gaap_AssetsAbstract_019e4bb2-d27f-7e0e-9db3-4d7d3f08de42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OilAndGasPropertyFullCostMethodGross_019e4bb2-d27f-70d1-8458-4aac63046bc3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OilAndGasPropertyFullCostMethodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019e4bb2-d27f-7e0e-9db3-4d7d3f08de42" xlink:to="loc_us-gaap_OilAndGasPropertyFullCostMethodGross_019e4bb2-d27f-70d1-8458-4aac63046bc3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredCashPaidForFixedAssetAcquired_019e4bb2-d27f-70d8-ae77-e9b7081b6561" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredCashPaidForFixedAssetAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019e4bb2-d27f-7e0e-9db3-4d7d3f08de42" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredCashPaidForFixedAssetAcquired_019e4bb2-d27f-70d8-ae77-e9b7081b6561" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionConsiderationTransferredCashPaidForJointInterestBillingReceivable_019e4bb2-d27f-76ab-bcfd-962ab53591a8" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionConsiderationTransferredCashPaidForJointInterestBillingReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019e4bb2-d27f-7e0e-9db3-4d7d3f08de42" xlink:to="loc_rei_AssetAcquisitionConsiderationTransferredCashPaidForJointInterestBillingReceivable_019e4bb2-d27f-76ab-bcfd-962ab53591a8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_019e4bb2-d27f-7015-bde0-94bcce6c0d07" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019e4bb2-d27f-7e0e-9db3-4d7d3f08de42" xlink:to="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_019e4bb2-d27f-7015-bde0-94bcce6c0d07" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_019e4bb2-d27f-7731-b446-d5ff0fac9f3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-797a-b6a1-7f4c81dab6ce" xlink:to="loc_us-gaap_LiabilitiesAbstract_019e4bb2-d27f-7731-b446-d5ff0fac9f3c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSuspenseLiability_019e4bb2-d27f-716e-9ce9-eadb6e2bafc9" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSuspenseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019e4bb2-d27f-7731-b446-d5ff0fac9f3c" xlink:to="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSuspenseLiability_019e4bb2-d27f-716e-9ce9-eadb6e2bafc9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligation_019e4bb2-d27f-7837-b2ee-14df3db530a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019e4bb2-d27f-7731-b446-d5ff0fac9f3c" xlink:to="loc_us-gaap_AssetRetirementObligation_019e4bb2-d27f-7837-b2ee-14df3db530a6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAdValoremTaxLiability_019e4bb2-d27f-7389-9b66-f8c46640402d" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAdValoremTaxLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019e4bb2-d27f-7731-b446-d5ff0fac9f3c" xlink:to="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAdValoremTaxLiability_019e4bb2-d27f-7389-9b66-f8c46640402d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_019e4bb2-d27f-790b-81e9-2704627f8e14" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019e4bb2-d27f-7731-b446-d5ff0fac9f3c" xlink:to="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_019e4bb2-d27f-790b-81e9-2704627f8e14" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019e4bb2-d27f-7d94-999d-b4d95678bc90" xlink:href="rei-20260630.xsd#rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e4bb2-d27f-797a-b6a1-7f4c81dab6ce" xlink:to="loc_rei_AssetAcquisitionRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019e4bb2-d27f-7d94-999d-b4d95678bc90" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/DERIVATIVEFINANCIALINSTRUMENTSScheduleofComponentsofGainLossonDerivativeContractsDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#DERIVATIVEFINANCIALINSTRUMENTSScheduleofComponentsofGainLossonDerivativeContractsDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/DERIVATIVEFINANCIALINSTRUMENTSScheduleofComponentsofGainLossonDerivativeContractsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-7da5-8e6d-0302c6897304" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-72b1-a727-7fb6beca788a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-7da5-8e6d-0302c6897304" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-72b1-a727-7fb6beca788a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-7ec7-8144-320d901de11b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ReserveQuantitiesByTypeOfReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-72b1-a727-7fb6beca788a" xlink:to="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-7ec7-8144-320d901de11b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-7ec7-8144-320d901de11b_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_TypeOfReserveDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-7ec7-8144-320d901de11b" xlink:to="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-7ec7-8144-320d901de11b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-7a97-b576-cd20ed017960" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_TypeOfReserveDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-7ec7-8144-320d901de11b" xlink:to="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-7a97-b576-cd20ed017960" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OilReservesMember_019e4bb2-d27f-709c-a7e8-deefeb70e128" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OilReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-7a97-b576-cd20ed017960" xlink:to="loc_srt_OilReservesMember_019e4bb2-d27f-709c-a7e8-deefeb70e128" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NaturalGasReservesMember_019e4bb2-d27f-73bc-bdc7-2f37a428a120" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NaturalGasReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-7a97-b576-cd20ed017960" xlink:to="loc_srt_NaturalGasReservesMember_019e4bb2-d27f-73bc-bdc7-2f37a428a120" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfDerivatives_019e4bb2-d27f-779d-a973-58871a650a7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfDerivatives"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-7da5-8e6d-0302c6897304" xlink:to="loc_us-gaap_GainLossOnSaleOfDerivatives_019e4bb2-d27f-779d-a973-58871a650a7a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e4bb2-d27f-7177-8b56-f6599f5f24f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-7da5-8e6d-0302c6897304" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e4bb2-d27f-7177-8b56-f6599f5f24f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_019e4bb2-d27f-7416-b304-cd72e4834e63" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-7da5-8e6d-0302c6897304" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_019e4bb2-d27f-7416-b304-cd72e4834e63" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/DERIVATIVEFINANCIALINSTRUMENTSScheduleofComponentsofCashReceivedPaidforCommodityDerivativeSettlementsDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#DERIVATIVEFINANCIALINSTRUMENTSScheduleofComponentsofCashReceivedPaidforCommodityDerivativeSettlementsDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/DERIVATIVEFINANCIALINSTRUMENTSScheduleofComponentsofCashReceivedPaidforCommodityDerivativeSettlementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-7f44-ad1f-d7796a7a1a1a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-7652-bc84-1dcc2ae4ed9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-7f44-ad1f-d7796a7a1a1a" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-7652-bc84-1dcc2ae4ed9a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-7919-819c-26b0597674dc" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ReserveQuantitiesByTypeOfReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-7652-bc84-1dcc2ae4ed9a" xlink:to="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-7919-819c-26b0597674dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-7919-819c-26b0597674dc_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_TypeOfReserveDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-7919-819c-26b0597674dc" xlink:to="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-7919-819c-26b0597674dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-72ab-af7b-259e1abba7f4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_TypeOfReserveDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-7919-819c-26b0597674dc" xlink:to="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-72ab-af7b-259e1abba7f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OilReservesMember_019e4bb2-d27f-761d-b2bb-5c4adb9c4832" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OilReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-72ab-af7b-259e1abba7f4" xlink:to="loc_srt_OilReservesMember_019e4bb2-d27f-761d-b2bb-5c4adb9c4832" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NaturalGasReservesMember_019e4bb2-d27f-7aa7-a5b4-0e090c998dbb" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NaturalGasReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-72ab-af7b-259e1abba7f4" xlink:to="loc_srt_NaturalGasReservesMember_019e4bb2-d27f-7aa7-a5b4-0e090c998dbb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCostOfHedgeNetOfCashReceivedAbstract_019e4bb2-d27f-743f-82c0-1a45f97b5d96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCostOfHedgeNetOfCashReceivedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-7f44-ad1f-d7796a7a1a1a" xlink:to="loc_us-gaap_DerivativeCostOfHedgeNetOfCashReceivedAbstract_019e4bb2-d27f-743f-82c0-1a45f97b5d96" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DerivativeCostOfHedgeNetOfCashPaidAndReceived_019e4bb2-d27f-737e-a892-2bb66c775f20" xlink:href="rei-20260630.xsd#rei_DerivativeCostOfHedgeNetOfCashPaidAndReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeCostOfHedgeNetOfCashReceivedAbstract_019e4bb2-d27f-743f-82c0-1a45f97b5d96" xlink:to="loc_rei_DerivativeCostOfHedgeNetOfCashPaidAndReceived_019e4bb2-d27f-737e-a892-2bb66c775f20" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/DERIVATIVEFINANCIALINSTRUMENTSScheduleofCurrentDerivativeContractsDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#DERIVATIVEFINANCIALINSTRUMENTSScheduleofCurrentDerivativeContractsDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/DERIVATIVEFINANCIALINSTRUMENTSScheduleofCurrentDerivativeContractsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-768c-838d-4a420d45be39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-76d4-b8bb-59ac1138d45e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-768c-838d-4a420d45be39" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-76d4-b8bb-59ac1138d45e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-75d1-ac4b-1737369627fb" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ReserveQuantitiesByTypeOfReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-76d4-b8bb-59ac1138d45e" xlink:to="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-75d1-ac4b-1737369627fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-75d1-ac4b-1737369627fb_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_TypeOfReserveDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-75d1-ac4b-1737369627fb" xlink:to="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-75d1-ac4b-1737369627fb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-719e-8648-81a2ef95bc53" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_TypeOfReserveDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ReserveQuantitiesByTypeOfReserveAxis_019e4bb2-d27f-75d1-ac4b-1737369627fb" xlink:to="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-719e-8648-81a2ef95bc53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OilReservesMember_019e4bb2-d27f-7769-bbae-1777645d149a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OilReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-719e-8648-81a2ef95bc53" xlink:to="loc_srt_OilReservesMember_019e4bb2-d27f-7769-bbae-1777645d149a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NaturalGasReservesMember_019e4bb2-d27f-746f-8d0a-6e22fb860446" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NaturalGasReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TypeOfReserveDomain_019e4bb2-d27f-719e-8648-81a2ef95bc53" xlink:to="loc_srt_NaturalGasReservesMember_019e4bb2-d27f-746f-8d0a-6e22fb860446" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019e4bb2-d27f-7188-8deb-0e89f2526a31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-76d4-b8bb-59ac1138d45e" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019e4bb2-d27f-7188-8deb-0e89f2526a31" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e4bb2-d27f-7188-8deb-0e89f2526a31_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e4bb2-d27f-7188-8deb-0e89f2526a31" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e4bb2-d27f-7188-8deb-0e89f2526a31_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e4bb2-d27f-7db5-9e30-2b892c3690ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e4bb2-d27f-7188-8deb-0e89f2526a31" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e4bb2-d27f-7db5-9e30-2b892c3690ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SwapMember_019e4bb2-d27f-7153-af97-514bc6592625" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e4bb2-d27f-7db5-9e30-2b892c3690ee" xlink:to="loc_us-gaap_SwapMember_019e4bb2-d27f-7153-af97-514bc6592625" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_NymexSwapsMember_019e4bb2-d27f-741b-83cb-e701e5c79faf" xlink:href="rei-20260630.xsd#rei_NymexSwapsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SwapMember_019e4bb2-d27f-7153-af97-514bc6592625" xlink:to="loc_rei_NymexSwapsMember_019e4bb2-d27f-741b-83cb-e701e5c79faf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BasisSwapMember_019e4bb2-d27f-7c71-a875-b3a29ffffc2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BasisSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SwapMember_019e4bb2-d27f-7153-af97-514bc6592625" xlink:to="loc_us-gaap_BasisSwapMember_019e4bb2-d27f-7c71-a875-b3a29ffffc2e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ElPasoPermianBasisBasisSwapsMember_019e4bb2-d27f-705f-8dda-80b4e0a8f980" xlink:href="rei-20260630.xsd#rei_ElPasoPermianBasisBasisSwapsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SwapMember_019e4bb2-d27f-7153-af97-514bc6592625" xlink:to="loc_rei_ElPasoPermianBasisBasisSwapsMember_019e4bb2-d27f-705f-8dda-80b4e0a8f980" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_TwoWayCollarsMember_019e4bb2-d27f-7c09-ae04-53489684efd0" xlink:href="rei-20260630.xsd#rei_TwoWayCollarsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e4bb2-d27f-7db5-9e30-2b892c3690ee" xlink:to="loc_rei_TwoWayCollarsMember_019e4bb2-d27f-7c09-ae04-53489684efd0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_019e4bb2-d27f-7b47-a180-488b027e2eda" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OptionIndexedToIssuersEquityTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-76d4-b8bb-59ac1138d45e" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_019e4bb2-d27f-7b47-a180-488b027e2eda" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7b47-a180-488b027e2eda_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_019e4bb2-d27f-7b47-a180-488b027e2eda" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7b47-a180-488b027e2eda_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7fe4-82eb-13aa6c78eb74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_019e4bb2-d27f-7b47-a180-488b027e2eda" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7fe4-82eb-13aa6c78eb74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PutOptionMember_019e4bb2-d27f-7dad-9413-1ad7d39b1993" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PutOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7fe4-82eb-13aa6c78eb74" xlink:to="loc_us-gaap_PutOptionMember_019e4bb2-d27f-7dad-9413-1ad7d39b1993" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CallOptionMember_019e4bb2-d27f-788e-97b2-bb1d748362d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CallOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_019e4bb2-d27f-7fe4-82eb-13aa6c78eb74" xlink:to="loc_us-gaap_CallOptionMember_019e4bb2-d27f-788e-97b2-bb1d748362d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DerivativeContractsAxis_019e4bb2-d27f-7662-8d24-cbf085634645" xlink:href="rei-20260630.xsd#rei_DerivativeContractsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_019e4bb2-d27f-76d4-b8bb-59ac1138d45e" xlink:to="loc_rei_DerivativeContractsAxis_019e4bb2-d27f-7662-8d24-cbf085634645" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7662-8d24-cbf085634645_default" xlink:href="rei-20260630.xsd#rei_DerivativeContractsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rei_DerivativeContractsAxis_019e4bb2-d27f-7662-8d24-cbf085634645" xlink:to="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7662-8d24-cbf085634645_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:href="rei-20260630.xsd#rei_DerivativeContractsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rei_DerivativeContractsAxis_019e4bb2-d27f-7662-8d24-cbf085634645" xlink:to="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q32026Member_019e4bb2-d27f-7abe-b87f-3d9a142a4a28" xlink:href="rei-20260630.xsd#rei_Q32026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q32026Member_019e4bb2-d27f-7abe-b87f-3d9a142a4a28" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q42026Member_019e4bb2-d27f-7544-840c-0b05026d9ed7" xlink:href="rei-20260630.xsd#rei_Q42026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q42026Member_019e4bb2-d27f-7544-840c-0b05026d9ed7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q12027Member_019e4bb2-d27f-7e04-b940-c5fd8cc2c10c" xlink:href="rei-20260630.xsd#rei_Q12027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q12027Member_019e4bb2-d27f-7e04-b940-c5fd8cc2c10c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q22027Member_019e4bb2-d27f-7e6c-b2d9-cf7b14f79fa7" xlink:href="rei-20260630.xsd#rei_Q22027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q22027Member_019e4bb2-d27f-7e6c-b2d9-cf7b14f79fa7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q32027Member_019e4bb2-d27f-72b4-b901-1e7bebec74b0" xlink:href="rei-20260630.xsd#rei_Q32027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q32027Member_019e4bb2-d27f-72b4-b901-1e7bebec74b0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q42027Member_019e4bb2-d27f-75b4-b39c-8163639989f7" xlink:href="rei-20260630.xsd#rei_Q42027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q42027Member_019e4bb2-d27f-75b4-b39c-8163639989f7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q12028Member_019e4bb2-d27f-7832-b23b-c28fa98f654e" xlink:href="rei-20260630.xsd#rei_Q12028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q12028Member_019e4bb2-d27f-7832-b23b-c28fa98f654e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q22028Member_019e4bb2-d27f-73f1-9a09-82475a42da56" xlink:href="rei-20260630.xsd#rei_Q22028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q22028Member_019e4bb2-d27f-73f1-9a09-82475a42da56" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q32028Member_019e4bb2-d27f-780b-8d89-05c308c1d88c" xlink:href="rei-20260630.xsd#rei_Q32028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q32028Member_019e4bb2-d27f-780b-8d89-05c308c1d88c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q42028Member_019e4bb2-d27f-7846-aae8-4cb17b251a49" xlink:href="rei-20260630.xsd#rei_Q42028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q42028Member_019e4bb2-d27f-7846-aae8-4cb17b251a49" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q12029Member_019e4bb2-d27f-7016-aad8-dcd0b0f38334" xlink:href="rei-20260630.xsd#rei_Q12029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q12029Member_019e4bb2-d27f-7016-aad8-dcd0b0f38334" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q22029Member_019e4bb2-d27f-7ee4-bddb-326732b06d32" xlink:href="rei-20260630.xsd#rei_Q22029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q22029Member_019e4bb2-d27f-7ee4-bddb-326732b06d32" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q32029Member_019e4bb2-d27f-7985-a93e-09b666d468a7" xlink:href="rei-20260630.xsd#rei_Q32029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q32029Member_019e4bb2-d27f-7985-a93e-09b666d468a7" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q42029Member_019e4bb2-d27f-788f-b404-846beacc0daa" xlink:href="rei-20260630.xsd#rei_Q42029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q42029Member_019e4bb2-d27f-788f-b404-846beacc0daa" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Q12030Member_019e816b-70da-7615-8c9b-27f2646914ef" xlink:href="rei-20260630.xsd#rei_Q12030Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_DerivativeContractsDomain_019e4bb2-d27f-7a80-a3b9-d8ae2ad457f9" xlink:to="loc_rei_Q12030Member_019e816b-70da-7615-8c9b-27f2646914ef" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNonmonetaryNotionalAmountVolume_019e4bb2-d27f-7245-88b3-567093c0c903" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeNonmonetaryNotionalAmountVolume"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-768c-838d-4a420d45be39" xlink:to="loc_us-gaap_DerivativeNonmonetaryNotionalAmountVolume_019e4bb2-d27f-7245-88b3-567093c0c903" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DerivativePriceRiskSwapContractPrice_019e4bb2-d27f-7610-a22e-bf094417dbe3" xlink:href="rei-20260630.xsd#rei_DerivativePriceRiskSwapContractPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-768c-838d-4a420d45be39" xlink:to="loc_rei_DerivativePriceRiskSwapContractPrice_019e4bb2-d27f-7610-a22e-bf094417dbe3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DerivativePriceRiskOptionStrikePricePut_019e4bb2-d27f-7c22-8a0f-fd0675ad2ce2" xlink:href="rei-20260630.xsd#rei_DerivativePriceRiskOptionStrikePricePut"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-768c-838d-4a420d45be39" xlink:to="loc_rei_DerivativePriceRiskOptionStrikePricePut_019e4bb2-d27f-7c22-8a0f-fd0675ad2ce2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DerivativePriceRiskOptionStrikePriceCall_019e4bb2-d27f-7ec9-872a-a1a14a37c33d" xlink:href="rei-20260630.xsd#rei_DerivativePriceRiskOptionStrikePriceCall"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-768c-838d-4a420d45be39" xlink:to="loc_rei_DerivativePriceRiskOptionStrikePriceCall_019e4bb2-d27f-7ec9-872a-a1a14a37c33d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNonmonetaryNotionalAmountEnergyMeasure_019e4bb2-d27f-7a3e-8ea4-9f8f2e5f8e1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeNonmonetaryNotionalAmountEnergyMeasure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-768c-838d-4a420d45be39" xlink:to="loc_us-gaap_DerivativeNonmonetaryNotionalAmountEnergyMeasure_019e4bb2-d27f-7a3e-8ea4-9f8f2e5f8e1d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DerivativeSwapTypeWeightedAverageSwapPrice_019e4bb2-d27f-76f2-9345-02a72df91d63" xlink:href="rei-20260630.xsd#rei_DerivativeSwapTypeWeightedAverageSwapPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_019e4bb2-d27f-768c-838d-4a420d45be39" xlink:to="loc_rei_DerivativeSwapTypeWeightedAverageSwapPrice_019e4bb2-d27f-76f2-9345-02a72df91d63" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/FAIRVALUEMEASUREMENTSDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#FAIRVALUEMEASUREMENTSDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/FAIRVALUEMEASUREMENTSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e4bb2-d27f-74ac-90ac-1604a7d93867" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e4bb2-d27f-753c-a0b6-398a5f882816" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e4bb2-d27f-74ac-90ac-1604a7d93867" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e4bb2-d27f-753c-a0b6-398a5f882816" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e4bb2-d27f-707c-ba04-4b6c238ec62d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e4bb2-d27f-753c-a0b6-398a5f882816" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e4bb2-d27f-707c-ba04-4b6c238ec62d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e4bb2-d27f-707c-ba04-4b6c238ec62d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e4bb2-d27f-707c-ba04-4b6c238ec62d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e4bb2-d27f-707c-ba04-4b6c238ec62d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e4bb2-d27f-7670-938f-8a64fcd985c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e4bb2-d27f-707c-ba04-4b6c238ec62d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e4bb2-d27f-7670-938f-8a64fcd985c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019e4bb2-d27f-77d4-af60-c2c01006f98e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e4bb2-d27f-7670-938f-8a64fcd985c5" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019e4bb2-d27f-77d4-af60-c2c01006f98e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019e4bb2-d27f-7b4b-a22f-56d83f4f80ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e4bb2-d27f-7670-938f-8a64fcd985c5" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019e4bb2-d27f-7b4b-a22f-56d83f4f80ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019e4bb2-d27f-7772-8ca1-2a75f1f4b560" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e4bb2-d27f-7670-938f-8a64fcd985c5" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019e4bb2-d27f-7772-8ca1-2a75f1f4b560" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e4bb2-d27f-76ce-8905-87bc342ee7c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e4bb2-d27f-74ac-90ac-1604a7d93867" xlink:to="loc_us-gaap_DerivativeAssets_019e4bb2-d27f-76ce-8905-87bc342ee7c4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e4bb2-d27f-70c2-a808-1078848abde0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e4bb2-d27f-74ac-90ac-1604a7d93867" xlink:to="loc_us-gaap_DerivativeLiabilities_019e4bb2-d27f-70c2-a808-1078848abde0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetAssetLiability_019e4bb2-d27f-75ed-ad03-30e66adff928" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueNetAssetLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e4bb2-d27f-74ac-90ac-1604a7d93867" xlink:to="loc_us-gaap_FairValueNetAssetLiability_019e4bb2-d27f-75ed-ad03-30e66adff928" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetStatementOfFinancialPositionExtensibleEnumeration_019e4bb2-d27f-736a-bd9d-3bcb67e96183" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e4bb2-d27f-74ac-90ac-1604a7d93867" xlink:to="loc_us-gaap_DerivativeAssetStatementOfFinancialPositionExtensibleEnumeration_019e4bb2-d27f-736a-bd9d-3bcb67e96183" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration_019e4bb2-d27f-715a-a022-bdcc480df41a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e4bb2-d27f-74ac-90ac-1604a7d93867" xlink:to="loc_us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration_019e4bb2-d27f-715a-a022-bdcc480df41a" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/REVOLVINGLINEOFCREDITDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#REVOLVINGLINEOFCREDITDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/REVOLVINGLINEOFCREDITDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_019e4bb2-d27f-708d-a5ba-008433dd7800" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_019e4bb2-d27f-708d-a5ba-008433dd7800" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019e4bb2-d27f-7a92-a5f4-866e0d178fd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019e4bb2-d27f-708d-a5ba-008433dd7800" xlink:to="loc_us-gaap_DebtInstrumentAxis_019e4bb2-d27f-7a92-a5f4-866e0d178fd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e4bb2-d27f-7a92-a5f4-866e0d178fd7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e4bb2-d27f-7a92-a5f4-866e0d178fd7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e4bb2-d27f-7a92-a5f4-866e0d178fd7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e4bb2-d27f-745b-ba11-fd28e7fe72bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e4bb2-d27f-7a92-a5f4-866e0d178fd7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e4bb2-d27f-745b-ba11-fd28e7fe72bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CreditAgreementMember_019e4bb2-d27f-707e-9402-9d62cb5271ba" xlink:href="rei-20260630.xsd#rei_CreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e4bb2-d27f-745b-ba11-fd28e7fe72bd" xlink:to="loc_rei_CreditAgreementMember_019e4bb2-d27f-707e-9402-9d62cb5271ba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CreditAgreementSubjectToPeriodicRedeterminationsMandatoryReductionsAndAdjustmentsMember_019e4bb2-d27f-7414-9bb1-44d3d6621b7a" xlink:href="rei-20260630.xsd#rei_CreditAgreementSubjectToPeriodicRedeterminationsMandatoryReductionsAndAdjustmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e4bb2-d27f-745b-ba11-fd28e7fe72bd" xlink:to="loc_rei_CreditAgreementSubjectToPeriodicRedeterminationsMandatoryReductionsAndAdjustmentsMember_019e4bb2-d27f-7414-9bb1-44d3d6621b7a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_019e4bb2-d27f-7ba8-a42f-c2aac9b4e9d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019e4bb2-d27f-708d-a5ba-008433dd7800" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_019e4bb2-d27f-7ba8-a42f-c2aac9b4e9d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_019e4bb2-d27f-7ba8-a42f-c2aac9b4e9d8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_019e4bb2-d27f-7ba8-a42f-c2aac9b4e9d8" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_019e4bb2-d27f-7ba8-a42f-c2aac9b4e9d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_019e4bb2-d27f-7b06-970d-de7f79520f77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_019e4bb2-d27f-7ba8-a42f-c2aac9b4e9d8" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_019e4bb2-d27f-7b06-970d-de7f79520f77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_019e4bb2-d27f-7837-a91f-b4bb46cbc4fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRedemptionPeriodOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_019e4bb2-d27f-7b06-970d-de7f79520f77" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_019e4bb2-d27f-7837-a91f-b4bb46cbc4fd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_019e4bb2-d27f-7d85-b0f9-449a8c0a70ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRedemptionPeriodTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_019e4bb2-d27f-7b06-970d-de7f79520f77" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_019e4bb2-d27f-7d85-b0f9-449a8c0a70ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_019e4bb2-d27f-7dd7-8d98-6be3d610bfa7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019e4bb2-d27f-708d-a5ba-008433dd7800" xlink:to="loc_us-gaap_VariableRateAxis_019e4bb2-d27f-7dd7-8d98-6be3d610bfa7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019e4bb2-d27f-7dd7-8d98-6be3d610bfa7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_019e4bb2-d27f-7dd7-8d98-6be3d610bfa7" xlink:to="loc_us-gaap_VariableRateDomain_019e4bb2-d27f-7dd7-8d98-6be3d610bfa7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019e4bb2-d27f-713c-b1b2-1607742e67d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_019e4bb2-d27f-7dd7-8d98-6be3d610bfa7" xlink:to="loc_us-gaap_VariableRateDomain_019e4bb2-d27f-713c-b1b2-1607742e67d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019e4bb2-d27f-772e-bdf2-f84fcf0b44c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019e4bb2-d27f-713c-b1b2-1607742e67d5" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019e4bb2-d27f-772e-bdf2-f84fcf0b44c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_FederalFundsRateMember_019e4bb2-d27f-7570-a8ae-82e71ac90f9c" xlink:href="rei-20260630.xsd#rei_FederalFundsRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019e4bb2-d27f-713c-b1b2-1607742e67d5" xlink:to="loc_rei_FederalFundsRateMember_019e4bb2-d27f-7570-a8ae-82e71ac90f9c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AdjustedTermSOFRMember_019e4bb2-d27f-7070-9041-f3d312123216" xlink:href="rei-20260630.xsd#rei_AdjustedTermSOFRMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019e4bb2-d27f-713c-b1b2-1607742e67d5" xlink:to="loc_rei_AdjustedTermSOFRMember_019e4bb2-d27f-7070-9041-f3d312123216" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e4bb2-d27f-7a47-a8cc-11be72ddc007" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019e4bb2-d27f-708d-a5ba-008433dd7800" xlink:to="loc_srt_RangeAxis_019e4bb2-d27f-7a47-a8cc-11be72ddc007" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e4bb2-d27f-7a47-a8cc-11be72ddc007_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e4bb2-d27f-7a47-a8cc-11be72ddc007" xlink:to="loc_srt_RangeMember_019e4bb2-d27f-7a47-a8cc-11be72ddc007_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e4bb2-d27f-767c-a1f7-1f8b5d38b359" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e4bb2-d27f-7a47-a8cc-11be72ddc007" xlink:to="loc_srt_RangeMember_019e4bb2-d27f-767c-a1f7-1f8b5d38b359" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e4bb2-d27f-7eab-b9f9-e1ef3ed1fb60" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e4bb2-d27f-767c-a1f7-1f8b5d38b359" xlink:to="loc_srt_MinimumMember_019e4bb2-d27f-7eab-b9f9-e1ef3ed1fb60" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e4bb2-d27f-7168-9ddb-3965c961b0a4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e4bb2-d27f-767c-a1f7-1f8b5d38b359" xlink:to="loc_srt_MaximumMember_019e4bb2-d27f-7168-9ddb-3965c961b0a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019e4bb2-d27f-70c9-afda-31dd03112391" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019e4bb2-d27f-708d-a5ba-008433dd7800" xlink:to="loc_us-gaap_CreditFacilityAxis_019e4bb2-d27f-70c9-afda-31dd03112391" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-70c9-afda-31dd03112391_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019e4bb2-d27f-70c9-afda-31dd03112391" xlink:to="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-70c9-afda-31dd03112391_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-79fe-ba7b-605adb557f8a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019e4bb2-d27f-70c9-afda-31dd03112391" xlink:to="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-79fe-ba7b-605adb557f8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_SOFRLoansMember_019e4bb2-d27f-7b6a-88ca-099074709a5c" xlink:href="rei-20260630.xsd#rei_SOFRLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-79fe-ba7b-605adb557f8a" xlink:to="loc_rei_SOFRLoansMember_019e4bb2-d27f-7b6a-88ca-099074709a5c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_BaseRateLoansMember_019e4bb2-d27f-750c-90dd-29379c078fb6" xlink:href="rei-20260630.xsd#rei_BaseRateLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-79fe-ba7b-605adb557f8a" xlink:to="loc_rei_BaseRateLoansMember_019e4bb2-d27f-750c-90dd-29379c078fb6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_019e4bb2-d27f-71d1-924d-6501a2fca5f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-79fe-ba7b-605adb557f8a" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_019e4bb2-d27f-71d1-924d-6501a2fca5f4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_019e4bb2-d27f-798f-b21b-86834d4edc40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019e4bb2-d27f-708d-a5ba-008433dd7800" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_019e4bb2-d27f-798f-b21b-86834d4edc40" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_019e4bb2-d27f-798f-b21b-86834d4edc40_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_019e4bb2-d27f-798f-b21b-86834d4edc40" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_019e4bb2-d27f-798f-b21b-86834d4edc40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_019e4bb2-d27f-7398-a428-2edf46874c1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_019e4bb2-d27f-798f-b21b-86834d4edc40" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_019e4bb2-d27f-7398-a428-2edf46874c1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_FederalAgencyMember_019e4bb2-d27f-74a4-9242-fbd8f2d67a3d" xlink:href="rei-20260630.xsd#rei_FederalAgencyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_019e4bb2-d27f-7398-a428-2edf46874c1d" xlink:to="loc_rei_FederalAgencyMember_019e4bb2-d27f-74a4-9242-fbd8f2d67a3d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_NewMexicoInsuranceCompanyMember_019e4bb2-d27f-7886-8350-ccfd104738c1" xlink:href="rei-20260630.xsd#rei_NewMexicoInsuranceCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_019e4bb2-d27f-7398-a428-2edf46874c1d" xlink:to="loc_rei_NewMexicoInsuranceCompanyMember_019e4bb2-d27f-7886-8350-ccfd104738c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_019e4bb2-d27f-71ad-87a5-d64120bb17fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019e4bb2-d27f-708d-a5ba-008433dd7800" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_019e4bb2-d27f-71ad-87a5-d64120bb17fb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-71ad-87a5-d64120bb17fb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_019e4bb2-d27f-71ad-87a5-d64120bb17fb" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-71ad-87a5-d64120bb17fb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-7006-a244-d0daa0fa94a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_019e4bb2-d27f-71ad-87a5-d64120bb17fb" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-7006-a244-d0daa0fa94a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SuretyBondMember_019e4bb2-d27f-7a95-9c54-dda080405a46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SuretyBondMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-7006-a244-d0daa0fa94a2" xlink:to="loc_us-gaap_SuretyBondMember_019e4bb2-d27f-7a95-9c54-dda080405a46" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019e4bb2-d27f-7a8d-af84-b1fe304793e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019e4bb2-d27f-7a8d-af84-b1fe304793e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DebtInstrumentCovenantProFormaLeverageRatioMaximumThreshold_019e4bb2-d27f-72cb-8f14-c9ddba3f473f" xlink:href="rei-20260630.xsd#rei_DebtInstrumentCovenantProFormaLeverageRatioMaximumThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_rei_DebtInstrumentCovenantProFormaLeverageRatioMaximumThreshold_019e4bb2-d27f-72cb-8f14-c9ddba3f473f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DebtInstrumentBorrowingBaseUtilizationMaximumThresholdPercentage_019e4bb2-d27f-7b3f-b8cb-3e08e8130539" xlink:href="rei-20260630.xsd#rei_DebtInstrumentBorrowingBaseUtilizationMaximumThresholdPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_rei_DebtInstrumentBorrowingBaseUtilizationMaximumThresholdPercentage_019e4bb2-d27f-7b3f-b8cb-3e08e8130539" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_LeverageRatioTotal_019e4bb2-d27f-7abf-9e61-4c78e6fbb26e" xlink:href="rei-20260630.xsd#rei_LeverageRatioTotal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_rei_LeverageRatioTotal_019e4bb2-d27f-7abf-9e61-4c78e6fbb26e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019e4bb2-d27f-7e98-adf7-5a02c6295e04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019e4bb2-d27f-7e98-adf7-5a02c6295e04" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e4bb2-d27f-7f93-ba78-26bb5cba7141" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019e4bb2-d27f-7f93-ba78-26bb5cba7141" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DebtInstrumentInterestRateMarginPercentage_019e4bb2-d27f-70f9-9f4c-aa96414288c1" xlink:href="rei-20260630.xsd#rei_DebtInstrumentInterestRateMarginPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_rei_DebtInstrumentInterestRateMarginPercentage_019e4bb2-d27f-70f9-9f4c-aa96414288c1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CurrentRatio_019e4bb2-d27f-714a-9900-e13a371d7f01" xlink:href="rei-20260630.xsd#rei_CurrentRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_rei_CurrentRatio_019e4bb2-d27f-714a-9900-e13a371d7f01" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CompanyRequiredToMaintainingRollingBasis_019e4bb2-d27f-7e9d-9f7c-63de9a124fe2" xlink:href="rei-20260630.xsd#rei_CompanyRequiredToMaintainingRollingBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_rei_CompanyRequiredToMaintainingRollingBasis_019e4bb2-d27f-7e9d-9f7c-63de9a124fe2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_MinimumPercentageOfProjectedProductionToBeHedged_019e4bb2-d27f-76a1-9e59-65566296e070" xlink:href="rei-20260630.xsd#rei_MinimumPercentageOfProjectedProductionToBeHedged"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_rei_MinimumPercentageOfProjectedProductionToBeHedged_019e4bb2-d27f-76a1-9e59-65566296e070" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_UtilizationOfBorrowingBaseRate_019e4bb2-d27f-771d-964d-ecabcbbae301" xlink:href="rei-20260630.xsd#rei_UtilizationOfBorrowingBaseRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_rei_UtilizationOfBorrowingBaseRate_019e4bb2-d27f-771d-964d-ecabcbbae301" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_HedgeTestingPercentage_019e4bb2-d27f-74aa-a0d0-f7146d615042" xlink:href="rei-20260630.xsd#rei_HedgeTestingPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_rei_HedgeTestingPercentage_019e4bb2-d27f-74aa-a0d0-f7146d615042" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019e4bb2-d27f-7c40-97d4-41a22184888d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_us-gaap_LineOfCredit_019e4bb2-d27f-7c40-97d4-41a22184888d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_019e4bb2-d27f-78d7-bc9b-c5c7cb7ed8ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_019e4bb2-d27f-78d7-bc9b-c5c7cb7ed8ad" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_019e4bb2-d27f-7eb2-999f-6385eabc6ac1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019e4bb2-d27f-71ea-ac0b-e8734348e360" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_019e4bb2-d27f-7eb2-999f-6385eabc6ac1" xlink:type="arc" order="14"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/COMMONWARRANTSANDEQUITYOFFERINGDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#COMMONWARRANTSANDEQUITYOFFERINGDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/COMMONWARRANTSANDEQUITYOFFERINGDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_019e4bb2-d27f-78c2-b1e6-caac474385fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_019e4bb2-d27f-7992-8297-31a3e19ecd26" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e4bb2-d27f-78c2-b1e6-caac474385fa" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_019e4bb2-d27f-7992-8297-31a3e19ecd26" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_019e4bb2-d27f-7b3e-ab81-30d0118df461" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfWarrantOrRightAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_019e4bb2-d27f-7992-8297-31a3e19ecd26" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_019e4bb2-d27f-7b3e-ab81-30d0118df461" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-7b3e-ab81-30d0118df461_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_019e4bb2-d27f-7b3e-ab81-30d0118df461" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-7b3e-ab81-30d0118df461_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-7ce2-a628-bc35be3dfcc9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_019e4bb2-d27f-7b3e-ab81-30d0118df461" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-7ce2-a628-bc35be3dfcc9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CommonWarrantsMember_019e4bb2-d27f-730a-a32d-54ed318826dc" xlink:href="rei-20260630.xsd#rei_CommonWarrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_019e4bb2-d27f-7ce2-a628-bc35be3dfcc9" xlink:to="loc_rei_CommonWarrantsMember_019e4bb2-d27f-730a-a32d-54ed318826dc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_019e4bb2-d27f-74c3-8cd1-7c727ff4aa5e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_019e4bb2-d27f-7992-8297-31a3e19ecd26" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_019e4bb2-d27f-74c3-8cd1-7c727ff4aa5e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e4bb2-d27f-74c3-8cd1-7c727ff4aa5e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_019e4bb2-d27f-74c3-8cd1-7c727ff4aa5e" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e4bb2-d27f-74c3-8cd1-7c727ff4aa5e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e4bb2-d27f-7b88-96ec-5af030aa6cd2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_019e4bb2-d27f-74c3-8cd1-7c727ff4aa5e" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e4bb2-d27f-7b88-96ec-5af030aa6cd2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_PublicStockOfferingMember_019e4bb2-d27f-77fc-b785-54c1467bde58" xlink:href="rei-20260630.xsd#rei_PublicStockOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e4bb2-d27f-7b88-96ec-5af030aa6cd2" xlink:to="loc_rei_PublicStockOfferingMember_019e4bb2-d27f-77fc-b785-54c1467bde58" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OverAllotmentOptionMember_019fa21b-3740-7748-bdf4-e6f451504c5b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OverAllotmentOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e4bb2-d27f-7b88-96ec-5af030aa6cd2" xlink:to="loc_us-gaap_OverAllotmentOptionMember_019fa21b-3740-7748-bdf4-e6f451504c5b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightOutstanding_019e4bb2-d27f-7a58-b3b7-7b71857073a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfWarrantOrRightOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e4bb2-d27f-78c2-b1e6-caac474385fa" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_019e4bb2-d27f-7a58-b3b7-7b71857073a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_019e4bb2-d27f-77f2-8601-e845e1586611" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e4bb2-d27f-78c2-b1e6-caac474385fa" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_019e4bb2-d27f-77f2-8601-e845e1586611" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ClassOfWarrantOrRightNumberOfWarrantsExercisedDuringPeriod_019e4bb2-d27f-7f32-a25a-e3507413cdf9" xlink:href="rei-20260630.xsd#rei_ClassOfWarrantOrRightNumberOfWarrantsExercisedDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e4bb2-d27f-78c2-b1e6-caac474385fa" xlink:to="loc_rei_ClassOfWarrantOrRightNumberOfWarrantsExercisedDuringPeriod_019e4bb2-d27f-7f32-a25a-e3507413cdf9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_019e957c-508e-7639-b9f9-4bd755cbb949" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e4bb2-d27f-78c2-b1e6-caac474385fa" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_019e957c-508e-7639-b9f9-4bd755cbb949" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_019e957c-c580-700a-bf0c-3e1af4d033d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SaleOfStockPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e4bb2-d27f-78c2-b1e6-caac474385fa" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_019e957c-c580-700a-bf0c-3e1af4d033d1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ProceedsFromIssuanceOfCommonStockGross_019e8185-b917-74e4-b794-d0c6abece83e" xlink:href="rei-20260630.xsd#rei_ProceedsFromIssuanceOfCommonStockGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e4bb2-d27f-78c2-b1e6-caac474385fa" xlink:to="loc_rei_ProceedsFromIssuanceOfCommonStockGross_019e8185-b917-74e4-b794-d0c6abece83e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_019e957d-b98e-783b-af23-fd0ba1624ca4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e4bb2-d27f-78c2-b1e6-caac474385fa" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_019e957d-b98e-783b-af23-fd0ba1624ca4" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/SHAREBASEDCOMPENSATIONScheduleofShareBasedCompensationExpenseChargedAgainstIncomeForShareBasedAwardsDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#SHAREBASEDCOMPENSATIONScheduleofShareBasedCompensationExpenseChargedAgainstIncomeForShareBasedAwardsDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/SHAREBASEDCOMPENSATIONScheduleofShareBasedCompensationExpenseChargedAgainstIncomeForShareBasedAwardsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanLineItems_019e4bb2-d27f-78a6-81a4-23ddf83f2cd6" xlink:href="rei-20260630.xsd#rei_EmployeeStockOptionsAndRestrictedStockAwardPlanLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-70ce-b6a1-5d1ec693f374" xlink:href="rei-20260630.xsd#rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanLineItems_019e4bb2-d27f-78a6-81a4-23ddf83f2cd6" xlink:to="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-70ce-b6a1-5d1ec693f374" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7d3d-884b-fcbb110bcd35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-70ce-b6a1-5d1ec693f374" xlink:to="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7d3d-884b-fcbb110bcd35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7d3d-884b-fcbb110bcd35_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7d3d-884b-fcbb110bcd35" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7d3d-884b-fcbb110bcd35_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-763c-bdbe-53014679d4fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7d3d-884b-fcbb110bcd35" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-763c-bdbe-53014679d4fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019e4bb2-d27f-7af8-bfa3-13c2081569ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-763c-bdbe-53014679d4fe" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019e4bb2-d27f-7af8-bfa3-13c2081569ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_019e4bb2-d27f-7e64-a2d1-64c7554648c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-763c-bdbe-53014679d4fe" xlink:to="loc_us-gaap_RestrictedStockMember_019e4bb2-d27f-7e64-a2d1-64c7554648c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-7627-b369-cee75de8afdc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-763c-bdbe-53014679d4fe" xlink:to="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-7627-b369-cee75de8afdc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e4bb2-d27f-7c4c-8e74-9a93f5e2c712" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanLineItems_019e4bb2-d27f-78a6-81a4-23ddf83f2cd6" xlink:to="loc_us-gaap_ShareBasedCompensation_019e4bb2-d27f-7c4c-8e74-9a93f5e2c712" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CompensationExpensesChargedAgainstIncomeForShareBasedAwardsIncludedInGeneralAndAdministrativeExpenses_019e4bb2-d27f-7958-ae5b-d7a2170bd4a7" xlink:href="rei-20260630.xsd#rei_CompensationExpensesChargedAgainstIncomeForShareBasedAwardsIncludedInGeneralAndAdministrativeExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanLineItems_019e4bb2-d27f-78a6-81a4-23ddf83f2cd6" xlink:to="loc_rei_CompensationExpensesChargedAgainstIncomeForShareBasedAwardsIncludedInGeneralAndAdministrativeExpenses_019e4bb2-d27f-7958-ae5b-d7a2170bd4a7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/SHAREBASEDCOMPENSATIONNarrativeDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#SHAREBASEDCOMPENSATIONNarrativeDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/SHAREBASEDCOMPENSATIONNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7c5c-aea9-17e0586d3ce3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-74cd-a771-d40d715a1627" xlink:href="rei-20260630.xsd#rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7c5c-aea9-17e0586d3ce3" xlink:to="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-74cd-a771-d40d715a1627" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019e4bb2-d27f-79d2-875c-5733395c0ce1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-74cd-a771-d40d715a1627" xlink:to="loc_us-gaap_PlanNameAxis_019e4bb2-d27f-79d2-875c-5733395c0ce1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019e4bb2-d27f-79d2-875c-5733395c0ce1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019e4bb2-d27f-79d2-875c-5733395c0ce1" xlink:to="loc_us-gaap_PlanNameDomain_019e4bb2-d27f-79d2-875c-5733395c0ce1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019e4bb2-d27f-768e-ba49-d8bce28e6dda" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019e4bb2-d27f-79d2-875c-5733395c0ce1" xlink:to="loc_us-gaap_PlanNameDomain_019e4bb2-d27f-768e-ba49-d8bce28e6dda" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_LongTermIncentivePlan2011PlanMember_019e4bb2-d27f-7e39-a82d-2c2f8641a1d5" xlink:href="rei-20260630.xsd#rei_LongTermIncentivePlan2011PlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e4bb2-d27f-768e-ba49-d8bce28e6dda" xlink:to="loc_rei_LongTermIncentivePlan2011PlanMember_019e4bb2-d27f-7e39-a82d-2c2f8641a1d5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OmnibusIncentivePlan2021PlanMember_019e4bb2-d27f-7d7f-a676-c7f252c73e72" xlink:href="rei-20260630.xsd#rei_OmnibusIncentivePlan2021PlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e4bb2-d27f-768e-ba49-d8bce28e6dda" xlink:to="loc_rei_OmnibusIncentivePlan2021PlanMember_019e4bb2-d27f-7d7f-a676-c7f252c73e72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_InducementPlanMember_019e4bb2-d27f-729e-97a2-0967c078ed2f" xlink:href="rei-20260630.xsd#rei_InducementPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e4bb2-d27f-768e-ba49-d8bce28e6dda" xlink:to="loc_rei_InducementPlanMember_019e4bb2-d27f-729e-97a2-0967c078ed2f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7f4a-b992-e20f0bc71685" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-74cd-a771-d40d715a1627" xlink:to="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7f4a-b992-e20f0bc71685" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7f4a-b992-e20f0bc71685_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7f4a-b992-e20f0bc71685" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7f4a-b992-e20f0bc71685_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-73c2-bdb5-583e3be6ae78" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7f4a-b992-e20f0bc71685" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-73c2-bdb5-583e3be6ae78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e4bb2-d27f-7f37-953b-f64351264e8b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-73c2-bdb5-583e3be6ae78" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e4bb2-d27f-7f37-953b-f64351264e8b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-769c-8d97-f2f16e7a8a35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-73c2-bdb5-583e3be6ae78" xlink:to="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-769c-8d97-f2f16e7a8a35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019e4bb2-d27f-7d0b-be7d-33b74dcaeb77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-73c2-bdb5-583e3be6ae78" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019e4bb2-d27f-7d0b-be7d-33b74dcaeb77" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019e4bb2-d27f-7416-910a-bc1fefcd1e29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7c5c-aea9-17e0586d3ce3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019e4bb2-d27f-7416-910a-bc1fefcd1e29" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_019e4bb2-d27f-78dd-93d4-a5f4783f5c9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7c5c-aea9-17e0586d3ce3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_019e4bb2-d27f-78dd-93d4-a5f4783f5c9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased_019e4bb2-d27f-7542-b506-c49e1581e553" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7c5c-aea9-17e0586d3ce3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased_019e4bb2-d27f-7542-b506-c49e1581e553" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019e4bb2-d27f-70d5-a1a0-cead91b4ee8b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7c5c-aea9-17e0586d3ce3" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019e4bb2-d27f-70d5-a1a0-cead91b4ee8b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_019e4bb2-d27f-790d-adb4-f4b5977859a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7c5c-aea9-17e0586d3ce3" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_019e4bb2-d27f-790d-adb4-f4b5977859a0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_019e4bb2-d27f-781c-a1a9-3c3a6ebd783a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7c5c-aea9-17e0586d3ce3" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_019e4bb2-d27f-781c-a1a9-3c3a6ebd783a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019e4bb2-d27f-734a-894c-4b7d41c4ad32" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7c5c-aea9-17e0586d3ce3" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019e4bb2-d27f-734a-894c-4b7d41c4ad32" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/SHAREBASEDCOMPENSATIONScheduleofStatusoftheStockOptionsDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#SHAREBASEDCOMPENSATIONScheduleofStatusoftheStockOptionsDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/SHAREBASEDCOMPENSATIONScheduleofStatusoftheStockOptionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7ed0-a76c-2e57aaf3fc2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-7ec5-8202-170c593e1996" xlink:href="rei-20260630.xsd#rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7ed0-a76c-2e57aaf3fc2b" xlink:to="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-7ec5-8202-170c593e1996" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-705b-8419-8085f33ff202" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-7ec5-8202-170c593e1996" xlink:to="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-705b-8419-8085f33ff202" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-705b-8419-8085f33ff202_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-705b-8419-8085f33ff202" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-705b-8419-8085f33ff202_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-796c-92da-1ca156416f29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-705b-8419-8085f33ff202" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-796c-92da-1ca156416f29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019e4bb2-d27f-7dae-a49d-12c9c28af01d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-796c-92da-1ca156416f29" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019e4bb2-d27f-7dae-a49d-12c9c28af01d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019e4bb2-d27f-7a9a-a655-ef863b744d77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7ed0-a76c-2e57aaf3fc2b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019e4bb2-d27f-7a9a-a655-ef863b744d77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019e4bb2-d27f-73a1-99cf-a16dcf64691b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019e4bb2-d27f-7a9a-a655-ef863b744d77" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019e4bb2-d27f-73a1-99cf-a16dcf64691b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_019e4bb2-d27f-72c4-838e-d35d2fb3dc23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019e4bb2-d27f-7a9a-a655-ef863b744d77" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_019e4bb2-d27f-72c4-838e-d35d2fb3dc23" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_019e4bb2-d27f-726a-9ba5-f3f45e084f04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019e4bb2-d27f-7a9a-a655-ef863b744d77" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_019e4bb2-d27f-726a-9ba5-f3f45e084f04" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod_019e4bb2-d27f-7ed3-b5cd-f80d95a7f196" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019e4bb2-d27f-7a9a-a655-ef863b744d77" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod_019e4bb2-d27f-7ed3-b5cd-f80d95a7f196" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019e4bb2-d27f-71a4-9ab7-9febcbf7b378" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019e4bb2-d27f-7a9a-a655-ef863b744d77" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019e4bb2-d27f-71a4-9ab7-9febcbf7b378" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019e4bb2-d27f-7738-aeb3-d947af7063b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_019e4bb2-d27f-77c5-a286-c3d9e19cd1d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7ed0-a76c-2e57aaf3fc2b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_019e4bb2-d27f-77c5-a286-c3d9e19cd1d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019e4bb2-d27f-7845-818c-f9698d81a74c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7ed0-a76c-2e57aaf3fc2b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019e4bb2-d27f-7845-818c-f9698d81a74c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_019e4bb2-d27f-76c3-81b8-f8eeee46bc5a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019e4bb2-d27f-7845-818c-f9698d81a74c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_019e4bb2-d27f-76c3-81b8-f8eeee46bc5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_019e4bb2-d27f-7e25-a465-0be4ec72b6d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019e4bb2-d27f-7845-818c-f9698d81a74c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_019e4bb2-d27f-7e25-a465-0be4ec72b6d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_019e4bb2-d27f-716a-9b0c-22ceb81f6055" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019e4bb2-d27f-7845-818c-f9698d81a74c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_019e4bb2-d27f-716a-9b0c-22ceb81f6055" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice_019e4bb2-d27f-7c96-83a5-e10262b520c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019e4bb2-d27f-7845-818c-f9698d81a74c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice_019e4bb2-d27f-7c96-83a5-e10262b520c1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_019e4bb2-d27f-74a7-bca0-635218c5c0ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019e4bb2-d27f-7845-818c-f9698d81a74c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_019e4bb2-d27f-74a7-bca0-635218c5c0ee" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_019e4bb2-d27f-7196-858e-0f863c64e14e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_019e4bb2-d27f-7341-9c5e-1acf1cd570b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7ed0-a76c-2e57aaf3fc2b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_019e4bb2-d27f-7341-9c5e-1acf1cd570b3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_019e4bb2-d27f-716a-a431-9fb7747621f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7ed0-a76c-2e57aaf3fc2b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_019e4bb2-d27f-716a-a431-9fb7747621f4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_019e4bb2-d27f-73af-a124-3afa0c33171f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_019e4bb2-d27f-716a-a431-9fb7747621f4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_019e4bb2-d27f-73af-a124-3afa0c33171f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_019e4bb2-d27f-7611-937b-7b5100b95d76" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_019e4bb2-d27f-716a-a431-9fb7747621f4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_019e4bb2-d27f-7611-937b-7b5100b95d76" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_019e4bb2-d27f-7867-b241-5be187790c30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_019e4bb2-d27f-716a-a431-9fb7747621f4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_019e4bb2-d27f-7867-b241-5be187790c30" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/SHAREBASEDCOMPENSATIONScheduleofRestrictedStockUnitOutstandingandPerformanceStockUnitOutstandingDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#SHAREBASEDCOMPENSATIONScheduleofRestrictedStockUnitOutstandingandPerformanceStockUnitOutstandingDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/SHAREBASEDCOMPENSATIONScheduleofRestrictedStockUnitOutstandingandPerformanceStockUnitOutstandingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7403-a789-09253a744be1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-788b-8de0-574c9e52ff67" xlink:href="rei-20260630.xsd#rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7403-a789-09253a744be1" xlink:to="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-788b-8de0-574c9e52ff67" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7b98-a05e-c1ffd0123fff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rei_EmployeeStockOptionsAndRestrictedStockAwardPlanTable_019e4bb2-d27f-788b-8de0-574c9e52ff67" xlink:to="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7b98-a05e-c1ffd0123fff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7b98-a05e-c1ffd0123fff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7b98-a05e-c1ffd0123fff" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-7b98-a05e-c1ffd0123fff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-703c-9c89-33bcca0fd206" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-7b98-a05e-c1ffd0123fff" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-703c-9c89-33bcca0fd206" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e4bb2-d27f-7932-a9fd-03e36bfff6dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-703c-9c89-33bcca0fd206" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e4bb2-d27f-7932-a9fd-03e36bfff6dd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-7def-b9b0-dadbcae04243" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-703c-9c89-33bcca0fd206" xlink:to="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-7def-b9b0-dadbcae04243" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e4bb2-d27f-74f3-82a4-2e83ca3e2137" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7403-a789-09253a744be1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e4bb2-d27f-74f3-82a4-2e83ca3e2137" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019e4bb2-d27f-7f3f-a9f3-fd859abb0484" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e4bb2-d27f-74f3-82a4-2e83ca3e2137" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019e4bb2-d27f-7f3f-a9f3-fd859abb0484" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019e4bb2-d27f-7cc0-9eb4-21af6ef82879" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e4bb2-d27f-74f3-82a4-2e83ca3e2137" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019e4bb2-d27f-7cc0-9eb4-21af6ef82879" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019e4bb2-d27f-7ca1-ab60-789c873a26a7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e4bb2-d27f-74f3-82a4-2e83ca3e2137" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019e4bb2-d27f-7ca1-ab60-789c873a26a7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019e4bb2-d27f-7e9c-bbaf-ceed3811347b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019e4bb2-d27f-74f3-82a4-2e83ca3e2137" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019e4bb2-d27f-7e9c-bbaf-ceed3811347b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019e4bb2-d27f-748e-bb85-44dae7d54f5e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e4bb2-d27f-7024-b076-84e3d608f77e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019e4bb2-d27f-7403-a789-09253a744be1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e4bb2-d27f-7024-b076-84e3d608f77e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019e4bb2-d27f-7034-bcde-ceabbd9a42bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e4bb2-d27f-7024-b076-84e3d608f77e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019e4bb2-d27f-7034-bcde-ceabbd9a42bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019e4bb2-d27f-7cc2-8d30-9303236c248b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e4bb2-d27f-7024-b076-84e3d608f77e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019e4bb2-d27f-7cc2-8d30-9303236c248b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019e4bb2-d27f-7b02-be5f-4b78204830f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e4bb2-d27f-7024-b076-84e3d608f77e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019e4bb2-d27f-7b02-be5f-4b78204830f5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019e4bb2-d27f-7257-8a3f-5c16cccc7a89" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019e4bb2-d27f-7024-b076-84e3d608f77e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019e4bb2-d27f-7257-8a3f-5c16cccc7a89" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019e4bb2-d27f-71c2-8d58-d21ba5cc809f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/COMMITMENTSANDCONTINGENCIESDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#COMMITMENTSANDCONTINGENCIESDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/COMMITMENTSANDCONTINGENCIESDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_019e4bb2-d27f-7e76-a588-585eeb832fc3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_019e4bb2-d27f-7d21-b737-9db5580f3e85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_019e4bb2-d27f-7e76-a588-585eeb832fc3" xlink:to="loc_us-gaap_LossContingenciesTable_019e4bb2-d27f-7d21-b737-9db5580f3e85" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_019e4bb2-d27f-7277-a99c-2a32f8fe7461" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019e4bb2-d27f-7d21-b737-9db5580f3e85" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_019e4bb2-d27f-7277-a99c-2a32f8fe7461" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_019e4bb2-d27f-7277-a99c-2a32f8fe7461_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_019e4bb2-d27f-7277-a99c-2a32f8fe7461" xlink:to="loc_us-gaap_LossContingencyNatureDomain_019e4bb2-d27f-7277-a99c-2a32f8fe7461_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_019e4bb2-d27f-7954-bf56-99ccf09327be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_019e4bb2-d27f-7277-a99c-2a32f8fe7461" xlink:to="loc_us-gaap_LossContingencyNatureDomain_019e4bb2-d27f-7954-bf56-99ccf09327be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SuretyBondMember_019e4bb2-d27f-7142-871d-23947934d90b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SuretyBondMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_019e4bb2-d27f-7954-bf56-99ccf09327be" xlink:to="loc_us-gaap_SuretyBondMember_019e4bb2-d27f-7142-871d-23947934d90b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_019e4bb2-d27f-74de-abc0-d4ff0c6bd109" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019e4bb2-d27f-7d21-b737-9db5580f3e85" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_019e4bb2-d27f-74de-abc0-d4ff0c6bd109" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-74de-abc0-d4ff0c6bd109_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_019e4bb2-d27f-74de-abc0-d4ff0c6bd109" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-74de-abc0-d4ff0c6bd109_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-762c-98d3-643583a09840" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_019e4bb2-d27f-74de-abc0-d4ff0c6bd109" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-762c-98d3-643583a09840" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SuretyBondMember_019e4bb2-d27f-72f8-8691-1571de4dc529" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SuretyBondMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_019e4bb2-d27f-762c-98d3-643583a09840" xlink:to="loc_us-gaap_SuretyBondMember_019e4bb2-d27f-72f8-8691-1571de4dc529" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e4bb2-d27f-7cc5-a4ab-f6d14dc8e13a" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019e4bb2-d27f-7d21-b737-9db5580f3e85" xlink:to="loc_dei_LegalEntityAxis_019e4bb2-d27f-7cc5-a4ab-f6d14dc8e13a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e4bb2-d27f-7cc5-a4ab-f6d14dc8e13a_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e4bb2-d27f-7cc5-a4ab-f6d14dc8e13a" xlink:to="loc_dei_EntityDomain_019e4bb2-d27f-7cc5-a4ab-f6d14dc8e13a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e4bb2-d27f-7328-9b6a-50423b80ad1c" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e4bb2-d27f-7cc5-a4ab-f6d14dc8e13a" xlink:to="loc_dei_EntityDomain_019e4bb2-d27f-7328-9b6a-50423b80ad1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_InsuranceCompanyOneMember_019e4bb2-d27f-7258-bc18-7d1a567cac25" xlink:href="rei-20260630.xsd#rei_InsuranceCompanyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e4bb2-d27f-7328-9b6a-50423b80ad1c" xlink:to="loc_rei_InsuranceCompanyOneMember_019e4bb2-d27f-7258-bc18-7d1a567cac25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_InsuranceCompanyTwoMember_019e4bb2-d27f-7e14-9db2-42d46134d605" xlink:href="rei-20260630.xsd#rei_InsuranceCompanyTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e4bb2-d27f-7328-9b6a-50423b80ad1c" xlink:to="loc_rei_InsuranceCompanyTwoMember_019e4bb2-d27f-7e14-9db2-42d46134d605" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019e4bb2-d27f-734b-80a6-084d31a203b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019e4bb2-d27f-7d21-b737-9db5580f3e85" xlink:to="loc_us-gaap_CreditFacilityAxis_019e4bb2-d27f-734b-80a6-084d31a203b1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-734b-80a6-084d31a203b1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019e4bb2-d27f-734b-80a6-084d31a203b1" xlink:to="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-734b-80a6-084d31a203b1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-772b-9fd6-fb9a3875d565" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019e4bb2-d27f-734b-80a6-084d31a203b1" xlink:to="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-772b-9fd6-fb9a3875d565" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_019e4bb2-d27f-7e0d-ac02-09ee9a553b3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019e4bb2-d27f-772b-9fd6-fb9a3875d565" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_019e4bb2-d27f-7e0d-ac02-09ee9a553b3c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_019e4bb2-d27f-7427-b74b-3c53a3f19160" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019e4bb2-d27f-7d21-b737-9db5580f3e85" xlink:to="loc_srt_CounterpartyNameAxis_019e4bb2-d27f-7427-b74b-3c53a3f19160" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e4bb2-d27f-7427-b74b-3c53a3f19160_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_019e4bb2-d27f-7427-b74b-3c53a3f19160" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e4bb2-d27f-7427-b74b-3c53a3f19160_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e4bb2-d27f-73bf-94ad-f80e0cbea549" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_019e4bb2-d27f-7427-b74b-3c53a3f19160" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e4bb2-d27f-73bf-94ad-f80e0cbea549" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_FederalAgenciesMember_019e4bb2-d27f-779c-b90a-61e5ef3f5723" xlink:href="rei-20260630.xsd#rei_FederalAgenciesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e4bb2-d27f-73bf-94ad-f80e0cbea549" xlink:to="loc_rei_FederalAgenciesMember_019e4bb2-d27f-779c-b90a-61e5ef3f5723" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_InsuranceCompanyMember_019e4bb2-d27f-7c5a-af24-926ecea32e9d" xlink:href="rei-20260630.xsd#rei_InsuranceCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e4bb2-d27f-73bf-94ad-f80e0cbea549" xlink:to="loc_rei_InsuranceCompanyMember_019e4bb2-d27f-7c5a-af24-926ecea32e9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_019e4bb2-d27f-7bc5-94eb-216f94844f2d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsCurrentCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019e4bb2-d27f-7e76-a588-585eeb832fc3" xlink:to="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_019e4bb2-d27f-7bc5-94eb-216f94844f2d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_SuretyBondsValue_019e4bb2-d27f-7633-be20-54aebe5acb63" xlink:href="rei-20260630.xsd#rei_SuretyBondsValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019e4bb2-d27f-7e76-a588-585eeb832fc3" xlink:to="loc_rei_SuretyBondsValue_019e4bb2-d27f-7633-be20-54aebe5acb63" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ExpenseRelatingToSuretyBondsPaid_019e4bb2-d27f-771d-b29a-24bed6636a0c" xlink:href="rei-20260630.xsd#rei_ExpenseRelatingToSuretyBondsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019e4bb2-d27f-7e76-a588-585eeb832fc3" xlink:to="loc_rei_ExpenseRelatingToSuretyBondsPaid_019e4bb2-d27f-771d-b29a-24bed6636a0c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_019e4bb2-d27f-782b-ad62-3f8ad108ef6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019e4bb2-d27f-7e76-a588-585eeb832fc3" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_019e4bb2-d27f-782b-ad62-3f8ad108ef6a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019e4bb2-d27f-747f-8d4d-6a8d4387ae9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019e4bb2-d27f-7e76-a588-585eeb832fc3" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019e4bb2-d27f-747f-8d4d-6a8d4387ae9d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AmountsDrawnUnderTheStandbyLettersOfCredit_019e4bb2-d27f-701b-aa6c-c8868e499037" xlink:href="rei-20260630.xsd#rei_AmountsDrawnUnderTheStandbyLettersOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019e4bb2-d27f-7e76-a588-585eeb832fc3" xlink:to="loc_rei_AmountsDrawnUnderTheStandbyLettersOfCredit_019e4bb2-d27f-701b-aa6c-c8868e499037" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/SEGMENTREPORTINGScheduleofSegmentReportingInformationDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#SEGMENTREPORTINGScheduleofSegmentReportingInformationDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/SEGMENTREPORTINGScheduleofSegmentReportingInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-76b1-9816-0342520e177b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-7dbb-8e2a-fa90dcc28824" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-76b1-9816-0342520e177b" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-7dbb-8e2a-fa90dcc28824" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-784b-a8c3-7948d1c673ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-7dbb-8e2a-fa90dcc28824" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-784b-a8c3-7948d1c673ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019e4bb2-d27f-784b-a8c3-7948d1c673ce_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-784b-a8c3-7948d1c673ce" xlink:to="loc_us-gaap_SegmentDomain_019e4bb2-d27f-784b-a8c3-7948d1c673ce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019e4bb2-d27f-7c70-87b7-5c67a367dd74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-784b-a8c3-7948d1c673ce" xlink:to="loc_us-gaap_SegmentDomain_019e4bb2-d27f-7c70-87b7-5c67a367dd74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ReportableSegmentMember_019e4bb2-d27f-7b50-b9be-0a9508975849" xlink:href="rei-20260630.xsd#rei_ReportableSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019e4bb2-d27f-7c70-87b7-5c67a367dd74" xlink:to="loc_rei_ReportableSegmentMember_019e4bb2-d27f-7b50-b9be-0a9508975849" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-7dfa-9150-d0cd7f00aabf" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-7dbb-8e2a-fa90dcc28824" xlink:to="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-7dfa-9150-d0cd7f00aabf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7dfa-9150-d0cd7f00aabf_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-7dfa-9150-d0cd7f00aabf" xlink:to="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7dfa-9150-d0cd7f00aabf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7ba5-8b76-54aef06cc6ab" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-7dfa-9150-d0cd7f00aabf" xlink:to="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7ba5-8b76-54aef06cc6ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019e4bb2-d27f-7fbc-ae1d-436027a22ff1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7ba5-8b76-54aef06cc6ab" xlink:to="loc_us-gaap_OperatingSegmentsMember_019e4bb2-d27f-7fbc-ae1d-436027a22ff1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e4bb2-d27f-73a4-9d40-63521927a21e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-76b1-9816-0342520e177b" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e4bb2-d27f-73a4-9d40-63521927a21e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DirectCostsOfLeaseOperatingExpenses_019e4bb2-d27f-78d4-b351-30039711f918" xlink:href="rei-20260630.xsd#rei_DirectCostsOfLeaseOperatingExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-76b1-9816-0342520e177b" xlink:to="loc_rei_DirectCostsOfLeaseOperatingExpenses_019e4bb2-d27f-78d4-b351-30039711f918" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CostOfGoodsAndServicesSoldIncludingPayoutAdjustments_019e4bb2-d27f-7bc1-a94f-5271f82ba5e7" xlink:href="rei-20260630.xsd#rei_CostOfGoodsAndServicesSoldIncludingPayoutAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-76b1-9816-0342520e177b" xlink:to="loc_rei_CostOfGoodsAndServicesSoldIncludingPayoutAdjustments_019e4bb2-d27f-7bc1-a94f-5271f82ba5e7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AdValoremTaxes_019e4bb2-d27f-724b-9518-10dfb2399d92" xlink:href="rei-20260630.xsd#rei_AdValoremTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-76b1-9816-0342520e177b" xlink:to="loc_rei_AdValoremTaxes_019e4bb2-d27f-724b-9518-10dfb2399d92" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductionTaxExpense_019e4bb2-d27f-76ac-8a7a-e9810d8c3527" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductionTaxExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-76b1-9816-0342520e177b" xlink:to="loc_us-gaap_ProductionTaxExpense_019e4bb2-d27f-76ac-8a7a-e9810d8c3527" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e4bb2-d27f-7580-ad08-b2661f2130bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-76b1-9816-0342520e177b" xlink:to="loc_us-gaap_NetIncomeLoss_019e4bb2-d27f-7580-ad08-b2661f2130bc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeAndExpensesLesseeAbstract_019e4bb2-d27f-7962-9cd3-cb9952bf2ce6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeAndExpensesLesseeAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-76b1-9816-0342520e177b" xlink:to="loc_us-gaap_IncomeAndExpensesLesseeAbstract_019e4bb2-d27f-7962-9cd3-cb9952bf2ce6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OperatingLeaseWorkoverExpense_019e4bb2-d27f-79a4-8448-3f63907868d0" xlink:href="rei-20260630.xsd#rei_OperatingLeaseWorkoverExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeAndExpensesLesseeAbstract_019e4bb2-d27f-7962-9cd3-cb9952bf2ce6" xlink:to="loc_rei_OperatingLeaseWorkoverExpense_019e4bb2-d27f-79a4-8448-3f63907868d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_OperatingLeaseOtherExpense_019e4bb2-d27f-7346-9c73-4c6057a7a339" xlink:href="rei-20260630.xsd#rei_OperatingLeaseOtherExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeAndExpensesLesseeAbstract_019e4bb2-d27f-7962-9cd3-cb9952bf2ce6" xlink:to="loc_rei_OperatingLeaseOtherExpense_019e4bb2-d27f-7346-9c73-4c6057a7a339" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DirectCostsOfLeaseOperatingExpenses_019e4bb2-d27f-7063-a5da-ac81e2925c78" xlink:href="rei-20260630.xsd#rei_DirectCostsOfLeaseOperatingExpenses"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/SEGMENTREPORTINGScheduleofReconciliationofTotalReportableSegmentsMeasuresofProfitLossDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#SEGMENTREPORTINGScheduleofReconciliationofTotalReportableSegmentsMeasuresofProfitLossDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/SEGMENTREPORTINGScheduleofReconciliationofTotalReportableSegmentsMeasuresofProfitLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-7ec1-82e6-2b93bb3bd0ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-7ec1-82e6-2b93bb3bd0ea" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-7163-b2b7-ef577769b17b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-7ec1-82e6-2b93bb3bd0ea" xlink:to="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-7163-b2b7-ef577769b17b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7163-b2b7-ef577769b17b_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-7163-b2b7-ef577769b17b" xlink:to="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7163-b2b7-ef577769b17b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-71a2-a85b-632247bb2e5b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-7163-b2b7-ef577769b17b" xlink:to="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-71a2-a85b-632247bb2e5b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019e4bb2-d27f-7037-904d-815881497165" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-71a2-a85b-632247bb2e5b" xlink:to="loc_us-gaap_OperatingSegmentsMember_019e4bb2-d27f-7037-904d-815881497165" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_019e4bb2-d27f-73ad-affc-ab0993127432" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-71a2-a85b-632247bb2e5b" xlink:to="loc_us-gaap_CorporateNonSegmentMember_019e4bb2-d27f-73ad-affc-ab0993127432" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-79a4-84c9-5f958d41cab3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-7ec1-82e6-2b93bb3bd0ea" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-79a4-84c9-5f958d41cab3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019e4bb2-d27f-79a4-84c9-5f958d41cab3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-79a4-84c9-5f958d41cab3" xlink:to="loc_us-gaap_SegmentDomain_019e4bb2-d27f-79a4-84c9-5f958d41cab3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019e4bb2-d27f-7b8d-8021-d60643a8c4e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-79a4-84c9-5f958d41cab3" xlink:to="loc_us-gaap_SegmentDomain_019e4bb2-d27f-7b8d-8021-d60643a8c4e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ReportableSegmentMember_019e4bb2-d27f-7a4e-8069-bf81e48d70b2" xlink:href="rei-20260630.xsd#rei_ReportableSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019e4bb2-d27f-7b8d-8021-d60643a8c4e6" xlink:to="loc_rei_ReportableSegmentMember_019e4bb2-d27f-7a4e-8069-bf81e48d70b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e4bb2-d27f-7baf-9c41-0df3f8336c2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e4bb2-d27f-7baf-9c41-0df3f8336c2f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_DirectCostsOfLeaseOperatingExpenses_019e4bb2-d27f-7b9c-ba7f-a707ca9ed3b3" xlink:href="rei-20260630.xsd#rei_DirectCostsOfLeaseOperatingExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_rei_DirectCostsOfLeaseOperatingExpenses_019e4bb2-d27f-7b9c-ba7f-a707ca9ed3b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_CostOfGoodsAndServicesSoldIncludingPayoutAdjustments_019e4bb2-d27f-7c90-9cf9-b58e77a66e45" xlink:href="rei-20260630.xsd#rei_CostOfGoodsAndServicesSoldIncludingPayoutAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_rei_CostOfGoodsAndServicesSoldIncludingPayoutAdjustments_019e4bb2-d27f-7c90-9cf9-b58e77a66e45" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_AdValoremTaxes_019e4bb2-d27f-755f-86bd-c2c751507e24" xlink:href="rei-20260630.xsd#rei_AdValoremTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_rei_AdValoremTaxes_019e4bb2-d27f-755f-86bd-c2c751507e24" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductionTaxExpense_019e4bb2-d27f-76a4-8580-651c292b1c45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductionTaxExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_ProductionTaxExpense_019e4bb2-d27f-76a4-8580-651c292b1c45" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e4bb2-d27f-7921-8f54-525e312a67e9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e4bb2-d27f-7921-8f54-525e312a67e9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfOilAndGasProperties_019e4bb2-d27f-730b-9131-d56407077b45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfOilAndGasProperties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_ImpairmentOfOilAndGasProperties_019e4bb2-d27f-730b-9131-d56407077b45" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligationAccretionExpense_019e4bb2-d27f-7d69-869b-7845d48e2e72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligationAccretionExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_AssetRetirementObligationAccretionExpense_019e4bb2-d27f-7d69-869b-7845d48e2e72" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_019e4bb2-d27f-7bc0-a826-8ce8f72ba359" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_OperatingLeaseExpense_019e4bb2-d27f-7bc0-a826-8ce8f72ba359" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e4bb2-d27f-7d23-9fa1-7aa55250405b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e4bb2-d27f-7d23-9fa1-7aa55250405b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019e4bb2-d27f-7b26-838c-e212f836de90" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019e4bb2-d27f-7b26-838c-e212f836de90" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019e4bb2-d27f-77d8-9b88-fa2f8e62ca42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019e4bb2-d27f-77d8-9b88-fa2f8e62ca42" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_019e4bb2-d27f-7faa-a472-732fb8d04fe9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_019e4bb2-d27f-7faa-a472-732fb8d04fe9" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets_019e4bb2-d27f-7185-8182-91ed4bc39afb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets_019e4bb2-d27f-7185-8182-91ed4bc39afb" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncome_019e4bb2-d27f-790d-91de-d0707ddcba22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_OtherNonoperatingIncome_019e4bb2-d27f-790d-91de-d0707ddcba22" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e4bb2-d27f-7c96-80ef-1a75cff2b1bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e4bb2-d27f-7c96-80ef-1a75cff2b1bc" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e4bb2-d27f-78a2-b1e4-9328931ab4fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_Assets_019e4bb2-d27f-78a2-b1e4-9328931ab4fa" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentExpenditureAdditionToLongLivedAssets_019e4bb2-d27f-771f-a4da-2e59df66d775" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentExpenditureAdditionToLongLivedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7d17-a998-2df529415a52" xlink:to="loc_us-gaap_SegmentExpenditureAdditionToLongLivedAssets_019e4bb2-d27f-771f-a4da-2e59df66d775" xlink:type="arc" order="17"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/SEGMENTREPORTINGScheduleofPurchasersofRevenuesDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#SEGMENTREPORTINGScheduleofPurchasersofRevenuesDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/SEGMENTREPORTINGScheduleofPurchasersofRevenuesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7668-9bb2-ed19c95e1fbb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-711f-b1da-767cebf218e9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7668-9bb2-ed19c95e1fbb" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-711f-b1da-767cebf218e9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-775a-955e-394eb4daeb77" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-711f-b1da-767cebf218e9" xlink:to="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-775a-955e-394eb4daeb77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-775a-955e-394eb4daeb77_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-775a-955e-394eb4daeb77" xlink:to="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-775a-955e-394eb4daeb77_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7ac3-96b2-2733c8d2762b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019e4bb2-d27f-775a-955e-394eb4daeb77" xlink:to="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7ac3-96b2-2733c8d2762b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019e4bb2-d27f-7f1d-9cf6-b5980353d1ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019e4bb2-d27f-7ac3-96b2-2733c8d2762b" xlink:to="loc_us-gaap_OperatingSegmentsMember_019e4bb2-d27f-7f1d-9cf6-b5980353d1ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019e4bb2-d27f-7c47-b87e-680578e7569a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-711f-b1da-767cebf218e9" xlink:to="loc_srt_ProductOrServiceAxis_019e4bb2-d27f-7c47-b87e-680578e7569a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e4bb2-d27f-7c47-b87e-680578e7569a_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019e4bb2-d27f-7c47-b87e-680578e7569a" xlink:to="loc_srt_ProductsAndServicesDomain_019e4bb2-d27f-7c47-b87e-680578e7569a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e4bb2-d27f-7158-89e5-205f3da0e7ee" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019e4bb2-d27f-7c47-b87e-680578e7569a" xlink:to="loc_srt_ProductsAndServicesDomain_019e4bb2-d27f-7158-89e5-205f3da0e7ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_Phillips66CompanyMember_019e4bb2-d27f-7012-bfdf-e6bfe449f281" xlink:href="rei-20260630.xsd#rei_Phillips66CompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e4bb2-d27f-7158-89e5-205f3da0e7ee" xlink:to="loc_rei_Phillips66CompanyMember_019e4bb2-d27f-7012-bfdf-e6bfe449f281" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ConcordEnergyLLCMember_019e4bb2-d27f-7af6-baf0-c422d1cde93e" xlink:href="rei-20260630.xsd#rei_ConcordEnergyLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e4bb2-d27f-7158-89e5-205f3da0e7ee" xlink:to="loc_rei_ConcordEnergyLLCMember_019e4bb2-d27f-7af6-baf0-c422d1cde93e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_EnergyTransferCrudeMarketingMember_019e4bb2-d27f-79f2-9664-ac4bf381dabc" xlink:href="rei-20260630.xsd#rei_EnergyTransferCrudeMarketingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e4bb2-d27f-7158-89e5-205f3da0e7ee" xlink:to="loc_rei_EnergyTransferCrudeMarketingMember_019e4bb2-d27f-79f2-9664-ac4bf381dabc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-74b2-a28f-8264ce7964e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-711f-b1da-767cebf218e9" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-74b2-a28f-8264ce7964e8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019e4bb2-d27f-74b2-a28f-8264ce7964e8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-74b2-a28f-8264ce7964e8" xlink:to="loc_us-gaap_SegmentDomain_019e4bb2-d27f-74b2-a28f-8264ce7964e8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019e4bb2-d27f-720d-84f1-8bdb2cb864b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019e4bb2-d27f-74b2-a28f-8264ce7964e8" xlink:to="loc_us-gaap_SegmentDomain_019e4bb2-d27f-720d-84f1-8bdb2cb864b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rei_ReportableSegmentMember_019e4bb2-d27f-7e6d-bd34-8016b30981ed" xlink:href="rei-20260630.xsd#rei_ReportableSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019e4bb2-d27f-720d-84f1-8bdb2cb864b8" xlink:to="loc_rei_ReportableSegmentMember_019e4bb2-d27f-7e6d-bd34-8016b30981ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e4bb2-d27f-7879-8784-503cdd566d56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-711f-b1da-767cebf218e9" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e4bb2-d27f-7879-8784-503cdd566d56" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d27f-7879-8784-503cdd566d56_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e4bb2-d27f-7879-8784-503cdd566d56" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d27f-7879-8784-503cdd566d56_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d27f-717a-9bf6-9091e7279c1f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e4bb2-d27f-7879-8784-503cdd566d56" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d27f-717a-9bf6-9091e7279c1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_019e4bb2-d27f-7257-a0e0-ca7ce2730cd8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e4bb2-d27f-717a-9bf6-9091e7279c1f" xlink:to="loc_us-gaap_SalesRevenueNetMember_019e4bb2-d27f-7257-a0e0-ca7ce2730cd8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019e4bb2-d27f-7592-a45a-540ff3f6d22d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e4bb2-d27f-711f-b1da-767cebf218e9" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019e4bb2-d27f-7592-a45a-540ff3f6d22d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d27f-7592-a45a-540ff3f6d22d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019e4bb2-d27f-7592-a45a-540ff3f6d22d" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d27f-7592-a45a-540ff3f6d22d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d27f-7140-8475-a7a042d7a274" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019e4bb2-d27f-7592-a45a-540ff3f6d22d" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d27f-7140-8475-a7a042d7a274" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_019e4bb2-d27f-7cc4-a7f8-6e934f48fc4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019e4bb2-d27f-7140-8475-a7a042d7a274" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_019e4bb2-d27f-7cc4-a7f8-6e934f48fc4e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019e4bb2-d27f-7f85-829c-4e4ab35c6f0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e4bb2-d27f-7668-9bb2-ed19c95e1fbb" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019e4bb2-d27f-7f85-829c-4e4ab35c6f0a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://ringenery.com/role/SUBSEQUENTEVENTSDetails" xlink:type="simple" xlink:href="rei-20260630.xsd#SUBSEQUENTEVENTSDetails"/>
  <link:definitionLink xlink:role="http://ringenery.com/role/SUBSEQUENTEVENTSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_019e4bb2-d27f-7d95-a82f-869c5210db16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_019e4bb2-d27f-745c-9365-1948cf626bec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_019e4bb2-d27f-7d95-a82f-869c5210db16" xlink:to="loc_us-gaap_SubsequentEventTable_019e4bb2-d27f-745c-9365-1948cf626bec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-775a-bfaf-f7346b53bd29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019e4bb2-d27f-745c-9365-1948cf626bec" xlink:to="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-775a-bfaf-f7346b53bd29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-775a-bfaf-f7346b53bd29_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-775a-bfaf-f7346b53bd29" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-775a-bfaf-f7346b53bd29_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-71f1-892f-ccf294559241" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e4bb2-d27f-775a-bfaf-f7346b53bd29" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-71f1-892f-ccf294559241" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-739e-b8a6-674b372f071b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e4bb2-d27f-71f1-892f-ccf294559241" xlink:to="loc_us-gaap_PerformanceSharesMember_019e4bb2-d27f-739e-b8a6-674b372f071b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_019e4bb2-d27f-7097-8a0b-ec6c55f5b19a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_019e4bb2-d27f-7d95-a82f-869c5210db16" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_019e4bb2-d27f-7097-8a0b-ec6c55f5b19a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-roles-2026.xsd#eedm1"/>
  <link:definitionLink xlink:role="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_DerivativeAssetsCurrent" xlink:type="arc" order="101"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_DerivativeAssetsNoncurrent" xlink:type="arc" order="102"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent" xlink:type="arc" order="32"/>
  </link:definitionLink>
</link:linkbase>
