On Fri, Jun 26, 2009 at 4:41 PM, Francis Fish <[email protected]>wrote:

> On Thu, Jun 25, 2009 at 3:04 PM, Dave Spurr <[email protected]> wrote:
>
>>
>> Are you using a virtual machine for your dev env? If so make sure the
>> clock on your VM is set to the right time. I had a situation once where
>> I was editing files locally which were then mounted on my dev VM and
>> changes weren't showing in Rails.
>>
>> -D
>>
>> On 25/6/09 12:48, Francis Fish wrote:
>> > Hi guys,
>> >
>> > This is driving me nuts and restarting passenger makes no difference.
>> >
>> > If I rename the layout and change the name in the controller then it
>> > picks it up.
>> >
>> > CSS seems to suffer from the same problem.
>> >
>> > I'm convinced that my 2.2.2 project *just works*. Is there something
>> > in 2.3 I've missed?
>> >
>> > Thanks and regards,
>> >
>> > Francis
>> >
>> > Follow me on twitter https://twitter.com/fjfish
>> > Blog at http://www.francisfish.com
>> > (you can also buy my books from there!)
>> >
>> > >
>>
>>
>> >>
>>
> Nope, I've just upgraded to 2.2.2 by setting the gem version in
> environment.rb - bizarre.
>
>
> Thanks and regards,
>
> Francis
>
> Follow me on twitter https://twitter.com/fjfish
> Blog at http://www.francisfish.com
> (you can also buy my books from there!)
>
>
>
Finally worked this out. I use emacs and it keeps old versions of the files
with handy ~1~, ~2~ extensions. For some reason these were being loaded
instead of the main file. I have a little shell alias that purges these
backup files and things start working if I run it.

Now I suppose I need to go dredging in the part that recognises file names
for HAML. Maybe not.

I had to go back to 2.3.2 because the hybrid wouldn't work with passenger.
At least I know what the problem is now. The give away was looking at error
messages and realising it was referring to the file with the ~ on the end.

Thanks and regards,

Francis

Follow me on twitter https://twitter.com/fjfish
Blog at http://www.francisfish.com
(you can also buy my books from there!)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to