rad_ext 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rad_ext/tasks.rb +2 -5
- metadata +1 -1
data/lib/rad_ext/tasks.rb
CHANGED
@@ -4,14 +4,11 @@ require 'ruby_ext'
|
|
4
4
|
task :environment do
|
5
5
|
require 'rad'
|
6
6
|
rad.mode = ENV['m'] || ENV['mode'] || ENV['env'] || ENV['environment'] || :development
|
7
|
-
rad.runtime_path = File.expand_path '.'
|
8
7
|
|
9
|
-
require 'rad_ext'
|
10
|
-
rad.web
|
11
|
-
|
12
8
|
require 'rad_ext/utils/cli_helper'
|
13
|
-
|
14
9
|
Rad::CliHelper.use_runtime_path!
|
10
|
+
|
11
|
+
rad.runtime_path = File.expand_path '.'
|
15
12
|
|
16
13
|
load "./init.rb"
|
17
14
|
rad.environment
|