What steps will reproduce the problem?
1. Go to http://rubycas-client.rubyforge.org/
2. implement the "more complicated example" in README.txt using a rails three
installation
3. your site will not load - you get the "no such file or directory" error
message.
What is the expected output? What do you see instead?
Expected: that the site runs and logs to /log/cas.log
Actual: site doesn't load and you get this error message
"C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/logger.rb:599:in `initialize': No
such file or directory - /log/cas.log (Errno::ENOENT)"
Please use labels and text to provide additional information.
RAILS_ROOT is deprecated so this change is required to make the code work for me
<cas_logger = CASClient::Logger.new(RAILS_ROOT+'/log/cas.log')
>cas_logger = CASClient::Logger.new(Rails.root.join('log','cas.log'))
Original issue reported on code.google.com by michael....@gmail.com on 5 Oct 2012 at 1:17
Original issue reported on code.google.com by
michael....@gmail.com
on 5 Oct 2012 at 1:17