Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # =================================================
- # = Texmate support for Rails 3 bundle navigation =
- # =================================================
- # ~/Library/Application Support/TextMate/Pristine Copy/Bundles/Ruby on Rails.tmbundle/Support/lib/rails/rails_path.rb
- # or
- # ~/Library/Application\ Support/TextMate/Bundles/Ruby\ on\ Rails.tmbundle/Support/lib/rails/rails_path.rb
- # line 293
- def wants_haml
- @wants_html ||= File.file?(File.join(rails_root, "vendor/plugins/haml/", "init.rb")) ||
- File.read(File.join(rails_root, 'config', 'environment.rb')) =~ /haml/ ||
- File.read(File.join(rails_root, 'Gemfile')) =~ /haml/
- end
Add Comment
Please, Sign In to add comment