cowboyd / handlebars.rb

Ruby Bindings for Handlebars.js
http://www.handlebarsjs.com
161 stars 67 forks source link

Exposes the Handlebars.js precompile method #12

Closed fredjean closed 11 years ago

fredjean commented 12 years ago

You can pretty easily get to the Handebars.js precompile method, but it would be very convenient to expose the method directly through the Handlebars Ruby bindings.

buildhive commented 12 years ago

Charles Lowell » handlebars.rb #7 FAILURE Looks like there's a problem with this pull request (what's this?)

fredjean commented 12 years ago

It looks like @buildhive needs a newer Ruby installed:

+ bundle exec rake
/scratch/hudson/rubies/ruby-1.8.7-p357-i686/bin/ruby -S rspec ./spec/handlebars_spec.rb
/scratch/hudson/rubies/ruby-1.8.7-p357-i686/bin/ruby: symbol lookup error: /scratch/hudson/rubies/ruby-1.8.7-p357-i686/lib/ruby/gems/1.8/gems/therubyracer-0.11.0beta8-x86-linux/lib/v8/init.so: undefined symbol: rb_intern2
rake aborted!