Finding a path in Rails folder -


i wanted debuging purpsoes learn how use logging, used write "puts" every , see them in console. logging need simple rails.logger.debug('hello place')

i found looks logging goes somewhere this:

#{rails.root}/log/#{rails.env}.log 

but still having problem navigating such path :)

ok if rails thats get:

/users/ericcartman/.rvm/gems/ruby-1.9.3-p374/bin/rails 

so how should navigate there? in dev environment.

the logs found in log directory of rails application.

so enter rails s start application, try ls -l log list log files.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -