One of the error lines - Loading ./config/environments/production.rb
By default Merb creates the file production.rb that contains -
Merb.logger.info("Loaded PRODUCTION Environment...")
Merb::Config.use { |c|
c[:exception_details] = false
c[:reload_classes] = false
c[:log_level] = :error
c[:log_file] = Merb.root / "log" / "production.log"
# or redirect logger using IO handle
# c[:log_stream] = STDOUT
}
It seems to be trying to create a production.log file? Is that the
problem? If so, this would be a problem deploying all Merb apps on
Heroku. Am I on the right track?
On Mar 9, 1:10 am, Ben Lovell <[email protected]> wrote:
> I'm not familiar with merb but I guess the first step is to find out exactly
> why something is being written to the filesystem and proceed from there?
>
> On Sun, Mar 8, 2009 at 12:55 PM, IndianGuru <[email protected]> wrote:
>
> > Ben, I did see that error on line 526. However, my simple merb app
> > just displays the current time in the browser window. My idea was to
> > get a very simple merb app working on Heroku and then go in for
> > bigger, meaningful apps.
>
> > Still stuck.Anyone?
>
> > On Mar 8, 4:25 pm, Ben Lovell <[email protected]> wrote:
> > > I'm no expert admittedly but the filesystem is readonly and it seems as
> > > though there is an attempt to create a directory:
> > > 526:in `mkdir': Permission denied - /home/slugs/.ruby_inline
>
> > > Regards,
> > > Ben
>
> > > On Sun, Mar 8, 2009 at 6:02 AM, IndianGuru <[email protected]>
> > wrote:
>
> > > > I have deployed Sinatra apps to Heroku before and have had no problems
> > > > what-so-ever. I tried deploying a Merb app (
> > > >http://electric-earth-80.heroku.com/
> > > > ) the same way, except adding a config.ru file in the root of the
> > > > app's directory hierarchy as suggested by the Heroku docs here -
> > > >http://heroku.com/docs/index.html#toc29
>
> > > > However, the App failed to start -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---