search for: some_app_gemset

Displaying 2 results from an estimated 2 matches for "some_app_gemset".

2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
...call it in `app/controllers/application_controller.rb` above or below the class definition, Rails dies during autoloading in activesupport-3.2.8/lib/active_support/dependencies.rb:469 due to an unexpected return (LocalJumpError). Here is the log: return /path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/railties-3.2.8/lib/rails/initializable.rb.30 #<Binding:0x007ff7b1403d40> Rails::Initializable::Initializer run return /path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/railties-3.2.8/lib/rails/initializable.rb.54 #<Binding:0x007ff7b14039a8> Rails::Initializable run_ini...
2012 Oct 17
2
autolog: set_trace_func without all the typing
If it helps anyone developing Rails, apps, or gems, I wrote a shortcut for set_trace_func, so next time you want to just add a line before and after some function you are trying to debug you can have Ruby temporarily output every line, method, etc. executed. Also, it lets you define the format, use other loggers, etc. via a proc/lambda define, since you might not like the default format.