public
Fork of heythisisnate/globalize
Description: Globalize is a Ruby on Rails plugin designed to support multilingual applications (official repository).
Homepage: http://www.globalize-rails.org
Clone URL: git://github.com/jodosha/globalize.git
globalize / install.rb
100644 10 lines (10 sloc) 0.242 kb
1
2
3
4
5
6
7
8
9
10
APP_ROOT = File.join(File.dirname(__FILE__), '../../../')
begin
 output = `rake -f #{APP_ROOT}Rakefile globalize:upgrade_schema_to_1_dot_2 && exit 1`
 puts output
 while $?.exitstatus == 1
   exit
 end
rescue => e
 puts e.message
end