I did a little bit of further research, and here's some more specific  
information on Radiant vs. Heroku:

1) Radiant's config/boot.rb is hard coded to look for the radiant gem  
in vendor/radiant. We put user gems in vendor/gems, so it'd have to  
be able to look in vendor/gems/radiant.

2) The rake db:bootstrap command used to create the initial Radiant  
database prompts the user to enter information, which the Heroku code  
editor's console does not currently support. You could get around  
this by running it locally and uploading a dump of the database with  
csv or yaml_db.

3) Looks like the Radiant gem itself contains a full Rails directory  
structure, including a version of Rails frozen into vendor/gems/ 
radiant/vendor/rails. Our current loading procedures hadn't  
considered the scenario that someone would do this type of thing, so  
I had to delete their version of rails to avoid loading it.

4) The missing app directory issue with with import, which it's  
possible to get around as you did.

So, in summary, while it's possible to patch your way through these  
issues and get Radiant running on Heroku, it's quite a ways away from  
"just working".

Best,

/Morten

On Jun 17, 2008, at 11:43 AM, luiGi wrote:

> ohhh too bad... It was a small personal project that i wanted  
> online. and heroku was perfect for it! I hope it works some day...
> thank you anyways Morten!
>
> On Tue, Jun 17, 2008 at 2:54 PM, Morten Bagai <[EMAIL PROTECTED]>  
> wrote:
>
> Hey,
>
> The short answer is that right now it doesn't work.
>
> I think the reason is that Radiant uses a non-standard Rails
> directory structure (there's no app directory), and that's definitely
> a problem as far as uploading the app to Heroku. I see you got around
> that by putting an app directory (from an empty Rails app?), but in
> my own experiments that wouldn't even work locally.
>
> I'd love to see Radiant working on Heroku at some point, but we'd
> need to know a little bit more about how it differs from a standard
> Rails app.
>
> Best,
>
> /Morten
>
> On Jun 17, 2008, at 5:56 AM, luiGi wrote:
>
> > Hi everybody! I know this question has already appeared a few times
> > on this list, but It was never resolved.
> > I've created an app locally using the radiant gem, uploaded it to
> > heroku.
> > Now, how do I bootstrap the db? It tells me I dont have the radiant
> > gem installed. I already installed the gem using the heroku gem
> > installer, but nothing happens...
> > the error message is:
> >
> > "Missing the Radiant gem. Please `gem install -v= radiant`, update
> > your RADIANT_GEM_VERSION setting in config/environment.rb for the
> > Radiant version you do have installed, or comment out
> > RADIANT_GEM_VERSION to use the latest version installed.
> > (in /mnt/home/userapps/19992)"
> >
> > Thank you for your help!
> >
> > >
>
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to