joshbuddy / http_router

A kick-ass HTTP router for use in Rack
MIT License
198 stars 44 forks source link

Big problem with permissions #12

Closed DAddYE closed 13 years ago

DAddYE commented 13 years ago

I think we have a big problem with permissions. Steps:

1) Install gem as root or a different user 2) Login with a different user than point one

You got:

[git@srv2 padrino]$ gem search http_router

*** LOCAL GEMS ***

http_router (0.7.4, 0.5.4, 0.5.3, 0.5.2, 0.5.0, 0.4.1, 0.3.17, 0.3.16)
[git@srv2 padrino]$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'http_router'
LoadError: no such file to load -- http_router
    from /opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
    from /opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
    from (irb):2
DAddYE commented 13 years ago

After doing that:

chmod +rx -R /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/http_router-0.7.4 every thing works fine.

joshbuddy commented 13 years ago

Fixed in 0.7.5