Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add rc

  • Loading branch information...
commit ff6bb8cf6ccdf548f9d6e6af90ebe0b246b57073 1 parent 2e7d961
@xdite authored
View
4 CHANGELOG.md
@@ -1,3 +1,7 @@
+4.2.0.5
+
+* add .powrc & .rvmrc
+
4.2.0.4
* fix simple_form
View
5 lib/bootstrappers/app_builder.rb
@@ -18,6 +18,11 @@ def add_devise_gem
:after => /gem 'jquery-rails'/
end
+ def add_rvmrc_and_powrc
+ template "rc/.rvmrc", '.rvmrc', :force => true
+ template "rc/.powrc", '.powrc', :force => true
+ end
+
def create_capistrano_files
template 'capistrano/deploy_rb.erb', 'config/deploy.rb',:force => true
template 'capistrano/Capfile', 'Capfile',:force => true
View
1  lib/bootstrappers/generators/app_generator.rb
@@ -76,6 +76,7 @@ def add_common_rake_tasks
def customize_gemfile
build :add_custom_gems
build :add_devise_gem
+ build :add_rvmrc_and_powrc
bundle_command 'install'
end
View
2  lib/bootstrappers/version.rb
@@ -1,3 +1,3 @@
module Bootstrappers
- VERSION = "4.2.0.4"
+ VERSION = "4.2.0.5"
end
View
4 templates/rc/.powrc
@@ -0,0 +1,4 @@
+if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".rvmrc" ]; then
+ source "$rvm_path/scripts/rvm"
+ source ".rvmrc"
+fi
View
1  templates/rc/.rvmrc
@@ -0,0 +1 @@
+rvm 2.0.0
Please sign in to comment.
Something went wrong with that request. Please try again.