This project is archived and is in readonly mode.

#4442 ✓stale
phs

[PATCH] "nested *?+ in regexp" in Engine initializer for funny FS paths.

Reported by phs | April 19th, 2010 @ 08:37 PM

/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.0.beta2/lib/rails/engine.rb:169: nested *?+ in regexp: /\/private\/var\/folders\/jk\/jkDWr4rvFmaZpmyyRu83zE+++TI\/-Tmp-\/engineer-cucumber-1690\/gemrepo\/gems\/my_engine-0.0.0\/app\/controllers\/?/ (RegexpError)

Notice my app path has a '+++' in it (it's a tmp dir path on a mac.) This makes railties/lib/rails/engine cranky since it makes a regex from the naked path. See patch (soon) which adds a Regexp.escape.

Comments and changes to this ticket

Create your profile

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

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages