#61 ✓resolved
Geoffrey Grosenbach

Single quotes in description spoil the sake

Reported by Geoffrey Grosenbach | July 11th, 2007 @ 06:37 PM

Steps to reproduce:

  1. Create a new rake task with a single quote in the description
  2. Import it as a sake task with sake -i
  3. Try to see your sake tasks with sake -T
  4. Ruby will crash and it will say that it can't parse

Can ruby2ruby produce double quoted output, or escape internal single quotes?

desc "My fancy task with 'strange' behavior"
task :foo do
  # ...

Produces a ~/.sake task like this

desc 'My fancy task with 'strange' behavior'
task :foo do
  # ...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket