Problems with ZenOptimize (via ZenHacks gem)

J

Jim Freeze

Hi

I installed the ZenHacks gem and tried to run it, but it complained
about missing RubyInline. So I installed that and now it complains
about missing ruby_to_c. Am I really supposed to go and find all
these libraries to use zenoptimize or am I doing something wrong?

ruby ex.rb
/Users/jdf/local_ruby/ruby-1.8.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__': No such file to load -- ruby_to_c (LoadError)
from
/Users/jdf/local_ruby/ruby-1.8.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from
/Users/jdf/local_ruby/ruby-1.8.2/lib/ruby/gems/1.8/gems/ZenHacks-1.0.0/lib/zenoptimize.rb:3
from
/Users/jdf/local_ruby/ruby-1.8.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:24:in
`require__'
from
/Users/jdf/local_ruby/ruby-1.8.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:24:in
`require'
from ex.rb:5


The first two lines of ex.rb are:

require 'rubygems'
require 'zenoptimize'

Thanks
 
R

Ryan Davis

I installed the ZenHacks gem and tried to run it, but it complained
about missing RubyInline. So I installed that and now it complains
about missing ruby_to_c. Am I really supposed to go and find all
these libraries to use zenoptimize or am I doing something wrong?

ruby ex.rb
[...]

The first two lines of ex.rb are:

require 'rubygems'
require 'zenoptimize'

ZenHacks doesn't have any requirements in it on purpose. I didn't
want it to be a "go get every damn thing I've ever played with" type
package, esp when you want to simply read 1-2 scripts for fun.

Looks like I was stupid about my ordering, and should have put
ruby_to_c before inline. Not that that would help too much as I
haven't gemified ruby_to_c yet... long ways to go on that one. I'd
prefer to wait for another gems release to get some of the
enhancements we added to rubygems.

So, yeah. It's... rough. But I did name it ZenHACKS after all. :p
 

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,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top