Created
June 18, 2011 21:55
-
-
Save necrodome/1033541 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jruby-1.6.2 > ["urls.rb", "config/urls.rb", "mailers/*.rb", "mailers.rb"].map { |file| Dir[File.join("/Users/moon/Tmp/test_app", file)] }.flatten | |
=> ["/Users/moon/Tmp/test_app/urls.rb"] | |
jruby-1.6.2 > require 'torquebox-vfs' | |
=> true | |
jruby-1.6.2 > ["urls.rb", "config/urls.rb", "mailers/*.rb", "mailers.rb"].map { |file| Dir[File.join("/Users/moon/Tmp/test_app", file)] }.flatten | |
=> ["/Users/moon/Tmp/test_app/urls.rb", "/Users/moon/Tmp/test_app/config/urls.rb", "/Users/moon/Tmp/test_app/mailers.rb"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment