bobthecow / genghis

The single-file MongoDB admin app
http://genghisapp.com
MIT License
1.45k stars 166 forks source link

Mustache errors #181

Open mattmorten opened 10 years ago

mattmorten commented 10 years ago

I run /usr/bin/genghisapp (having installed from gem) and I receive the following error:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require': /Library/Ruby/Gems/1.8/gems/sinatra-mustache-0.3.1/lib/sinatra/helpers/mustache.rb:10: syntax error, unexpected tIDENTIFIER, expecting tAMPER (SyntaxError) add_to_mustache_helper_methods(*arg.instance_methods, arg) ^ from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' from /Library/Ruby/Gems/1.8/gems/sinatra-mustache-0.3.1/lib/sinatra/mustache.rb:2 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' from /Library/Ruby/Gems/1.8/gems/genghisapp-2.3.11/genghis.rb:870 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' from /Library/Ruby/Gems/1.8/gems/genghisapp-2.3.11/bin/genghisapp:9 from /usr/bin/genghisapp:19:inload' from /usr/bin/genghisapp:19`

bobthecow commented 10 years ago

What versions of mustache, sinatra, and genghisapp gems are you running? What Ruby version?

aaronup commented 10 years ago

@bobthecow, same error for me as well...

Here's the details: mustache (0.99.5) sinatra (1.4.5) sinatra-contrib (1.4.2) sinatra-mustache (0.3.1)

Note, these are the versions getting installed via dependencies via $ gem install genghisapp

genghisapp (2.3.11) ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0]

Thanks for looking into it

mattmorten commented 10 years ago

My versions are identical to aaronup, with exception of:

ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]