Hello,
I have a local mysql database that I try to connect to from Textmate 2.0.
When I define the connection setting in configuration dialog, and try to
submit to query, I get this error message:
undefined method `force_encoding' for #
I am on Mac OS X 10.11 and I installed the latest sql bundle from Github.
All that I have found are about Ruby and nothing specifically about SQL
bundle. Any suggestion on how to fix this problem?
Best,
Hooman
I’m working on a bundle to add Markdown Extra to the stock Markdown language grammar with an injection. I have some of it working, but can’t seem to build the right regex to find the added classes syntax.
Here’s the Markdown Extra in question:
![Vagrant Logo](/images/icons/vagrant-logo.png){.image-right .image-33}When developing web sites on the Mac, we have a number of choices for serving the content and design we're working on.
I’m after the {.image-right .image-33} part and I’ve tried:
{ patterns = (
{ name = 'source.yaml.front-matter';
begin = '\A-{3}';
end = '-{3}';
patterns = ( { include = 'source.yaml'; } );
},
{ name = 'text.html.markdown.classes';
begin = '\{';
end = '\}';
},
{ name = 'markup.raw.block.markdown';
begin = '^`{3}';
end = '^`{3}';
},
);
}
and
{ patterns = (
{ name = 'source.yaml.front-matter';
begin = '\A-{3}';
end = '-{3}';
patterns = ( { include = 'source.yaml'; } );
},
{ name = 'text.html.markdown.classes';
begin = '\)\{';
end = '\}';
},
{ name = 'markup.raw.block.markdown';
begin = '^`{3}';
end = '^`{3}';
},
);
}
What did I get wrong?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com