# Exec format error when installing Globalize Rails

**URL:** <https://www.ruby-forum.com/t/exec-format-error-when-installing-globalize-rails/116579>\
**Category:** Ruby\
**Created:** [October 7, 2007, 3:50pm UTC](https://www.ruby-forum.com/t/exec-format-error-when-installing-globalize-rails/116579 "2007-10-07T15:50:33Z")\
**Posts on this page:** 4\
**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 7, 2007, 3:50pm UTC](https://www.ruby-forum.com/t/exec-format-error-when-installing-globalize-rails/116579/1 "2007-10-07T15:50:33Z")

</div>

Hello,  
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 just after installing 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”.  
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\_dot\_2 && exit  
1

Looks like there is an error in my vendor/plugins/for-1.2/tasks/  
data.rake file but I have little idea how to read it. The file can be  
found here:  
[http://svn.globalize-rails.org/svn/globalize/branches/for-1.2/tasks/data.rake](http://svn.globalize-rails.org/svn/globalize/branches/for-1.2/tasks/data.rake)

I am running Win XP SP2 with Ruby 1.8.6 (2007-03-13 patchlevel 0)  
[i386-mswin32] and Rails 1.2.3

I read the replies to similar problems, and the solution was to use  
rake.cmd or rake.bat instead of plain rake command, but in the  
upgrate\_schema\_to\_1\_dot\_2 task I can’t even see when the rake is  
invoked…

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

All the best,  
Maciek

---

<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 7, 2007, 5:59pm UTC](https://www.ruby-forum.com/t/exec-format-error-when-installing-globalize-rails/116579/2 "2007-10-07T17:59:39Z")

</div>

First tip, this is a very Rails specific question, best for the Rails  
list.

---

<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, 8:55am UTC](https://www.ruby-forum.com/t/exec-format-error-when-installing-globalize-rails/116579/3 "2007-10-08T08:55:51Z")

</div>

On Oct 7, 5:58 pm, John J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> First tip, this is a very Rails specific question, best for the Rails  
> list.

I haven’t seen any Rails usenet group. Can’t believe noone knows the  
answer…

---

<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, 9:00am UTC](https://www.ruby-forum.com/t/exec-format-error-when-installing-globalize-rails/116579/4 "2007-10-08T09:00:32Z")

</div>

OHaleck wrote:

> On Oct 7, 5:58 pm, John J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> wrote:
> 
> > First tip, this is a very Rails specific question, best for the Rails  
> > list.
> 
> I haven’t seen any Rails usenet group. Can’t believe noone knows the  
> answer…

Sorry, I can’t answer your original question but this might help you:

RoR group at [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en)

Cheers  
Mohit.
