Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update and fix Rails locale fetch script

  • Loading branch information...
commit 6c642afa606651fa7360cab7d5faca25f9464bd8 1 parent 605b0ed
Yaroslav Markin yaroslav authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 rails/script/update.rb
6 rails/script/update.rb
View
@@ -4,9 +4,9 @@
puts "Fetching latest Rails locale files to #{rails_locale_dir}"
exec %(
- curl http://github.com/rails/rails/tree/master/actionpack/lib/action_view/locale/en.yml?raw=true > #{rails_locale_dir}/action_view.yml
+ curl -Lo '#{rails_locale_dir}/action_view.yml' http://github.com/rails/rails/tree/master/actionpack/lib/action_view/locale/en.yml?raw=true
- curl http://github.com/rails/rails/tree/master/activerecord/lib/active_record/locale/en.yml?raw=true > #{rails_locale_dir}/active_record.yml
+ curl -Lo '#{rails_locale_dir}/active_record.yml' http://github.com/rails/rails/tree/master/activerecord/lib/active_record/locale/en.yml?raw=true
- curl http://github.com/rails/rails/tree/master/activesupport/lib/active_support/locale/en.yml?raw=true > #{rails_locale_dir}/active_support.yml
+ curl -Lo '#{rails_locale_dir}/active_support.yml' http://github.com/rails/rails/tree/master/activesupport/lib/active_support/locale/en.yml?raw=true
)
Please sign in to comment.
Something went wrong with that request. Please try again.