I used Ubuntu server 12.10 to set up a Rails application on Apache with passenger, I export RAILS_ENV=production before rake db:create , then when I tried to run the instance getting this runtime error:
You must set a secret token in config/initializers/secret_token.rb
Well, i executed command "rake secret" and then copied the outputing serial code to secret_token.rb, but that didn't solve my problem. I also tried
$ irb irb(main):007:0>#{SecureRandom.hex(64)}
Any Advice Would be Greatly Appreciated! Thank you!