Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Change of debugger dependency #8

Merged
merged 1 commit into from

2 participants

@tarebyte

Change of Debugging Gem

I tried to run the Sinatra app, and had some issues with Ruby 1.9.3 and getting the ruby-debug gem to work.

I replaced it with debugger, and then added the dependency to the sinatra gemspec file.

If there is another way that I could have fixed it, or there was doing something I was doing wrong please let me know.

I'm currently trying to dive my way into Ruby and Ruby web applications, and your example was really helpful.

@atmos atmos merged commit f402b2c into atmos:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +2 −1  sinatra_auth_github.gemspec
  2. +1 −1  spec/app.rb
View
3  sinatra_auth_github.gemspec
@@ -22,7 +22,8 @@ Gem::Specification.new do |s|
s.add_development_dependency "shotgun"
s.add_development_dependency "randexp", "~>0.1.5"
s.add_development_dependency "rack-test", "~>0.5.3"
-
+ s.add_development_dependency "debugger"
+
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
View
2  spec/app.rb
@@ -1,5 +1,5 @@
require 'pp'
-require 'ruby-debug'
+require 'debugger'
module Example
class App < Sinatra::Base
Something went wrong with that request. Please try again.