Erubis 2.6.1 released - Rails 2.1 support

I have released Erubis 2.6.1.
http://www.kuwata-lab.com/erubis/
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.

In article
[email protected],
makoto kuwata [email protected] wrote:

I have released Erubis 2.6.1.
http://www.kuwata-lab.com/erubis/
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?

On Jun 6, 5:53 pm, Ollivier R. [email protected] wrote:

In article [email protected],

extensible than ERB and eruby.

It is compatible with Ruby 1.9?

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

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?)

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.” [email protected] 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

On Jun 12, 12:29 am, “R. Elliott M.” [email protected] 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

On Jun 12, 7:16Â pm, “R. Elliott M.” [email protected] wrote:

On Jun 12, 12:29�am, “R. Elliott M.” [email protected] 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

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

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.

“R. Elliott M.” [email protected] 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.