# Erubis 2.6.1 released - Rails 2.1 support

**URL:** <https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672>\
**Category:** Ruby\
**Created:** [June 5, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672 "2008-06-05T22:45:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![makoto\_kuwata](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Post date:** [June 5, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672/1 "2008-06-05T22:45:56Z")

</div>

I have released Erubis 2.6.1.  
[http://www.kuwata-lab.com/erubis/](http://www.kuwata-lab.com/erubis/)  
[http://www.kuwata-lab.com/support/](http://www.kuwata-lab.com/support/)  
Erubis is another eRuby implementation which is very fast and  
extensible than ERB and eruby.

Enhancements from 2.6.0:

- Rails 2.1 support. (special thanks José Valim)

If you have got any errors or problems, please tell me.

---

<div class="post-metadata">

**Author:** ![makoto\_kuwata](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Post date:** [June 6, 2008, 10:56am UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672/2 "2008-06-06T10:56:02Z")

</div>

In article  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid),  
makoto kuwata [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have released Erubis 2.6.1.  
> [http://www.kuwata-lab.com/erubis/](http://www.kuwata-lab.com/erubis/)  
> [http://www.kuwata-lab.com/support/](http://www.kuwata-lab.com/support/)  
> Erubis is another eRuby implementation which is very fast and  
> extensible than ERB and eruby.

It is compatible with Ruby 1.9?

---

<div class="post-metadata">

**Author:** ![makoto\_kuwata](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Post date:** [June 6, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672/3 "2008-06-06T17:05:44Z")

</div>

On Jun 6, 5:53 pm, Ollivier R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> In article [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid),
> 
> > extensible than ERB and eruby.
> 
> It is compatible with Ruby 1.9?

Currently, no.  
I’ll support 1.9 next release.

---

<div class="post-metadata">

**Author:** ![makoto\_kuwata](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Post date:** [June 12, 2008, 6:29am UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672/4 "2008-06-12T06:29:24Z")

</div>

This doesn’t install for me, at least on Windows.

ERROR: While executing gem … (Errno::EINVAL)  
Invalid argument -  
c:/ruby/lib/ruby/gems/1.8/gems/erubis-2.6.1/lib/erubis/co  
nverter.rb:

There’s this (bogus?) file called “converter.rb:” (colon at the end)  
that ruins everything prematurely. It’s a 0-byte file and I believe  
it’s unneeded and doesn’t belong.

This is causing me a lot more grief than expected. A lot of other gems  
I am trying to install (merb, for example) depend on erubis and despite  
the fact that I have erubis 2.6.0 installed, every gem keeps keeps  
trying to install 2.6.1. If I --ignore-dependencies that causes crucial  
parts of the gem(s) to not get installed. I tried fixing it myself by  
removing convert.rb: but for some reason that ruins the gem and then I  
can’t install it at all. Any help would be appreciated.

(Is there a way to install a gem while ignoring only a specific  
dependency?)

---

<div class="post-metadata">

**Author:** ![makoto\_kuwata](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Post date:** [June 12, 2008, 8:16pm UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672/5 "2008-06-12T20:16:44Z")

</div>

It doesn’t get created for me either. It’s a file within the gem. If  
you download the gem file from the website, rename it .zip and crawl  
through it as an archive you’ll find converter.rb: within the gem  
itself. I think the colon at the end prevents it from being copied when  
you try to install. At least on Windows, you can’t have colons in  
filenames, which is maybe why the gem can’t be installed.

Mike Hodgson wrote:

> On Jun 12, 12:29ï¿½am, “R. Elliott M.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > This doesn’t install for me, at least on Windows.
> > 
> > ERROR: ï¿½While executing gem … (Errno::EINVAL)  
> > ï¿½ ï¿½ Invalid argument -  
> > c:/ruby/lib/ruby/gems/1.8/gems/erubis-2.6.1/lib/erubis/co  
> > nverter.rb:
> > 
> > There’s this (bogus?) file called “converter.rb:” (colon at the end)  
> > that ruins everything prematurely. ï¿½It’s a 0-byte file and I believe  
> > it’s unneeded and doesn’t belong.
> 
> Hello,
> 
> I’m receiving this exact same error on Windows, except there is no  
> “converter.rb:” (with the colon) being created in my case.
> 
> Regards,  
> Mike Hodgson

---

<div class="post-metadata">

**Author:** ![makoto\_kuwata](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Post date:** [June 12, 2008, 2:53pm UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672/6 "2008-06-12T14:53:25Z")

</div>

On Jun 12, 12:29 am, “R. Elliott M.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> This doesn’t install for me, at least on Windows.
> 
> ERROR: While executing gem … (Errno::EINVAL)  
> Invalid argument -  
> c:/ruby/lib/ruby/gems/1.8/gems/erubis-2.6.1/lib/erubis/co  
> nverter.rb:
> 
> There’s this (bogus?) file called “converter.rb:” (colon at the end)  
> that ruins everything prematurely. It’s a 0-byte file and I believe  
> it’s unneeded and doesn’t belong.

Hello,

I’m receiving this exact same error on Windows, except there is no  
“converter.rb:” (with the colon) being created in my case.

Regards,  
Mike Hodgson

---

<div class="post-metadata">

**Author:** ![makoto\_kuwata](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Post date:** [June 12, 2008, 8:50pm UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672/7 "2008-06-12T20:50:58Z")

</div>

On Jun 12, 7:16Â pm, “R. Elliott M.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > On Jun 12, 12:29ï¿½am, “R. Elliott M.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hello,
> 
> > I’m receiving this exact same error on Windows, except there is no  
> > “converter.rb:” (with the colon) being created in my case.
> 
> > Regards,  
> > Mike Hodgson
> 
> –  
> Posted viahttp://www.ruby-forum.com/.

Same problem here, but you can install it if you download the .tar.bz2  
from RubyForge and package it yourself.  
[http://rubyforge.org/frs/download.php/37947/erubis-2.6.1.tar.bz2](http://rubyforge.org/frs/download.php/37947/erubis-2.6.1.tar.bz2)

Just extract it somewhere, then change into the directory and do the  
following:  
gem build erubis.gemspec  
gem install --local erubis-2.6.1.gem

---

<div class="post-metadata">

**Author:** ![makoto\_kuwata](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Post date:** [June 12, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672/8 "2008-06-12T22:18:46Z")

</div>

Yeah I was JUST about to post that here. I didn’t realize I could do  
that until a few minutes ago. Got it installed now.

---

<div class="post-metadata">

**Author:** ![makoto\_kuwata](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Post date:** [June 13, 2008, 1:43am UTC](https://www.ruby-forum.com/t/erubis-2-6-1-released-rails-2-1-support/139672/9 "2008-06-13T01:43:49Z")

</div>

“R. Elliott M.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> It doesn’t get created for me either. It’s a file within the gem. If  
> you download the gem file from the website, rename it .zip and crawl  
> through it as an archive you’ll find converter.rb: within the gem  
> itself. I think the colon at the end prevents it from being copied when  
> you try to install. At least on Windows, you can’t have colons in  
> filenames, which is maybe why the gem can’t be installed.

I have released Erubis 2.6.2 which fixed the above problem.  
(And Erubis now supports Ruby 1.9.)  
Thank you for our report.
