mirror of
https://github.com/atom/atom.git
synced 2026-02-13 08:04:56 -05:00
24 lines
680 B
Ruby
24 lines
680 B
Ruby
# Copyright:
|
|
# (c) 2006 syncPEOPLE, LLC.
|
|
# Visit us at http://syncpeople.com/
|
|
# Author: Duane Johnson (duane.johnson@gmail.com)
|
|
# Description:
|
|
# Collection of Rails / TextMate classes for Ruby.
|
|
|
|
bundle_lib = ENV['TM_BUNDLE_SUPPORT'] + '/lib'
|
|
$LOAD_PATH.unshift(bundle_lib) if ENV['TM_BUNDLE_SUPPORT'] and !$LOAD_PATH.include?(bundle_lib)
|
|
|
|
require ENV['TM_SUPPORT_PATH'] + '/lib/exit_codes'
|
|
require ENV['TM_SUPPORT_PATH'] + '/lib/textmate'
|
|
require ENV['TM_SUPPORT_PATH'] + '/lib/ui'
|
|
|
|
require 'rails/text_mate'
|
|
require 'rails/rails_path'
|
|
require 'rails/unobtrusive_logger'
|
|
require 'rails/misc'
|
|
require 'rails/inflector'
|
|
|
|
def ruby(command)
|
|
`/usr/bin/env ruby #{command}`
|
|
end
|