inline_forms 1.3.23 → 1.3.24

Sign up to get free protection for your applications and to get access to all the features.
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 and running Bundle...\n"
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"
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "1.3.23"
3
+ VERSION = "1.3.24"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.23
4
+ version: 1.3.24
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: