# Exec format error installing Globalize on Windows

**URL:** <https://www.ruby-forum.com/t/exec-format-error-installing-globalize-on-windows/116617>\
**Category:** Rails\
**Created:** [October 8, 2007, 12:58am UTC](https://www.ruby-forum.com/t/exec-format-error-installing-globalize-on-windows/116617 "2007-10-08T00:58:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohaleck](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ea666f/32.png) [@ohaleck](https://www.ruby-forum.com/u/ohaleck)\
**Post date:** [October 8, 2007, 12:58am UTC](https://www.ruby-forum.com/t/exec-format-error-installing-globalize-on-windows/116617/1 "2007-10-08T00:58:08Z")

</div>

Hello,  
Whan I am trying to do is I18N-related, but the problem seems to rather  
be Rails and Windows, so I am posting it to this forum.  
I must admit I am a complete noob in Rails. I need to develop an  
application with support for several languages so I decided to install  
Globalize for Rails 1.2 on a clean installation of Rails. I created a  
project named “first” and typed the following:  
D:\railsspace\first\>ruby script/plugin install  
[http://svn.globalize-rails.org/svn/globalize/branches/for-1.2](http://svn.globalize-rails.org/svn/globalize/branches/for-1.2)

After some operation the script complained about some “Exec format  
error” (Rakefile?).  
Whole output follows:  
D:\railsspace\first\>ruby script/plugin install  
[http://svn.globalize-rails.org/svn/globalize/branches/for-1.2](http://svn.globalize-rails.org/svn/globalize/branches/for-1.2)

- ./for-1.2/LICENSE
- ./for-1.2/README
- ./for-1.2/data/country\_data.csv
- ./for-1.2/data/language\_data.csv
- ./for-1.2/data/translation\_data.csv
- ./for-1.2/generators/globalize/USAGE
- ./for-1.2/generators/globalize/globalize\_generator.rb
- ./for-1.2/generators/globalize/templates/migration.rb.gz
- ./for-1.2/generators/globalize/templates/model\_migration.rb
- ./for-1.2/generators/globalize/templates/tiny\_migration.rb.gz
- ./for-1.2/init.rb
- ./for-1.2/install.rb
- ./for-1.2/lib/globalize/localization/core\_ext.rb
- ./for-1.2/lib/globalize/localization/core\_ext\_hooks.rb
- ./for-1.2/lib/globalize/localization/db\_translate.rb
- ./for-1.2/lib/globalize/localization/db\_view\_translator.rb
- ./for-1.2/lib/globalize/localization/locale.rb
- ./for-1.2/lib/globalize/localization/rfc\_3066.rb
- ./for-1.2/lib/globalize/models/country.rb
- ./for-1.2/lib/globalize/models/currency.rb
- ./for-1.2/lib/globalize/models/language.rb
- ./for-1.2/lib/globalize/models/model\_translation.rb
- ./for-1.2/lib/globalize/models/translation.rb
- ./for-1.2/lib/globalize/models/view\_translation.rb
- ./for-1.2/lib/globalize/rails/action\_mailer.rb
- ./for-1.2/lib/globalize/rails/action\_view.rb
- ./for-1.2/lib/globalize/rails/active\_record.rb
- ./for-1.2/lib/globalize/rails/active\_record\_helper.rb
- ./for-1.2/lib/globalize/rails/date\_helper.rb
- ./for-1.2/populators/pop\_dates.rb
- ./for-1.2/populators/pop\_migration.rb
- ./for-1.2/populators/pop\_pluralization.rb
- ./for-1.2/populators/pop\_seps.rb
- ./for-1.2/tasks/data.rake
- 

./for-1.2/test/action\_mailer\_test/globalize\_mailer/test.en-US.plain.text.rhtml  
+  
./for-1.2/test/action\_mailer\_test/globalize\_mailer/test.en.plain.text.rhtml  
+  
./for-1.2/test/action\_mailer\_test/globalize\_mailer/test.he.plain.text.rhtml  
+  
./for-1.2/test/action\_mailer\_test/globalize\_mailer/test.plain.text.rhtml

- ./for-1.2/test/action\_mailer\_test.rb
- ./for-1.2/test/config/database.yml.default
- ./for-1.2/test/config/database.yml.example
- ./for-1.2/test/core\_ext\_test.rb
- ./for-1.2/test/currency\_test.rb
- ./for-1.2/test/date\_helper\_test.rb
- ./for-1.2/test/db/schema.rb
- ./for-1.2/test/db\_localizes\_translates\_test.rb
- ./for-1.2/test/db\_translation\_test.rb
- ./for-1.2/test/fixtures/globalize\_categories.yml
- ./for-1.2/test/fixtures/globalize\_categories\_products.yml
- ./for-1.2/test/fixtures/globalize\_countries.yml
- ./for-1.2/test/fixtures/globalize\_languages.yml
- ./for-1.2/test/fixtures/globalize\_manufacturers.yml
- ./for-1.2/test/fixtures/globalize\_products.yml
- ./for-1.2/test/fixtures/globalize\_simples.yml
- ./for-1.2/test/fixtures/globalize\_translations.yml
- ./for-1.2/test/fixtures/globalize\_unlocalized\_classes.yml
- ./for-1.2/test/locale\_test.rb
- ./for-1.2/test/mime\_responds\_test.rb
- ./for-1.2/test/model\_test.rb
- ./for-1.2/test/render\_test.rb
- ./for-1.2/test/standard\_data\_test\_helper.rb
- ./for-1.2/test/test\_helper.rb
- ./for-1.2/test/test\_standard\_data.rb
- ./for-1.2/test/validation\_test.rb
- ./for-1.2/test/view\_picking\_test.rb
- ./for-1.2/test/view\_translation\_namespace\_test.rb
- ./for-1.2/test/view\_translation\_test.rb
- ./for-1.2/test/views/layouts/standard.rhtml
- ./for-1.2/test/views/render/test.rhtml
- ./for-1.2/test/views/respond\_to/all\_types\_with\_layout.rhtml
- ./for-1.2/test/views/respond\_to/all\_types\_with\_layout.rjs
- ./for-1.2/test/views/respond\_to/using\_defaults.en.rhtml
- ./for-1.2/test/views/respond\_to/using\_defaults.en.rjs
- ./for-1.2/test/views/respond\_to/using\_defaults.en.rxml
- ./for-1.2/test/views/respond\_to/using\_defaults.fr.rhtml
- ./for-1.2/test/views/respond\_to/using\_defaults.fr.rjs
- ./for-1.2/test/views/respond\_to/using\_defaults.fr.rxml
- ./for-1.2/test/views/respond\_to/using\_defaults.rhtml
- ./for-1.2/test/views/respond\_to/using\_defaults.rjs
- ./for-1.2/test/views/respond\_to/using\_defaults.rxml
- ./for-1.2/test/views/respond\_to/using\_defaults\_with\_type\_list.en.rhtml
- ./for-1.2/test/views/respond\_to/using\_defaults\_with\_type\_list.en.rjs
- ./for-1.2/test/views/respond\_to/using\_defaults\_with\_type\_list.en.rxml
- ./for-1.2/test/views/respond\_to/using\_defaults\_with\_type\_list.fr.rhtml
- ./for-1.2/test/views/respond\_to/using\_defaults\_with\_type\_list.fr.rjs
- ./for-1.2/test/views/respond\_to/using\_defaults\_with\_type\_list.fr.rxml
- ./for-1.2/test/views/respond\_to/using\_defaults\_with\_type\_list.rhtml
- ./for-1.2/test/views/respond\_to/using\_defaults\_with\_type\_list.rjs
- ./for-1.2/test/views/respond\_to/using\_defaults\_with\_type\_list.rxml
- ./for-1.2/test/views/test.he-IL.rhtml
- ./for-1.2/test/views/test.rhtml
- ./for-1.2/test/views/test2.he.rhtml
- ./for-1.2/test/views/test2.rhtml  
Exec format error - rake -f  
D:/railsspace/first/vendor/plugins/for-1.2/…/…/…/Rakefile  
globalize:upgrade\_schema\_to\_1\_d  
ot\_2 && exit 1

I checked the Rakefile and here is its contents (I did not edit it):

# Add your own tasks in files placed in lib/tasks ending in .rake,

# for example lib/tasks/capistrano.rake, and they will automatically be

available to Rake.

require(File.join(File.dirname( **FILE** ), ‘config’, ‘boot’))

require ‘rake’  
require ‘rake/testtask’  
require ‘rake/rdoctask’

require ‘tasks/rails’

I am running on Win XP SP2. Here are the versions:  
D:\railsspace\first\>ruby --version  
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]

D:\railsspace\first\>rails --version  
Rails 1.2.3

Can anyone help? I have no idea how to bite this problem…

All the best,  
Maciek
