On Mon, Jan 18, 2010 at 2:04 AM, tispratik
<tispratik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Am loading the model called "Decode" in my yaml file. When i run
the
> rake db:seed, it runs fine in windows. But dont know why it fails in
> unix.
>
> Any ideas?
>
>
> params.yml
>
> <%
> require ''Decode''
> i = 0
> %>
>
> Filter_Param<%= i=i+1 %>:
> id: <%= i=i+1 %>
> filter_param: chapter_status
> disp_value: Active
> internal_param: modul_status
> internal_value: <%= Decode::CHAPTER_STATUS_ACTIVE %>
> sort_order: 1
>
>
> In Unix:
> rake aborted!
> no such file to load -- Decode
Case sensivity in the file name? Most operating systems, unlike
WIndows treat file names, "Decode.rb" and "decode.rb" as
different.
--
Rick DeNatale
Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.