Sha256: a774bedd8bcb43ea3e097cc2427a45fc8896d8bf2af4d9d589b6257e3344b851
Contents?: true
Size: 743 Bytes
Versions: 8
Compression:
Stored size: 743 Bytes
Contents
begin require 'spec' rescue LoadError require 'rubygems' gem 'rspec' require 'spec' end require 'fileutils' # Must set before requiring generator libs. TMP_ROOT = File.dirname(__FILE__) + "/tmp" unless defined?(TMP_ROOT) PROJECT_NAME = "ride" unless defined?(PROJECT_NAME) app_root = File.join(TMP_ROOT, PROJECT_NAME) if defined?(APP_ROOT) APP_ROOT.replace(app_root) else APP_ROOT = app_root end if defined?(RAILS_ROOT) RAILS_ROOT.replace(app_root) else RAILS_ROOT = app_root end begin require 'rubigen' rescue LoadError require 'rubygems' require 'rubigen' end require File.join(File.dirname(__FILE__), 'generator_spec_helper') $:.unshift(File.dirname(__FILE__) + '/../app_generators/ride') require 'ride_generator'
Version data entries
8 entries across 8 versions & 1 rubygems