Skip to content

After installing tiny_tds, the command tsql fails with an implicit conversion error #374

Closed
@coderjoe

Description

@coderjoe

While testing #346 I found that tsql fails with the following error in 2.1.0.pre1:

root@freetds-test:~# tsql -C
[TinyTds][v2.1.0.pre1][tsql]: 
/var/lib/gems/2.3.0/gems/tiny_tds-2.1.0.pre1/bin/tsql:3:in `exit': no implicit conversion from nil to integer (TypeError)
        from /var/lib/gems/2.3.0/gems/tiny_tds-2.1.0.pre1/bin/tsql:3:in `<top (required)>'
        from /usr/local/bin/tsql:23:in `load'
        from /usr/local/bin/tsql:23:in `<main>'
root@freetds-test:~# tsql
[TinyTds][v2.1.0.pre1][tsql]: 
/var/lib/gems/2.3.0/gems/tiny_tds-2.1.0.pre1/bin/tsql:3:in `exit': no implicit conversion from nil to integer (TypeError)
        from /var/lib/gems/2.3.0/gems/tiny_tds-2.1.0.pre1/bin/tsql:3:in `<top (required)>'
        from /usr/local/bin/tsql:23:in `load'
        from /usr/local/bin/tsql:23:in `<main>'
root@freetds-test:~# tsql -H
[TinyTds][v2.1.0.pre1][tsql]: 
/var/lib/gems/2.3.0/gems/tiny_tds-2.1.0.pre1/bin/tsql:3:in `exit': no implicit conversion from nil to integer (TypeError)
        from /var/lib/gems/2.3.0/gems/tiny_tds-2.1.0.pre1/bin/tsql:3:in `<top (required)>'
        from /usr/local/bin/tsql:23:in `load'
        from /usr/local/bin/tsql:23:in `<main>'
root@freetds-test:~#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions