|
|
| Edge Mephisto with Edge Rails |
  United States |
2007-10-03 09:02:15 |
Hi,
I've just finished configuring edge Mephisto (revision 2984)
with the
Rails 2.0 preview release (revision 7713). I got the same
"undefined
method `reset_application!' for class `Class'" error as
posted here
http://groups.google.com/group/
MephistoBlog/browse_thread/thread/286e077b6c49a3b9
and decided to try and fix it.
The problem is caused by Rails changeset 7640 which moves
the
Dispatcher class into ActionController and also moves the
reset_application! class method to the cleanup_application
instance
method: http://dev.
rubyonrails.org/changeset/7640
Here's my patch:
http://pastie.caboo.se/
103298
This patch also includes a change to the load paths to
prevent action
web service related errors.
In addition you'll need to do the following:
- install the acts_as_list plugin
- remove the simply_helpful plugin
- patch the acts_as_paranoid plugin - details here:
http://www.fngtps.com/2007/07/quick-fix-for-acts_as_
paranoid
I do get errors when running the tests via Rake however I
also got
most of them when using Rails revision 7472 (as previously
recommended
in this group). I put a copy of the test output here in case
it is of
use:
http://pastie.caboo.se/
103290
Errors/failures #10 - #22 in the functional tests are
specific to
revision 7713 - however a quick manual check of the
functionality
suggests that the tests could be at fault rather than the
code. All of
the other errors/failures also occurred with Rails revision
7472.
I think that's everything!
Rob
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|
| Edge Mephisto with Edge Rails |

|
2007-10-04 12:59:57 |
Thanks for your work on this. I've updated the two
acts_as_* plugins
and merged the dispatcher changes. I've also moved the
mephisto_init
file to config/initializers. Overall, Mephisto needs a good
rails 2.0
scrub, I think.
Well, the tests seem to suck now (I wrote those long ago
before really
getting into mocking things or writing better time-aware
tests). But
like you said that's mostly testing errors. It's strange
how code rot
can occur..
On 10/3/07, rob-twf <rob.anderton googlemail.com> wrote:
>
> Hi,
>
> I've just finished configuring edge Mephisto (revision
2984) with the
> Rails 2.0 preview release (revision 7713). I got the
same "undefined
> method `reset_application!' for class `Class'"
error as posted here
> http://groups.google.com/group/
MephistoBlog/browse_thread/thread/286e077b6c49a3b9
> and decided to try and fix it.
>
> The problem is caused by Rails changeset 7640 which
moves the
> Dispatcher class into ActionController and also moves
the
> reset_application! class method to the
cleanup_application instance
> method: http://dev.
rubyonrails.org/changeset/7640
>
> Here's my patch:
>
> http://pastie.caboo.se/
103298
>
> This patch also includes a change to the load paths to
prevent action
> web service related errors.
>
> In addition you'll need to do the following:
>
> - install the acts_as_list plugin
> - remove the simply_helpful plugin
> - patch the acts_as_paranoid plugin - details here:
> http://www.fngtps.com/2007/07/quick-fix-for-acts_as_
paranoid
>
>
> I do get errors when running the tests via Rake however
I also got
> most of them when using Rails revision 7472 (as
previously recommended
> in this group). I put a copy of the test output here in
case it is of
> use:
>
> http://pastie.caboo.se/
103290
>
> Errors/failures #10 - #22 in the functional tests are
specific to
> revision 7713 - however a quick manual check of the
functionality
> suggests that the tests could be at fault rather than
the code. All of
> the other errors/failures also occurred with Rails
revision 7472.
>
> I think that's everything!
>
> Rob
>
>
> >
>
--
Rick Olson
http://lighthouseapp.com
http://weblog.techno-
weenie.net
http://mephistoblog.com
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|
| Edge Mephisto with Edge Rails |
  United States |
2007-10-04 15:59:33 |
Looks like I was a bit too eager to pat myself on the back
for being a
Mephisto contributor! Here's a patch for the patch:
http://pastie.caboo.se/
103876
I haven't had chance yet, but I'm going to see if it is
worth updating
the javascripts (prototype and friends) and also boot.rb to
use the
latest Rails versions too.
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|
| Edge Mephisto with Edge Rails |

