msfconsole -n

[MSP-10905](https://jira.tor.rapid7.com/secure/RapidBoard.jspa?rapidView=84&view=detail&selectedIssue=MSP-10905)

# Verification Steps

## Full bundle
- [x] `bundle install --without ''`

### with database
- [x] `./msfconsole`
- [x] VERIFY no boot errors.
- [x] VERIFY prompt is displayed
- [x] `exit`

### without database
- [x] `./msfconsole -n`
- [x] VERIFY no boot errors.
- [x] VERIFY warning that database support is disabled
- [x] VERIFY prompt is displayed
- [x] `exit`

### rake
- [x] `rake -T db`
- [x] VERIFY database tasks from active_record/railtie are defined.

## bundle without db

- [x] `bundle install --without db development pcap test`

### with database
- [x] `./msfconsole`
- [x] VERIFY warning that `Msf::DBManager` cannot create `Metasploit::Credential` 
```
metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for Msf::DBManager
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY warning that `Msf::Auxiliary::Rport cannot create `Metasploit::Credential` 
```
metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for Msf::Auxiliary::Report.
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY warning that activerecord is not bundled so database support disabled:
```
activerecord not in the bundle, so database support will be disabled.
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY  warning that there is no database support: 
```
[-] ***
[-] * WARNING: No database support: RuntimeError Bundle installed '--without db development test pcap'.  To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
[-] ***
```
- [x] VERIFY prompt is displayed
- [x] `exit`

### without database
- [ ] `./msfconsole -n`
- [ ] VERIFY warning that `Msf::DBManager` cannot create `Metasploit::Credential` 
```
metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for Msf::DBManager
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY warning that `Msf::Auxiliary::Rport cannot create `Metasploit::Credential` 
```
metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for Msf::Auxiliary::Report.
Bundle installed '--without db development test pcap'
To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or `rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`
```
- [ ] VERIFY warning that activerecord is not bundled is NOT shown.
- [x] VERIFY warning that there is no database support contains no error: 
```
[-] ***
[-] * WARNING: Database support has been disabled
[-] ***
```
- [x] VERIFY prompt is displayed
- [ ] `exit`

### rake
- [ ] `rake -T db`
- [ ] VERIFY warning that activerecord is not bundled is shown.
- [ ] VERIFY no tasks are printed

## specs
- [ ] `bundle install --without ''`
- [x] `rake spec`