Package: ruby-sinatra Version: 1.3.2-1 Severity: important Hi.
I have installed Ruby 1.9 and Sinatra then I created an hello world application. The hello world application does not run because Sinatra requires Rack Protection. What I have done : # apt-get install ruby1.9.1 # apt-get install ruby-sinatra # vim helloworld.rb require 'sinatra' get '/' do 'Hello world!' end # ruby helloworld.rb /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- rack/protection (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/vendor_ruby/sinatra/base.rb:4:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/vendor_ruby/sinatra.rb:4:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from helloworld.rb:1:in `<main>' The application does not run. # apt-get install ruby-rack-protection # ruby helloworld.rb [2012-08-01 11:33:37] INFO WEBrick 1.3.1 [2012-08-01 11:33:37] INFO ruby 1.9.3 (2012-04-20) [i486-linux] == Sinatra/1.3.2 has taken the stage on 4567 for development with backup from WEBrick [2012-08-01 11:33:37] INFO WEBrick::HTTPServer#start: pid=4222 port=4567 The application works after installing ruby-rack-protection package. I think ruby-sinatra should depend on ruby-rack-protection package. Thank you -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ruby-sinatra depends on: ii ruby-rack 1.4.1-2 ii ruby-tilt 1.3.3-2 ii ruby1.9.1 [ruby-interpreter] 1.9.3.194-1 ruby-sinatra recommends no packages. ruby-sinatra suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org