typescript-ruby / typescript-rails

An asset pipeline wrapper for the TypeScript language
MIT License
255 stars 29 forks source link

Update template_handler.rb #14

Closed wiesion closed 10 years ago

wiesion commented 10 years ago

jRuby seems to have some issues with providing captures to function calls within the second argument of gsub, switching the replacement procedure to a block solved the issue. Also used the Pathname object to return a clean absolute path.

klaustopher commented 10 years ago

As I stated in the Readme, I'm no longer actively working on this gem ... If anybody wants to turn over, I'd gladly move the rubygems project over to them

gfx commented 10 years ago

I have released a new version of typescript-rails 0.2.0 and it seems to work well on jruby.