I'm actually getting the exact same problem. Radiant extensions installed locally work. They are installed via a git clone not a submodule.
When it is deployed to heroku, all extensions directories are empty. Anyone know what's going on? On Oct 6, 8:02 am, lgs <luca.so...@gmail.com> wrote: > Something similar happen to me too ... but I'm not running a submodule > extension. > Instead I got share-layouts-extension like that: > > git clonehttp://github.com/radiant/radiant-share-layouts-extension.git > vendor/extensions/share_layouts > > locally runs ok, but after deploy, when I link the extension > controller "heroku logs" say : > NoMethodError (undefined method `radiant_layout' for > BooklistController:Class): > vendor/extensions/booklist/app/controllers/booklist_controller.rb:4 > /home/heroku_rack/lib/static_assets.rb:9:in `call' > /home/heroku_rack/lib/last_access.rb:25:in `call' > /home/heroku_rack/lib/date_header.rb:14:in `call' > thin (1.0.1) lib/thin/connection.rb:80:in `pre_process' > thin (1.0.1) lib/thin/connection.rb:78:in `catch' > thin (1.0.1) lib/thin/connection.rb:78:in `pre_process' > thin (1.0.1) lib/thin/connection.rb:57:in `process' > thin (1.0.1) lib/thin/connection.rb:42:in `receive_data' > eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine' > eventmachine (0.12.6) lib/eventmachine.rb:240:in `run' > thin (1.0.1) lib/thin/backends/base.rb:57:in `start' > thin (1.0.1) lib/thin/server.rb:150:in `start' > thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start' > thin (1.0.1) lib/thin/runner.rb:173:in `send' > thin (1.0.1) lib/thin/runner.rb:173:in `run_command' > thin (1.0.1) lib/thin/runner.rb:139:in `run!' > thin (1.0.1) bin/thin:6 > /usr/local/bin/thin:20:in `load' > /usr/local/bin/thin:20 > > Rendering /disk1/home/slugs/61413_4306f0f_4f3b/mnt/public/500.html > (500 Internal Server Error) > > ==> dyno-456790.log <== > Could not load extension from file: share_layouts_extension. > #<NameError: uninitialized constant ShareLayoutsExtension> > > Please consider vendor/extensions/booklist/app/controllers/ > booklist_controller.rb:4 is actually like that: > radiant_layout 'Normal' > > and config.extensions is like the following: > config.extensions = [:share_layouts, :all] > > Any suggestion will be greatly appreciated > bye luca > > On Sep 26, 4:55 pm, Thomas Balthazar <gro...@suitmymind.com> wrote: > > > > > Hello Keenan, > > > Thanks a lot for your answer. > > Stupid me. > > > The problem was that theextensionwas installed as a submodule. > > I thought that I had verified that, but I was wrong. > > > Sorry for this mistake, and thanks for your help. > > Everything is working fine. > > > Thomas. > > > And I don't see any error locally. Everything works just fine > > > On Sep 25, 3:46 pm, Keenan Brock <kee...@thebrocks.net> wrote: > > > > Hi Thomas, > > > > for testing, sometimes I: > > > chmod -R 555 rails_app > > > chmod 755 rails_app/tmp > > > > and I run from there > > > > That usually allows me to recreate the problem locally and I go from > > > there. > > > > Keep the questions coming, > > > --K > > > > On Sep 25, 2009, at 6:02 AM, Thomas Balthazar wrote: > > > > > Hello John, > > > > > Thanks a lot for your answer. > > > > That's exactly what I did, but theextensionisn't activated on > > > > Heroku... :-/ > > > > > Any idea? > > > > Best, > > > > Thomas. > > > > > On Sep 25, 5:24 am, john <johnm...@gmail.com> wrote: > > > >> the update command for most extensions modifies the file system (adds > > > >> files to public/javascripts and/or public/stylesheets) so i think > > > >> you're hitting the read-only filesystem restriction. > > > > >> if it's working locally you can commit all of the changes the > > > >>extensionmade and then run: > > > > >> git push heroku master > > > >> heroku db:push > > > > >> which will copy all the new files (the ones from the update command) > > > >> and copy up your database (from the migrate command). > > > > >> On Sep 23, 3:52 pm, Thomas Balthazar <gro...@suitmymind.com> wrote: > > > > >>> Hello, > > > > >>> I've successfully installedRadiant0.8.1 on Heroku. > > > >>> Now, I'm trying to install anextension(http://github.com/tricycle/ > > > >>>radiant-page-preview-extension) but I cannot manage to do it. It > > > >>> works > > > >>> perfectly locally, just by running 'rake > > > >>>radiant:extensions:page_preview:update', but when I try to run this > > > >>> command on Heroku 'heroku rake > > > >>>radiant:extensions:page_preview:update' > > > >>> I get the following error : > > > >>> -- > > > >>> rake aborted! > > > >>> Don't know how to build task > > > >>> 'radiant:extensions:page_preview:update' > > > >>> -- > > > > >>> I've double-checked, and the 'page_preview' is present in my vendor/ > > > >>> extensions folder. > > > > >>> Any idea? > > > > >>> Thanks, > > > >>> Thomas. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---