|
2007-10-04 18:17:55 |
On 10/4/07, rob-twf <rob.anderton googlemail.com> wrote:
>
> Looks like I was a bit too eager to pat myself on the
back for being a
> Mephisto contributor! Here's a patch for the patch:
>
> http://pastie.caboo.se/
103876
>
>
> I haven't had chance yet, but I'm going to see if it is
worth updating
> the javascripts (prototype and friends) and also
boot.rb to use the
> latest Rails versions too.
Bring it on. I actually waited on pushing 0.8 because
Justin wanted a
chance to do some visual tweaks. But it's looking like I
may go ahead
and push it with rails 2.0 and establish that as the stable
rails
release for now.
Is your patch against your patch or the updated trunk? I
moved
mephisto_init to config/initializers, for instance.
--
Rick Olson
http://lighthouseapp.com
http://weblog.techno-
weenie.net
http://mephistoblog.com
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|
| Edge Mephisto with Edge Rails |
  United States |
2007-10-05 03:09:42 |
The patch is against the updated trunk - this diff is
probably more
useful as it has the full path in it:
http://pastie.caboo.se/
104002
It's just a one-liner which I somehow managed to miss in the
original
patch.
A 0.8 release for rails 2.0 sounds like a good plan - it'd
certainly
make it easier for newcomers to mephisto as there'd be less
uncertainty about which versions to use.
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: Edge Mephisto with Edge Rails |
  United States |
2007-10-05 06:48:07 |
hello there,
i'm trying to get my mephisto-edge running (i need the
plugins, so i
can't stick with the stable release). obviously there have
been some
changes yesterday and the revision moved from 2986 to 2990.
now i
wonder which rails revision you are using with that (7713
doesn't seem
to work for me)?
otherwise it would be sufficient for me to know any
combination that
is working correctly (7472 and ??).
thanks in advance
dominik
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: Edge Mephisto with Edge Rails |
  United States |
2007-10-05 07:00:13 |
hallo there,
i'm trying to get mephisto/edge running. i need plugins
working, so i
can't stick with the stable release.
unfortunately revision 7713 (rails) and 2990 (mephisto)
doesn't seem
to work for me:
$ rake db:bootstrap
rake aborted!
uninitialized constant ActionWebService::Base::Reloadable
is there a set of revisions that work together? rails 7472
and which
mephisto?
thanks in advance
dominik
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: Edge Mephisto with Edge Rails |
  United States |
2007-10-05 09:11:00 |
ok, sorry for doublepost. i fixed the actionwebservice
issue. still,
it doesn't work properly. now i get the old error:
undefined method `extract_options!'
on my other installation i'm stuck with dispatcher errors
since this
is somehow a problem. i followed all the steps and still i
don't see a
possibility to get mephisto running with plugin-support. any
help is
highly appreciated!
thanks
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: Edge Mephisto with Edge Rails |
  United States |
2007-10-05 09:43:12 |
Hi,
Rails 7472 should work with Mephisto 2984 as per the
instructions
here: http://groups.google.com/group/MephistoBlog/msg/
4de9e97fec9d03ce
The latest changes to Mephisto mean it'll only work with the
rails 2.0
preview release, which is revision 7702, or newer.
I'm currently running Mephisto revision 2990 plus the patch
I posted
here http://groups.google.co.uk/group/MephistoBlog/
msg/9cf2cb78ea6ca334
with rails revision 7713 and it works.
The installation instructions for edge have just been
updated on the
Wiki - they may be of help: http://mephisto.stikipad.com/help/show/Installing+Meph
isto
Rob
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: Edge Mephisto with Edge Rails |
  United States |
2007-10-05 10:55:51 |
It might also be a good idea to add a new file to
/config/initializers
for the settings that have now been moved out of
environment.rb
(specifically the UserMailer and ASSET_IMAGE_PROCESSOR
settings).
For example I've created custom.rb on my installation which
contains
the following: http://pastie.caboo.se/
104146
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
|