rails-app-installer 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/installer +0 -4
- data/examples/typo +1 -1
- data/lib/rails-installer/databases.rb +1 -0
- metadata +2 -2
data/examples/installer
CHANGED
@@ -9,11 +9,7 @@ class AppInstaller < RailsInstaller
|
|
9
9
|
rails_version '1.1.6'
|
10
10
|
end
|
11
11
|
|
12
|
-
# Installer program
|
13
12
|
directory = ARGV[1]
|
14
13
|
|
15
14
|
app = AppInstaller.new(directory)
|
16
|
-
app.message_proc = Proc.new do |msg|
|
17
|
-
STDERR.puts " #{msg}"
|
18
|
-
end
|
19
15
|
app.execute_command(*ARGV)
|
data/examples/typo
CHANGED
@@ -15,7 +15,7 @@ class TypoInstaller < RailsInstaller
|
|
15
15
|
def sweep_cache
|
16
16
|
in_directory install_directory do
|
17
17
|
message "Cleaning out #{@@app_name.capitalize}'s cache"
|
18
|
-
|
18
|
+
system_silently("rake -s sweep_cache")
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
metadata
CHANGED