# RubyScript2exe

**URL:** <https://www.ruby-forum.com/t/rubyscript2exe/179318>\
**Category:** Ruby\
**Created:** [November 22, 2009, 1:16am UTC](https://www.ruby-forum.com/t/rubyscript2exe/179318 "2009-11-22T01:16:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![belitos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@belitos](https://www.ruby-forum.com/u/belitos)\
**Post date:** [November 22, 2009, 1:16am UTC](https://www.ruby-forum.com/t/rubyscript2exe/179318/1 "2009-11-22T01:16:27Z")

</div>

hey guys im trying to use RubyScript2exe but im getting this error

[http://tinyurl.com/yh9wnbf](http://tinyurl.com/yh9wnbf) \<= the picture of the error

someone knows whats the problem?  
thanks

---

<div class="post-metadata">

**Author:** ![belitos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@belitos](https://www.ruby-forum.com/u/belitos)\
**Post date:** [November 22, 2009, 5:20am UTC](https://www.ruby-forum.com/t/rubyscript2exe/179318/2 "2009-11-22T05:20:49Z")

</div>

On Nov 21, 9:16 pm, Guilherme I. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> hey guys im trying to use RubyScript2exe but im getting this error
> 
> [http://tinyurl.com/yh9wnbf](http://tinyurl.com/yh9wnbf)\<= the picture of the error
> 
> someone knows whats the problem?

RubyScript2Exe is known to have issues with latest RubyGems

I would suggest you use Ocra instead:

[http://ocra.rubyforge.org/](http://ocra.rubyforge.org/)

gem install ocra

ocra yourscript.rb

PS1: RubyGems command is “gem”, not “gems”

PS2: Please search the forum or ask the mighty google before asking,  
which is better than getting ignored because repetitive things are  
being asked.

---

<div class="post-metadata">

**Author:** ![belitos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@belitos](https://www.ruby-forum.com/u/belitos)\
**Post date:** [November 26, 2009, 4:47am UTC](https://www.ruby-forum.com/t/rubyscript2exe/179318/3 "2009-11-26T04:47:34Z")

</div>

rubyscript2exe doesn’t handle gems too well… try ocra or crate

I use ocra with fxruby and it works fine…

good luck!

si
