<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Version>2.4.0.8</Version><ReportLongName>0013 - Disclosure - 7. Investment in RBMS</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><CurrencyCode /><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName /><CurrencySymbol /><contextRef><ContextID>From2011-07-01to2012-06-30</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0001020477</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2011-07-01T00:00:00</PeriodStartDate><PeriodEndDate>2012-06-30T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="12 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 30, 2012" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>1</Level><ElementName>ROBK_NotesToFinancialStatementsAbstract</ElementName><ElementPrefix>ROBK_</ElementPrefix><IsBaseElement>false</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Notes to Financial Statements</Label></Row><Row FlagID="0"><Id>2</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>2</Level><ElementName>ROBK_InvestmentInRbmsTextBlock</ElementName><ElementPrefix>ROBK_</ElementPrefix><IsBaseElement>false</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="From2011-07-01to2012-06-30" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;Upon formation of RBMS and the commencement of the management
agreement, the Company, RBL and an officer of the Company owned an aggregate 46.6% of the voting interests of RBMS and the remaining
units were sold to outside investors. Through June 30, 2011, the Company accounted for its investment in RBMS on the equity method
in accordance with ASC 810-10; as it did not meet all the requirements of a variable interest entity to consolidate; the outside
equity investors were not protected from the losses of the entity nor were they guaranteed a return by the legal entity; the outside
equity investors expected residual returns that were not capped by any arrangements or documents with other holders;&amp;#160;&amp;#160;and
the percent of ownership will be diluted by future financing of RBMS.&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;As of June 30, 2012, Management evaluated and determined that,&amp;#160;&amp;#160;at
the present time, the variable interest holders lack the direct and indirect ability to make decisions about the entity&amp;#146;s
activities and has determined that that the Company is the primary beneficiary of RBMS.&amp;#160;&amp;#160;&amp;#160;As a result, the financial
statements of RBMS have been included in the accompanying consolidated financial statements of the Company.&amp;#160;&amp;#160;The Company
owned an aggregate of 24.81% of the voting interest of RBMS, therefore a non-controlling interest representing 75.19% of the net
loss of RBMS has been reflected on the Statement of Operations as of June 30, 2012.&amp;#160;&amp;#160;In consolidation, the Company recorded
an adjustment to retained earnings of $651,478; the difference between the opening balance of retained earnings of RBMS of $1,219,995
and the prior equity loss recorded by the Company of $568,517.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;In connection with the proposed terms of the funding of the
Gulfport Casino Hotel Project (Note 6), holders of Class A Units of RBMS have agreed to convert their units into B Units to facilitate
the financing of the Gulfport project.&amp;#160;&amp;#160;Upon closing, the equity investor will own 60,000 B Units out of 100,000 authorized
and 70,588 outstanding, or 85% of RBMS. In addition, upon closing, RBMS will issue 29,412 warrants at an exercise price of $0.01,
to all other investors based on pre-negotiated percentages. Assuming all warrants are exercised, the equity investor will be diluted
to a 60% ownership. The Company will own at closing, B units and warrants that represent approximately 10% of the fully diluted
RBMS shares. Closing is anticipated to be on or before December 15, 2013.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Ground Lease&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;Effective October 20, 2010, RBMS entered into a ground lease
for the nine and a half acre site for the Gulfport Project.&amp;#160;&amp;#160;The Preliminary Term, as defined, remains in effect until
the earliest of the ninth month following the effective date or the date gaming operations begin on the leased property.&amp;#160;&amp;#160;During
the Preliminary Term, rent would be equal to $20,000, per month with no payment required until the earlier of the date the Lessee
commences construction on the premises or February 1, 2011. RBMS did not receive approval to proceed with the development of the
casino from the Mississippi Gaming Commission on or prior to March 1, 2011, and the lease terminated with no obligations due.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;Due to delays, the lease was amended on October 21, 2011 for
a term through October 31, 2069, with a fee payable of $25,000 to enter into the amended and restated lease and $50,000 as the
initial base rent payment.&amp;#160;&amp;#160;After the commencement of gaming operations, RBMS will pay an annual minimum base rent of
$600,000, as defined. On March 13, 2012 this ground lease was amended and extends the date for RBMS to obtain approval to proceed
to April 30, 2012.&amp;#160;&amp;#160;In consideration of this extension, RBMS agreed to pay a fee of $50,000. An additional extension
was entered into May 1, 2012 extending the approval date to August 31, 2012 and RBMS agreed to pay a fee for the extension of $110,000.&amp;#160;&amp;#160;On
August 18, 2012 the RBMS received its Approval to Proceed from the Mississippi Gaming Commission.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On April 9, 2012, the Mississippi Gaming Commission granted
to RBMS approval as a legal gaming site for a 9.5 acre site located in Gulfport Mississippi, however, on May 17, 2012 the Commission
denied the application to proceed with construction of the casino resort.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On August 16, 2012, the Commission voted to grant RBMS approval
to proceed with the Gulfport Project.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;</NonNumbericText><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>nonnum:textBlockItemType</ElementDataType><SimpleDataType>na</SimpleDataType><ElementDefenition>8. Investment in RBMS</ElementDefenition><ElementReferences>No definition available.</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>7. Investment in RBMS</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>7. Investment in RBMS</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>true</HasCustomUnits><IsEmbedReport>false</IsEmbedReport><IsMultiCurrency>false</IsMultiCurrency><ReportType>Sheet</ReportType><RoleURI>http://rotateblack.com/role/InvestmentInRbms</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows></InstanceReport>
