inline_forms 1.3.23 → 1.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/inline_forms +7 -1
- data/lib/inline_forms/version.rb +1 -1
- metadata +1 -1
data/bin/inline_forms
CHANGED
|
@@ -53,7 +53,7 @@ system("#{RUBY} -S rails new #{app_name}")
|
|
|
53
53
|
Dir.chdir(app_name)
|
|
54
54
|
puts "\nWorking directory is now #{`pwd`}"
|
|
55
55
|
|
|
56
|
-
puts "\nInstalling Gemfile
|
|
56
|
+
puts "\nInstalling Gemfile...\n"
|
|
57
57
|
|
|
58
58
|
gemfile_sources = "
|
|
59
59
|
source 'http://rubygems.org'
|
|
@@ -107,6 +107,12 @@ end
|
|
|
107
107
|
|
|
108
108
|
File.open( 'Gemfile', 'w') {|f| f.write(gemfile_sources + gemfile_gems + gemfile_development_group + gemfile_production_group ) }
|
|
109
109
|
|
|
110
|
+
puts "\nCreating and trusting rvmrc...\n"
|
|
111
|
+
system("echo `rvm current`@#{app_name} --create > .rvmrc")
|
|
112
|
+
system("rvm rvmrc trust .rvmrc")
|
|
113
|
+
system("rvm use `rvm current`@#{app_name} --create")
|
|
114
|
+
|
|
115
|
+
puts "\nRunning bundle...\n"
|
|
110
116
|
system('bundle install')
|
|
111
117
|
|
|
112
118
|
puts "\nDatabase setup: creating config/database.yml\n"
|
data/lib/inline_forms/version.rb
CHANGED