I''d like to give it a try on adding CoffeeScript syntax support to CodeRay, but I can''t find any documentation on how to add my local version of CodeRay lib directory to autoload_paths. Simply adding the full path to config.autoload_paths won''t do the trick. How could I get my new scanner to be reloaded on each request? (yep, I''m not doing TDD here). Thanks in advance, Rodrigo. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
This sounds more like a question for rails-talk, but I think this is sorta what you want: https://github.com/jcasimir/draper/blob/master/lib/draper/railtie.rb#L22 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Em 20-07-2012 13:47, Steve Klabnik escreveu:> This sounds more like a question for rails-talk, but I think this is > sorta what you want: > https://github.com/jcasimir/draper/blob/master/lib/draper/railtie.rb#L22Sorry, I thought this would be the place for undocumented features like this as it is very unlikely other usual Rails developers would know the answer but I''ll try there first next time. And thank you by the way. I''ll give it a try soon! Best, Rodrigo. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.