msevestre / monologue_image_upload

Extension managing image upload for the monologue engine
MIT License
6 stars 23 forks source link

Can't perform a migration after install #1

Closed xvonabur closed 11 years ago

xvonabur commented 11 years ago

Ok, after the last commit it doesn't error me about site_url param. But I still can't perform a migration. It gives me another error:

rake aborted!
uninitialized constant Monologue::ControllerHelpers
app/controllers/ckeditor/picture_controller_decorator.rb:3:in `block in     <module:Ckeditor>'

Maybe I missed some configuration steps ?

msevestre commented 11 years ago

can you run bundle update monologue? You need the latest version (yesterday)

On Mon, Oct 21, 2013 at 8:37 PM, xvonabur notifications@github.com wrote:

Ok, after the last commit it doesn't error me about site_url param. But I still can't perform a migration. It gives me another error:

rake aborted! uninitialized constant Monologue::ControllerHelpers app/controllers/ckeditor/picture_controller_decorator.rb:3:in `block in module:Ckeditor'

Maybe I missed some configuration steps ?

— Reply to this email directly or view it on GitHubhttps://github.com/msevestre/monologue_image_upload/issues/1 .

xvonabur commented 11 years ago

I saw your last commit and checked twice versions of both monologue and monologue_image_upload. Both of them are up to date (checked by version number and last commit changings).

My current Gemfile.lock can be found here: https://gist.github.com/xvonabur/c4f7f403e5cad2edb096

msevestre commented 11 years ago

Well this is weird. ControllerHelpers is defined here https://github.com/jipiboily/monologue/tree/master/app/controllers/monologue/controller_helpers

I haven't tried to perform a fresh install of Monologue and monologue_image_upload on a brand new rails4 app. I'll give it a try later and get back to you

msevestre commented 11 years ago

Well the latest commit for monologue is c11d1304bc17339ed9a748eb3c9db8b396b789d7 You are using 8581f84e1735da4b36bbe610000cacc55ee36b77 which does not contain the aforementioned changed

That might be the reason don't you think? Please run bundle update monologue If it does not help, run bundle update Hope that helps

xvonabur commented 11 years ago

Thanks! I think switching between branches messed up Gemfile.lock. Sorry for misinformation. Running bundle update resolves the issue. Closing the thread.