Sha256: 9690457e04b0972c9b59f8c066cc427b4cdc058e419fdb398dd12bc445ff0e17
Contents?: true
Size: 718 Bytes
Versions: 18
Compression:
Stored size: 718 Bytes
Contents
# Load Remarkable unless Object.const_defined?('Remarkable') begin require 'remarkable' rescue LoadError require 'rubygems' gem 'remarkable' require 'remarkable' end end # Load spec/rails if defined?(Spec) begin require 'spec/rails' rescue LoadError require 'rubygems' gem 'rspec-rails' require 'spec/rails' end end # Load Remarkable Rails base files dir = File.dirname(__FILE__) require File.join(dir, 'remarkable_rails', 'active_orm') require File.join(dir, 'remarkable_rails', 'action_controller') require File.join(dir, 'remarkable_rails', 'action_view') # Load locale file Remarkable.add_locale File.join(dir, '..', 'locale', 'en.yml')
Version data entries
18 entries across 18 versions & 1 rubygems