Announce: ruby-perl gem released

A

Andrea Campi

Hi all,

we released today a new gem I think may be of general interest:


https://rubygems.org/gems/ruby-perl
https://github.com/zephirworks/ruby-perl


For rubyists:

ruby-perl lets you evaluate and run Perl code within the same binary,
without any heavy-weight forking of sub-processes. Enjoy the
compactness, robustness and maintainability of Perl!

For perlists:

Run your Perl application over industry-standard, enterprise-grade MRI
Ruby, Rack and Passenger!


Check out the post on our blog for more background info:
http://blog.zephirworks.com/47768566


Cheers,
Andrea
 
B

botp

we released today a new gem I think may be of general interest:
https://rubygems.org/gems/ruby-perl
https://github.com/zephirworks/ruby-perl

very nice. yet after installing, i get,

$ rperl
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.0.7/lib/ffi/library.rb:75:in
`block in ffi_lib': Could not open library
'/usr/lib/perl/5.8/CORE/libperl.so':
/usr/lib/perl/5.8/CORE/libperl.so: cannot open shared object file: No
such file or directory (LoadError)
....

$ locate libperl.so
/usr/lib/libperl.so
/usr/lib/libperl.so.5.8
/usr/lib/libperl.so.5.8.8

$ lsb_release -a
LSB Version: core-2.0-ia32:core-3.0-ia32:core-3.1-ia32:core-3.2-ia32:core-4=
0-ia32:core-2.0-noarch:core-3.0-noarch:core-3.1-noarch:core-3.2-noarch:cor=
e-4.0-noarch:cxx-3.0-ia32:cxx-3.1-ia32:cxx-3.2-ia32:cxx-4.0-ia32:cxx-3.0-no=
arch:cxx-3.1-noarch:cxx-3.2-noarch:cxx-4.0-noarch:desktop-3.1-ia32:desktop-=
3.2-ia32:desktop-4.0-ia32:desktop-3.1-noarch:desktop-3.2-noarch:desktop-4.0=
-noarch:graphics-2.0-ia32:graphics-3.0-ia32:graphics-3.1-ia32:graphics-3.2-=
ia32:graphics-4.0-ia32:graphics-2.0-noarch:graphics-3.0-noarch:graphics-3.1=
-noarch:graphics-3.2-noarch:graphics-4.0-noarch:languages-3.2-ia32:language=
s-4.0-ia32:languages-3.2-noarch:languages-4.0-noarch:multimedia-3.2-ia32:mu=
ltimedia-4.0-ia32:multimedia-3.2-noarch:multimedia-4.0-noarch:printing-3.2-=
ia32:printing-4.0-ia32:printing-3.2-noarch:printing-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 8.04.4 LTS
Release: 8.04
Codename: hardy

thanks for rperl.
best regards -botp
 
A

Andrea Campi

very nice. yet after installing, i get,

$ rperl
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.0.7/lib/ffi/library.rb:75:in
`block in ffi_lib': Could not open library
'/usr/lib/perl/5.8/CORE/libperl.so':
/usr/lib/perl/5.8/CORE/libperl.so: cannot open shared object file: No
such file or directory (LoadError)
....

$ locate libperl.so
/usr/lib/libperl.so
/usr/lib/libperl.so.5.8
/usr/lib/libperl.so.5.8.8

Can you send me (or better yet open an issue on github) with the output of:

perl -V

Thanks for the bug report,
Andrea
 
A

Andrea Campi

I think I've fixed this issue, I would appreciate it if you could try again.
Can you send me (or better yet open an issue on github) with the output of:

perl -V

And of course, once rperl is working for you, "rperl -V" will do the
trick too :)

Andrea
 
T

Tony Arcieri

[Note: parts of this message were removed to make it a legal post.]

Is anyone using ruby-perl in a Phuby on Phails application? I also need to
interface with a CORBA service and was looking at the zomg gem. Has anyone
managed to call out to an omfg-generated Ruby script from either ruby-perl
or Phuby on Phails? I would preferably like to use both... perhaps someone
can write a phzomg interface to omfg-generated IDL wrapped Ruby? How would I
then call this with ruby-perl? rupephzomg?
 
A

Andrea Campi

Is anyone using ruby-perl in a Phuby on Phails application? I also need to
interface with a CORBA service and was looking at the zomg gem. Has anyone
managed to call out to an omfg-generated Ruby script from either ruby-perl
or Phuby on Phails? I would preferably like to use both... perhaps someone
can write a phzomg interface to omfg-generated IDL wrapped Ruby? How would I
then call this with ruby-perl? rupephzomg?

Interesting questions and a clever naming convention.

I didn't try Phuby on Phails (I should!), but we're doing something
just as cool.
We use the ST package (http://goo.gl/SaNLM) for perl (nicknamed PeST),
and now with ruby-perl I can run it with JRuby, which spells out JeST.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,271
Latest member
BuyAtenaLabsCBD

Latest Threads

Top