Ruby on Rails Monday, October 28, 2013

On 28 October 2013 21:51, Ralph Vince <rvince99@gmail.com> wrote:
> I think the issue may be something else Colin. For example, this error seems
> to crop up no matte what the command is:
>
> user@Mint15-32 ~/ggrip/ggripv2 $ rake rails:update
> rake aborted!
>
> A key is required to write a cookie containing the session data. Use
> config.action_controller.session = { :key => "_myapp_session", :secret =>
> "some secret phrase" } in config/environment.rb
> /home/user/.rvm/gems/ruby-1.8.6-p420/gems/actionpack-2.3.2/lib/action_controller/session/cookie_store.rb:163:in
> `ensure_session_key'

That is not all that surprising, it has to load the environment in
order to run rake.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtS%2BmRoTXEHHURFYtVE3Ogb7sOCt5MwxNTrCPWM8%2Bj9aA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment