integrity help doesn't help that much #104

Closed
phocke opened this Issue Aug 5, 2011 · 3 comments

Comments

Projects
None yet
2 participants

phocke commented Aug 5, 2011

ruby 1.9.2-p290

gem install integrity
integrity help

and this is that i receive:

/Users/przemek/.rvm/gems/ruby-1.9.2-p290/gems/integrity-0.1.11/lib/integrity/app.rb:2:in <module:Integrity>': uninitialized constant Sinatra::Default (NameError) from /Users/przemek/.rvm/gems/ruby-1.9.2-p290/gems/integrity-0.1.11/lib/integrity/app.rb:1:in<top (required)>'
from /Users/przemek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /Users/przemek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from /Users/przemek/.rvm/gems/ruby-1.9.2-p290/gems/integrity-0.1.11/lib/integrity.rb:32:in <top (required)>' from /Users/przemek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:54:inrequire'
from /Users/przemek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:54:in require' from /Users/przemek/.rvm/gems/ruby-1.9.2-p290/gems/integrity-0.1.11/lib/integrity/installer.rb:2:in<top (required)>'
from /Users/przemek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:54:in require' from /Users/przemek/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:54:inrequire'
from /Users/przemek/.rvm/gems/ruby-1.9.2-p290/gems/integrity-0.1.11/bin/integrity:2:in <top (required)>' from /Users/przemek/.rvm/gems/ruby-1.9.2-p290/bin/integrity:19:inload'
from /Users/przemek/.rvm/gems/ruby-1.9.2-p290/bin/integrity:19:in `

'

phocke commented Aug 5, 2011

ahhhh

I see - I can't run it on 1.9.2 ...

phocke closed this Aug 5, 2011

zedtux commented Sep 26, 2012

I am encountering the same issue... with Ruby 1.9.3 and REE...

zedtux commented Sep 26, 2012

I have solved my issue by replacing the following line from [...]/gems/ruby-1.9.3-p194/gems/integrity-0.1.11/lib/integrity/app.rb:

  class App < Sinatra::Default

by:

  class App < Sinatra::Base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment