railshero
railshero

Reputation: 13

Ruby on rails : How can i run/debug find bugs for ruby on rails 3.1?

I did : git clone [email protected]:user/rails

Now how can i run/debug find bugs for ruby on rails 3.1 ? Someone please mention the method completely.

Thanks.

Upvotes: 1

Views: 616

Answers (2)

Anatoly
Anatoly

Reputation: 15530

If you want to contribute into the Rails core, first off you can use railscast, then read official doc. Anyway it's not enough to do it. The best way is keep an eye on Rails chsngelog, test your projects and report about bugs, looking for potential bugs into Github Issues and trying to reproduce them localy. The value contributor is the man who care about code quality, stability and primarely spend spare time to help the community, help to real business projects.

Upvotes: 0

Trip
Trip

Reputation: 27114

Add in your Gemfile :

gem 'ruby-debug'

Then in your console type :

bundle install

Then start your application with :

rails server --debugger

Then where ever you want to set up a break point, just write the word debugger

Upvotes: 2

Related Questions