asmodai 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/asmodai/cli.rb +2 -2
- data/lib/asmodai/version.rb +1 -1
- metadata +2 -2
data/lib/asmodai/cli.rb
CHANGED
@@ -16,7 +16,7 @@ class Asmodai::CLI < Thor
|
|
16
16
|
def new(name)
|
17
17
|
@app_name=name
|
18
18
|
empty_directory "#{name}/log"
|
19
|
-
empty_directory "#{name}/lib"
|
19
|
+
empty_directory "#{name}/lib"
|
20
20
|
template 'templates/daemon.rb.erb', "#{name}/#{name}.rb"
|
21
21
|
copy_file 'templates/Gemfile', "#{name}/Gemfile"
|
22
22
|
end
|
@@ -99,7 +99,7 @@ class Asmodai::CLI < Thor
|
|
99
99
|
desc "console", "Starts a console with loaded environment"
|
100
100
|
def console
|
101
101
|
klass = Asmodai::Info.current.daemon_class
|
102
|
-
exec "irb -r rubygems -r asmodai -r ./#{klass.daemon_name}"
|
102
|
+
exec "irb -Ilib -r rubygems -r asmodai -r ./#{klass.daemon_name}"
|
103
103
|
end
|
104
104
|
|
105
105
|
desc "version", "Prints Asmodai's version and exists"
|
data/lib/asmodai/version.rb
CHANGED