Problems with ZenOptimize (via ZenHacks gem)

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

···

--
Jim Freeze

Yeah, you're probably going to need all those different things.

···

On 6/28/05, Jim Freeze <jim@freeze.org> wrote:

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
--
Jim Freeze

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. :stuck_out_tongue:

···

On Jun 28, 2005, at 4:49 PM, Jim Freeze wrote:

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'

--
ryand-ruby@zenspider.com - Seattle.rb - Seattle.rb | Home
http://blog.zenspider.com/ - http://rubyforge.org/projects/ruby2c