Re: Put an application into maintenance state

2009-09-04 Thread GreenAsJade

That is _great_ news!

I can banish my set all my heroku settings at once to some new state
scripts!


On Sep 4, 1:08 pm, Keenan Brock kee...@thebrocks.net wrote:
 Hi GaJ

 I just tested and it looks like it works the way you and I want. (it  
 is additive so you can just specify the one variable)

 Not sure when they fixed it, but sure enough - we're all set on this  
 one.

 --Keenan

 On Sep 3, 2009, at 11:26 PM, GreenAsJade wrote:



  It's a nice idea.

  One small fly in the ointment is that you can't individually set
  heroku configuraiton variables (unless this is fixed now?)

  Certainly last time I tried it, I found that any env var not set
  explicitly on the same config:add statement was removed.  IE
  config:add is not additive.

  This means that to implement the suggestion above, you would have to
  ensure that each time you turn on and off MAINTAIN you will have to be
  setting all the other vars as well.  A royal PITA.

  GaJ

  On Sep 4, 3:59 am, Keenan Brock kee...@thebrocks.net wrote:
  Hi Thomas,

  For passenger, there is a way to say if a file is present, then
  display a maintenance page. (using mod rewrite)
  This got me thinking.

  Heroku has environmental variables. So why not use an environmental
  variable to trigger a maintenance page?

  Maybe you can add a maintenance page to your site.
  e.g.:

  setup the blocker:

  config/routes.rb: (below Routes.draw but above the other entries)
  if ENV['MAINTAIN']=='true'
     map.maintain '*path', :controller = 'application', :action =
  'show500'
  end

  -or-
  application_controller.rb
  if ENV['MAINTAIN']=='true'
     before_filter :show500
  end

  and setup the renderer:

  app/controllers/application_controller.rb
  def show500
    render :file = 'shared/maintain', :status = 500
    false
  end

  To turn it on:

  heroku config:add MAINTAIN true
  The site will say we'll be back soon
  rake db:migrate
  other stuff
  heroku config:remove MAINTAIN

  Hope this meets your needs.

  I'll throw together a plugin when I get the chance. But long weekend
  suggests I'll have other things on my plate.
  --Keenan

  On Sep 1, 2009, at 2:25 PM, geolev wrote:

  I think this would be great. Does anyone know how to do this?

  On Aug 28, 2:52 am, Thomas Balthazar gro...@suitmymind.com wrote:
  Hello,

  I'd like to know what would be the best way to put an application
  into
  maintenance state.

  I want to deploy a major update (code + db structure + data
  migration)
  on a Production app, and I'd like to be sure that users don't use  
  the
  app while I'm deploying and testing.

  As far as I know, as soon as I run 'git push heroku', the app is
  deployed and the users are able to access it.
  The problem is that I haven't run 'heroku rake db:migrate' yet, so
  the
  app that is online right now doesn't work.
  Also, once I've run 'heroku rake db:migrate', I'd like to be able  
  to
  test the app to be really sure everything is ok.
  But the users are already using the app and if I made a mistake  
  and I
  want to rollback, I can't, since users are already using the new DB
  structure.

  I know I have to test the app so it doesn't happen, I also have a
  Staging app to test everything, but, you know, sometimes things  
  still
  go wrong.

  So, what would be the best approach to achieve an application
  'maintenance' state?

  Thanks for your suggestions.

  Best,
  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
-~--~~~~--~~--~--~---



Re: Put an application into maintenance state

2009-09-04 Thread GreenAsJade

The old thread on this is here:

 http://groups.google.com/group/heroku/browse_thread/thread/7963db5d7691f52e/

Note that RACK_ENV always stayed set, in case that's what you saw.


On Sep 4, 1:08 pm, Keenan Brock kee...@thebrocks.net wrote:
 Hi GaJ

 I just tested and it looks like it works the way you and I want. (it  
 is additive so you can just specify the one variable)

 Not sure when they fixed it, but sure enough - we're all set on this  
 one.

 --Keenan

 On Sep 3, 2009, at 11:26 PM, GreenAsJade wrote:



  It's a nice idea.

  One small fly in the ointment is that you can't individually set
  heroku configuraiton variables (unless this is fixed now?)

  Certainly last time I tried it, I found that any env var not set
  explicitly on the same config:add statement was removed.  IE
  config:add is not additive.

  This means that to implement the suggestion above, you would have to
  ensure that each time you turn on and off MAINTAIN you will have to be
  setting all the other vars as well.  A royal PITA.

  GaJ

  On Sep 4, 3:59 am, Keenan Brock kee...@thebrocks.net wrote:
  Hi Thomas,

  For passenger, there is a way to say if a file is present, then
  display a maintenance page. (using mod rewrite)
  This got me thinking.

  Heroku has environmental variables. So why not use an environmental
  variable to trigger a maintenance page?

  Maybe you can add a maintenance page to your site.
  e.g.:

  setup the blocker:

  config/routes.rb: (below Routes.draw but above the other entries)
  if ENV['MAINTAIN']=='true'
     map.maintain '*path', :controller = 'application', :action =
  'show500'
  end

  -or-
  application_controller.rb
  if ENV['MAINTAIN']=='true'
     before_filter :show500
  end

  and setup the renderer:

  app/controllers/application_controller.rb
  def show500
    render :file = 'shared/maintain', :status = 500
    false
  end

  To turn it on:

  heroku config:add MAINTAIN true
  The site will say we'll be back soon
  rake db:migrate
  other stuff
  heroku config:remove MAINTAIN

  Hope this meets your needs.

  I'll throw together a plugin when I get the chance. But long weekend
  suggests I'll have other things on my plate.
  --Keenan

  On Sep 1, 2009, at 2:25 PM, geolev wrote:

  I think this would be great. Does anyone know how to do this?

  On Aug 28, 2:52 am, Thomas Balthazar gro...@suitmymind.com wrote:
  Hello,

  I'd like to know what would be the best way to put an application
  into
  maintenance state.

  I want to deploy a major update (code + db structure + data
  migration)
  on a Production app, and I'd like to be sure that users don't use  
  the
  app while I'm deploying and testing.

  As far as I know, as soon as I run 'git push heroku', the app is
  deployed and the users are able to access it.
  The problem is that I haven't run 'heroku rake db:migrate' yet, so
  the
  app that is online right now doesn't work.
  Also, once I've run 'heroku rake db:migrate', I'd like to be able  
  to
  test the app to be really sure everything is ok.
  But the users are already using the app and if I made a mistake  
  and I
  want to rollback, I can't, since users are already using the new DB
  structure.

  I know I have to test the app so it doesn't happen, I also have a
  Staging app to test everything, but, you know, sometimes things  
  still
  go wrong.

  So, what would be the best approach to achieve an application
  'maintenance' state?

  Thanks for your suggestions.

  Best,
  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
-~--~~~~--~~--~--~---



Re: Put an application into maintenance state

2009-09-03 Thread GreenAsJade

It's a nice idea.

One small fly in the ointment is that you can't individually set
heroku configuraiton variables (unless this is fixed now?)

Certainly last time I tried it, I found that any env var not set
explicitly on the same config:add statement was removed.  IE
config:add is not additive.

This means that to implement the suggestion above, you would have to
ensure that each time you turn on and off MAINTAIN you will have to be
setting all the other vars as well.  A royal PITA.

GaJ


On Sep 4, 3:59 am, Keenan Brock kee...@thebrocks.net wrote:
 Hi Thomas,

 For passenger, there is a way to say if a file is present, then  
 display a maintenance page. (using mod rewrite)
 This got me thinking.

 Heroku has environmental variables. So why not use an environmental  
 variable to trigger a maintenance page?

 Maybe you can add a maintenance page to your site.
 e.g.:

 setup the blocker:

 config/routes.rb: (below Routes.draw but above the other entries)
 if ENV['MAINTAIN']=='true'
    map.maintain '*path', :controller = 'application', :action =  
 'show500'
 end

 -or-
 application_controller.rb
 if ENV['MAINTAIN']=='true'
    before_filter :show500
 end

 and setup the renderer:

 app/controllers/application_controller.rb
 def show500
   render :file = 'shared/maintain', :status = 500
   false
 end

 To turn it on:

 heroku config:add MAINTAIN true
 The site will say we'll be back soon
 rake db:migrate
 other stuff
 heroku config:remove MAINTAIN

 Hope this meets your needs.

 I'll throw together a plugin when I get the chance. But long weekend  
 suggests I'll have other things on my plate.
 --Keenan

 On Sep 1, 2009, at 2:25 PM, geolev wrote:



  I think this would be great. Does anyone know how to do this?

  On Aug 28, 2:52 am, Thomas Balthazar gro...@suitmymind.com wrote:
  Hello,

  I'd like to know what would be the best way to put an application  
  into
  maintenance state.

  I want to deploy a major update (code + db structure + data  
  migration)
  on a Production app, and I'd like to be sure that users don't use the
  app while I'm deploying and testing.

  As far as I know, as soon as I run 'git push heroku', the app is
  deployed and the users are able to access it.
  The problem is that I haven't run 'heroku rake db:migrate' yet, so  
  the
  app that is online right now doesn't work.
  Also, once I've run 'heroku rake db:migrate', I'd like to be able to
  test the app to be really sure everything is ok.
  But the users are already using the app and if I made a mistake and I
  want to rollback, I can't, since users are already using the new DB
  structure.

  I know I have to test the app so it doesn't happen, I also have a
  Staging app to test everything, but, you know, sometimes things still
  go wrong.

  So, what would be the best approach to achieve an application
  'maintenance' state?

  Thanks for your suggestions.

  Best,
  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
-~--~~~~--~~--~--~---



Re: Put an application into maintenance state

2009-09-02 Thread GreenAsJade


Would be good.  With herokugarden if I recall correctly you could set
an app to private.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: performance expectations for 1 dyno 'blossom'?

2009-06-29 Thread GreenAsJade

Don't want to jinx myself, but ATM performance on 1 dyno is fine for
my site.

cmmods.greenasjade.net

You can type in Panther to see a search that has to search lots.

Of course, it's a relatively small database, but that's what 1 dyno is
for, right?

It's not like there's a noticeable delay just running the basic rails
that forms the pages etc...

GaJ


On Jun 29, 11:20 am, Carl Anderson nexus...@gmail.com wrote:
 I'll second newrelic's RPM. They had a free week long trial for the best
 package (gold, IIRC) a while back and it was pretty impressive. The free
 package is okay, and you can see enough to be reasonably useful, but there
 is a lot missing from the higher level packages.

 Carl

 On Sun, Jun 28, 2009 at 7:11 PM, Paul Gallagher 
 gallagher.p...@gmail.comwrote:

  Thanks for the suggestions Oren, I'll do some more monitoring. Haven't used
  newrelic before, but heard good things about it. Seems like a good chance to
  check it out;-)

  On Mon, Jun 29, 2009 at 9:39 AM, Oren Teich o...@teich.net wrote:

   is current performance (i.e. the past few days) unusual/ are there
  issues
   being actively resolved?
   is performance recognised as an issue/ are there plans to do anything
  about
   it?
   what have other's experiences been like? (network is a factor for me
  since
   I'm based in Singapore, but not when compared to other US-hosted sites)

  That does sound odd.  I've had variable performance at times with
  Heroku myself.  I know that at one point they upgraded something I was
  running on, which had a huge performance bump for me.

  are you using anything like newrelic or scout?  That can give you a
  good feel for where the performance issue is, and help identify if
  it's heroku acting wonky or something else.  I've used newrelic myself
  (the free version) to get a feel for what's going on.

  You can also submit a ticket at support.heroku.com, and they're
  usually pretty good about responding.
  Oren
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Spam

2009-06-24 Thread GreenAsJade

I hope y'all are joining in and reporting it, just in case someone is
listening...

On Jun 24, 1:45 am, John McCaffrey john.mccaff...@gmail.com wrote:
 I triple vote for that. I want to keep up to date on heroku, but the spam
 really sucks.

 On Tue, Jun 23, 2009 at 11:12 AM, Trevor Turk trevort...@gmail.com wrote:

  I've read elsewhere that setting the first post by a user must be
  approved by a moderator thingy in Google Groups can really help with
  spam...

 --
 Cheers
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Spam

2009-06-24 Thread GreenAsJade


 On Wed, Jun 24, 2009 at 7:27 PM, Morten Bagaimor...@heroku.com
wrote:

  I made that settings change for the group, and also nuked some of
  recent spam.

Great!  Thanks!

  One of the actions I'm considering is moving the Heroku discussion
  forum to our Zendesk support system at support.heroku.com. It has a
  decent forums feature, which you can check out 
  here:http://support.heroku.com/forums/51588/entries
  . If you have any feedback on that I'd love to hear about it.

It possibly matters less where the forum is and more how often you
visit it :)

If it was on Zendek it might feel more official, which would be
good.

The other thing I'd like to see is an IRC channel.  I went over and
did
/join #heroku at irc.freenode.net, but it was just me there.

GaJ



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Support response time

2009-06-04 Thread GreenAsJade


I had an overnight response just now.

I agree with Trevor - try a bump.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Heroku | Backlog too deep

2009-05-26 Thread GreenAsJade

Thanks for the good explanation.

Can I request that the message be more end user friendly?

At the moment it tells the poor user that this application is out of
grunt and how to get more grunt, but they don't really care about that
- _they_ aren't the ones who are going to be buying more dynos.

I think a better message would be along the lines of Ooops, this
application is overloaded.  Please try again later, and let the
administrator know.

Regards,

Martin

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: More info, please

2009-05-26 Thread GreenAsJade

I'm a mere user, but I can share my experience

 1. I will have a lot of assets (pics and videos) which I will be
 storing in S3. Is there a bandwidth charge from Heroku to upload these
 files to S3?

There appears to be no charge for the bandwidth as such.

However, there is a file size limit: 10MB.

In order to upload bigger files than this, your app on Heroku needs to
arrange for direct upload to
S3.

I ended up using s3_swf_upload_plugin, which I had to hack fairly
heavily to get it doing what I wanted.The final version of the
plugin I ended up using is here:

http://github.com/GreenAsJade/s3-swf-upload-plugin/tree/master

If you find an easier/better way, I'd love to hear about it.

The other thing to be aware of is the just-recently-discussed dynos
or number of parallel requests that can be serviced.   I'm not 100%
certain, but I have a feeling this will limit your bandwidth as well -
there's only so much you can do if you are only serving one user at
once.

Actually - it's a good question: is the dyno consumed while uploading
is happening?


 4. My application uses email to send different types of notifications
 to the users. What are the options of setting up mailing in Heroku?

I believe that once your account is verified, you will be able to send
email from the app.  It works for me.

 5. Security. I understand that Heroku manages everything, including
 security. What is the procedure in case there is need to audit a user
 and check the access log? Would it be possible to describe more the
 security auditing mechanism that you have to offer

I'm not aware of there being anything more than described here:

 http://docs.heroku.com/logs-exceptions

Your app can log access to it's own satisfaction, can't it?

GaJ

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Heroku | Backlog too deep

2009-05-26 Thread GreenAsJade

Not sure if you need to edit your code.

 heroku restart

sounds like a good place to start :)

GaJ

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Watch out: Exception reporting, environment vars, hoptoad etc

2009-05-26 Thread GreenAsJade

Hi All,

Heroku recommend, in their docs, that you use hoptoad or similar for
exception reporting.  Great idea.

They also recommend that you use environment vars for setting secret
information that should not be in your codebase.  Another great idea.

However if you are going to do this watch out!   Hoptoad will
email you your whole environment.

This means that any config vars you set will be emailed in the clear.
That's not great for things like your Amazon S3 secret key.

Hoptoad provide a solution:

 http://help.hoptoadapp.com/faqs/troubleshooting-2/environment-filters

I reckon Heroku should point this out in their docs, and so should
hoptoad: neither of them do, at the moment.

GaJ


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: do_postgres LoadError

2009-05-20 Thread GreenAsJade

I have no real clue, but just to offer the obvious: what is
DataMapper and
what does it depend on?

If it depends on a gem that you have installed locally, then you need
to list
this gem in your .gems file so that heroku will load it...

GaJ


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



What does heroku bundles:animate bundle do?

2009-05-20 Thread GreenAsJade

The help says animate a bundle into a new app

What exactly does this mean?



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: no more feedback from rake?

2009-05-20 Thread GreenAsJade

FWIW, I just did heroku rake db:migrate and it gave me the whole usual
trace.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



heroku gem points to non-existent URL

2009-05-20 Thread GreenAsJade

Running

 heroku addons:add custom_domains

I get:

Adding custom_domains to cmsfmods...FAILED
!Before activating this add-on you must verify your account:
!Please visit http://heroku.com/billinghttp://heroku.com/billing
to set up your account.


However, when I visit that URL, I get


Page Not Found

Sorry champ, no luck at that URL. Cut-and-paste error, maybe?


Martin.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: elevated errors today - resolved

2009-05-14 Thread GreenAsJade

Thanks for letting us know!

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Direct upload to S3 (avoid Heroku 10M upload limit)

2009-05-12 Thread GreenAsJade

I have now got s3_swf_upload_plugin working to my moderate
satisfaction.

My fork is available:

 http://github.com/GreenAsJade/s3-swf-upload-plugin/tree

and I've put up a working example:

 http://demo-s3-swf-upload.heroku.com

This fork has the following additions from the original:

* Ability to use environment variables for Amazon credentials (so
you don't
  have to hardcode them in your app)
* Ability to set the message next to the button, configurable from
the view
* Ability to check the file is appropriate, after they selected it
but before upload starts.
 (so you can check they aren't splatting something they
shouldn't)
* Set default prefix to '', so you can upload to the root of
your bucket.
* Lots more error/warning messages when things go wrong.
* Explicit consideration of application authentication issues
* Now calls onFail not onSuccess if they try to upload without
selecting anything.





--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Git Submodule Support

2009-05-10 Thread GreenAsJade


It's definitely a pain not having this support.

I'm developing a component, with a master repo at github, which is a
plugin for my rails app.

It's painful having to mess around every time I bring a new component
change into the app.

GaJ

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: 500 Error?!?

2009-05-08 Thread GreenAsJade

Had some of those earlier, they went away.

Now I get a fail whale when I try to pull my data off heroku though...
and I can't create a new app on it...

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Service status?

2009-05-08 Thread GreenAsJade


It's interesting that for a service with thousands of deployed apps,
how _little_ fuss there is when it goes down!  Wierd really!

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Direct upload to S3 (avoid Heroku 10M upload limit)

2009-05-03 Thread GreenAsJade

If anyone has had any luck with this, I'd _really appreciate_ knowing
how to solve it.

Can it be that so few apps are trying to upload more than 10M at once?

As far as I can see, s3-swf-upload-plugin is barely a starting point:
it doesn't even have a way to notify your rails app that the upload
happened!

It basically just plonks files in a bucket each time the user clicks
it's upload button.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Full Text Search

2009-05-02 Thread GreenAsJade

Has anyone had trouble with acts_as_ferret?

I've hesitated to implement text searching based on it due to all the
complaints you can read about if you google.

Any change of heroku supporting Sphinx?


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Direct upload to S3 (avoid Heroku 10M upload limit)

2009-04-29 Thread GreenAsJade

Has anyone found an easy-to-implement direct upload method to use with
rails/paperclip?

Morten pointed me to SWFUpload, but this appears to be legendary in
it's difficulty to use.  Just look at
http://jimneath.org/2008/05/15/swfupload-paperclip-and-ruby-on-rails/
for the types of problems.

I need something simple and basic to get some files from my users up
to S3.

Help!

Thanks!

Martin.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Direct upload to S3 (avoid Heroku 10M upload limit)

2009-04-29 Thread GreenAsJade

I'd be interested to know if anyone really uses

http://github.com/elcgit/s3-swf-upload-plugin/tree/master

The problems I had with this are

1) Ugly (but that would be better than nothing)

2) Can't do multiple files.

3) Doesn't integrate with paperclip.

Martin

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Sending e-mails with the new pricing scheme

2009-04-27 Thread GreenAsJade

Great news, thanks!



On Apr 27, 9:58 pm, Morten Bagai mor...@heroku.com wrote:
 Hi,

 Sending outgoing email (via an external SMTP service) will continue to  
 remain free. You will need to verify your account to activate outgoing  
 email traffic by providing us your billing info. You will not be  
 billed anything until you order actual paid services, but since email  
 traffic carries a high potential for abuse we need some basic customer  
 information.

 As you may already have guessed from this, verification will replace  
 blessings as the method for activating premium features (paid and  
 unpaid).

 Best,

 Morten

 On Apr 26, 2009, at 3:23 AM, August Lilleaas wrote:



  Hi there,

  I have a small sinatra app that needs to send e-mails. Probably 10-ish
  mails a week, not a lot. I couldn't find anything about e-mails on the
  new pricing page, do I still have to apply for a blessing to get e-
  mails?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Good DNS hosting?

2009-04-25 Thread GreenAsJade


And if you want a second option, zonedit.com has done well for me for
ages.

Martin

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: A Vote for Supporting MySQL

2009-04-25 Thread GreenAsJade

I too have problems with plugins that don't support postresql  :(

Bummer about Oracle buying MySQL eh?  Does that reduce
the changes of heroku taking MySQL seriously?

Almost made me think I have to face getting postresql installed (no,
please, no!  :D )



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Heroku config command

2009-04-25 Thread GreenAsJade

Hey there heroku people, any chance of having heroku config return
the config in a friendly way, one line with KEY=VAL so we can cut and
paste into the new line to set a new val.

Otherwise I'll have to resort to a local script or something for this
operation, doh!


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Good DNS hosting?

2009-04-25 Thread GreenAsJade

sigh, that'd be zoneedit.com with two ees.



On Apr 25, 3:42 pm, GreenAsJade martin.jg.greg...@gmail.com wrote:
 And if you want a second option, zonedit.com has done well for me for
 ages.

 Martin
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Warning: lib/active_record/validations.rb:65: warning: Object#type is deprecated; use Object#class

2009-04-25 Thread GreenAsJade

I'm getting this in my heroku logs.

I'm told its a rails/ruby version mismatch.  That seems unexpected,
so I'm thinking maybe some other explanation?

I don't get this in my development environment.

How can I track it down/get rid of it?


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: phpMyAdmin equivalent?

2009-04-19 Thread GreenAsJade

heroku console is handy, if you can work through rails.

eg

heroku console
 a = Thing.find_by_foo(wrong_foo_value)
= #Foo id:999, foo:wrong_foo_value 
a.foo=right_foo_value
= #Foo id:999 , foo:right_foo_value 
a.save
= true

woo hoo.



On Apr 20, 12:46 am, Brian Armstrong barmstr...@gmail.com wrote:
 Thanks for the response GreenAsJade...

 That's unfortunate, since of course any changes made by users (or new
 accounts created) in between the pull/push get overwritten.  I guess
 I'll need to write some sort of admin interface.

 On Apr 14, 3:11 am, GreenAsJade martin.jg.greg...@gmail.com wrote:

  No, I'm pretty sure not.

  I think you'll need to use db:pull and db:push for this.

  On Apr 14, 7:57 am, Brian Armstrong barmstr...@gmail.com wrote:

   Is there some sort of equivalent tophpMyAdminwhere we can tinker
   with the database in production?

   For better or worse, I tend to usephpMyAdminas my admin interface
   in the early stages of a website to fix problems for various users,
   etc.  Thanks!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: GIT push trouble

2009-04-17 Thread GreenAsJade

Heroku or herokugarden?

You should post the transcript of your git push command.



On Apr 18, 7:41 am, Heroku SA babychee...@lolcatbible.com wrote:
 Hi everyone

 I might be understanding this wrong.

 After quite a bit of local editing I push my code to the server with
 git.

 However - it doesn't seem to update the controllers on the server.
 I've also tried restarting the server.

 Any help here would be much appreciated. It might be that I'm missing
 something in the git process that I need to add.

 Bay
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: File uploads timeout?

2009-04-17 Thread GreenAsJade

I've learned that there is definitely a 10MB upload limit through
heroku,
and the expectation is that if you're uploading big files to S3 you
use
a direct upload method.

If anyone has had success with easy clean integration of a direct
upload method
please do share!

Thanks,

Martin.


On Apr 15, 8:51 am, GreenAsJade martin.jg.greg...@gmail.com wrote:
 413 Entity too large ... that's a response from Heroku, right?

 So we have to conclude heroku is imposing this limit?

 On Apr 14, 4:53 pm, Robert Sköld slas...@gmail.com wrote:

  I got it while trying to do an upload of a 20M file using WebKit (the
  413 Request Entity Too Large error that is) and the Connection
  Interrupted error i got while using firefox.

  On Apr 14, 5:17 am, GreenAsJade martin.jg.greg...@gmail.com wrote:

   Dang, I've got this sort of problem now too.

   Users reporting timeouts on uploads to S3 via heroku of files
   larger than 10M

   9M : OK

   10M: not OK.

   Where did you get the error message: I haven't even got as far as
   finding anything
   telling me what's behind this.

   Martin
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Warning while installing 0.7.1 heroku gem

2009-04-17 Thread GreenAsJade

No definition for cState_configure


is this bad?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: New controller doesn't work ?

2009-04-15 Thread GreenAsJade

Did you guys do heroku restart after adding the new route?

I'm not 100% sure, but I think the rails server needs to be restarted
after
a new route is added.

Martin.


On Apr 15, 1:27 pm, Avinash Mohan avilanc...@gmail.com wrote:
 its funny... its working nowhttp://myapp.herokugarden.com/hello works
 suddenly

 On Wed, Apr 15, 2009 at 7:25 AM, ibnesayeed ibnesay...@gmail.com wrote:

  I am also facing the same problem since last week. I have created a
  helpdesk ticket too. But till now there is no progress on it.

  On Apr 13, 2:45 pm, Avinash avilanc...@gmail.com wrote:
   Disclaimer : im a newbie :P

   I created a controller 'hello' with action 'index' . when i
  accesedhttp://myapp.herokugarden.com/helloireceive this

   Routing Error

   No route matches /hello/index with {:method=:get}

   I created a scaffold then called Post it works

  http://myapp.herokugarden.com/posts

   Any help would be appreciated

   Thanks,
   Avinash
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: New controller doesn't work ?

2009-04-15 Thread GreenAsJade


And while I'm being totally in breach of ettiquette replying to
myself.


... if someone from Heroku is reading: you can tell when routes.rb has
changed,
if I'm right and a restart is necessary, would it be cool to just do
that automatically?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: New controller doesn't work ?

2009-04-15 Thread GreenAsJade


And so (I meant to add) likely the reason it works suddenly now is
that heroku had an outage yesterday, your server got restarted when
everything came up.  This would all add up, though as I said I'm not
100% sure.

I always do heroku restart after I change routes, anyhow :)

Martin

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: New controller doesn't work ?

2009-04-15 Thread GreenAsJade

You're on heroku, right?

So you have the heroku gem installed locally.  You issue the

heroku restart

command on your local machine.  It makes a call to the heroku server
and restarts it :)

http://docs.heroku.com/heroku-command



On Apr 15, 7:19 pm, Avinash Mohan avilanc...@gmail.com wrote:
 how to restart a server (hosted )

 On Wed, Apr 15, 2009 at 3:43 PM, GreenAsJade 
 martin.jg.greg...@gmail.comwrote:



  Did you guys do heroku restart after adding the new route?

  I'm not 100% sure, but I think the rails server needs to be restarted
  after
  a new route is added.

  Martin.

  On Apr 15, 1:27 pm, Avinash Mohan avilanc...@gmail.com wrote:
   its funny... its working nowhttp://myapp.herokugarden.com/helloworks
   suddenly

   On Wed, Apr 15, 2009 at 7:25 AM, ibnesayeed ibnesay...@gmail.com
  wrote:

I am also facing the same problem since last week. I have created a
helpdesk ticket too. But till now there is no progress on it.

On Apr 13, 2:45 pm, Avinash avilanc...@gmail.com wrote:
 Disclaimer : im a newbie :P

 I created a controller 'hello' with action 'index' . when i
accesedhttp://myapp.herokugarden.com/helloireceivethis

 Routing Error

 No route matches /hello/index with {:method=:get}

 I created a scaffold then called Post it works

http://myapp.herokugarden.com/posts

 Any help would be appreciated

 Thanks,
 Avinash
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: New controller doesn't work ?

2009-04-15 Thread GreenAsJade

Hmm - I can't see how to do it on herokugarden either, which is a
pretty strong sign you shouldn't have to.

Well, I forgot to ask you the most obvious question.

Did you exectute rake routes task?

In herokugarden you click on the cog in the bottom left, select rake,
wait for the window, and type routes at the prompt.

If this doesn't list your hello controller with an index route, you
first have to ask yourself, did you put the route into config/
routes.rb?

My answer of thinking about server restart etc assumed you're
confident you have coded the route properly...  maybe you don't?

You need to find the answer to the question what is it in my
routes.rb that ensures I have hello/index as a route?.  If you are
confident with this, you'd return to other questions like server
restart or somefink...



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: New controller doesn't work ?

2009-04-15 Thread GreenAsJade

It sounds like you have  how do I make rails work not there's
something wrong with heroku problems.

You might be better to get help at the #rubyonrails IRC channel on
freenode.net

There's also

http://guides.rubyonrails.org/

especially

http://guides.rubyonrails.org/routing.html

Good luck!

Martin

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Error 503 Service Unavailable

2009-04-15 Thread GreenAsJade


I think this is the same sort of thing we saw a couple of days ago:
that guru meditation is a message I got during the last outage.

Hopefully it's obvious to heroku that while things are free and beta
they don't need to tell us what's going on, but if this was a paid
service,
they'd need better comms about outages like this...

Martin

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: phpMyAdmin equivalent?

2009-04-14 Thread GreenAsJade

No, I'm pretty sure not.

I think you'll need to use db:pull and db:push for this.



On Apr 14, 7:57 am, Brian Armstrong barmstr...@gmail.com wrote:
 Is there some sort of equivalent to phpMyAdmin where we can tinker
 with the database in production?

 For better or worse, I tend to use phpMyAdmin as my admin interface
 in the early stages of a website to fix problems for various users,
 etc.  Thanks!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: I can't access my app

2009-04-14 Thread GreenAsJade

Doc.heroku.com is responding, it just serves the docs.

However, neither of my heroku apps are responding.

My users get

503 Service Unavailable.

Anyone else with this?



On Apr 14, 4:54 pm, Robert Sköld slas...@gmail.com wrote:
 Actually, seems like all of Heroku is down:http://docs.heroku.com/

 On Apr 14, 9:51 am, Robert Sköld slas...@gmail.com wrote:

  I even get development error logs in the browser:

  App failed to start

  /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
  `gem_original_require': no such file to load -- /disk1/home/slugs/
  4935_a9799a5_fa8c/mnt/config/environment (LoadError)
          from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
  31:in `require'
          from /usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/rack/adapter/
  rails.rb:31:in `load_application'
          from /usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/rack/adapter/
  rails.rb:23:in `initialize'
          from /home/heroku_rack/heroku.ru:15:in `new'
          from /home/heroku_rack/heroku.ru:15
          from 
  /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
  29:in `instance_eval'
          from 
  /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
  29:in `initialize'
          from 
  /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
  50:in `new'
           ... 6 levels...
          from 
  /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
  29:in `instance_eval'
          from 
  /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
  29:in `initialize'
          from /home/heroku_rack/heroku.ru:1:in `new'
          from /home/heroku_rack/heroku.ru:1

  And i can't see any of my files in that stack trace so i'm assuming
  it's something wrong with some update of the servers?

  Tried to do an restart of my app but it seems to be the same...

  Fixing this quickly would make a stressed developer happy :)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Error 503 Application Unavailable? My apps or all of heroku?

2009-04-14 Thread GreenAsJade

Both my heroku apps are returning this.

Also, all heroku commands  (logs, pull etc) return

API request timed out. Please try again, or contact
feedb...@heroku.com if this issue persists.


I can't tell if this is heroku is down or your apps went over some
limit or heroku cancelled your account or what...

Anyone?

Thanks,

Martin.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: I can't access my app

2009-04-14 Thread GreenAsJade

Hmm - I'm tracing mine ... it seems it is my DNS provider, not
heroku.  Yay heroku.  Boo DNS provider...

On Apr 14, 5:13 pm, GreenAsJade martin.jg.greg...@gmail.com wrote:
 Doc.heroku.com is responding, it just serves the docs.

 However, neither of my heroku apps are responding.

 My users get

 503 Service Unavailable.

 Anyone else with this?

 On Apr 14, 4:54 pm, Robert Sköld slas...@gmail.com wrote:

  Actually, seems like all of Heroku is down:http://docs.heroku.com/

  On Apr 14, 9:51 am, Robert Sköld slas...@gmail.com wrote:

   I even get development error logs in the browser:

   App failed to start

   /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
   `gem_original_require': no such file to load -- /disk1/home/slugs/
   4935_a9799a5_fa8c/mnt/config/environment (LoadError)
           from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
   31:in `require'
           from 
   /usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/rack/adapter/
   rails.rb:31:in `load_application'
           from 
   /usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/rack/adapter/
   rails.rb:23:in `initialize'
           from /home/heroku_rack/heroku.ru:15:in `new'
           from /home/heroku_rack/heroku.ru:15
           from 
   /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
   29:in `instance_eval'
           from 
   /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
   29:in `initialize'
           from 
   /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
   50:in `new'
            ... 6 levels...
           from 
   /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
   29:in `instance_eval'
           from 
   /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
   29:in `initialize'
           from /home/heroku_rack/heroku.ru:1:in `new'
           from /home/heroku_rack/heroku.ru:1

   And i can't see any of my files in that stack trace so i'm assuming
   it's something wrong with some update of the servers?

   Tried to do an restart of my app but it seems to be the same...

   Fixing this quickly would make a stressed developer happy :)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: I can't access my app

2009-04-14 Thread GreenAsJade

Glad you're getting something similar to me, makes me feel less
lonely.

Would be nice if there was some update on the heroku blogs or
announcement here soon, but if they're working on it perhaps that is
more important :)

The symptoms seemed to change for me.

I can get to my apps now using the raw heroku path, but the CNAME path
does not work.

I still can't execute any heroku command line commands though.

Martin


On Apr 14, 5:27 pm, Robert Sköld slas...@gmail.com wrote:
 I can't access mine either, i get Heroku | No such app, even though  
 it was there yesterday...

 And going directly to the heroku url (not my CNAME redirect) i get:

 Heroku Error
 Oops, we seem to have a glitch in our system.
 We've been notified; you might try reloading the page in a little while.

 Event ID: 04d7000aa49700043348

 I'm sure they're working on it now though, since stuff seems to be  
 changing atleast...

 On Apr 14, 2009, at 10:21, GreenAsJade wrote:



  Hmm - I'm tracing mine ... it seems it is my DNS provider, not
  heroku.  Yay heroku.  Boo DNS provider...

  On Apr 14, 5:13 pm, GreenAsJade martin.jg.greg...@gmail.com wrote:
  Doc.heroku.com is responding, it just serves the docs.

  However, neither of my heroku apps are responding.

  My users get

  503 Service Unavailable.

  Anyone else with this?

  On Apr 14, 4:54 pm, Robert Sköld slas...@gmail.com wrote:

  Actually, seems like all of Heroku is down:http://docs.heroku.com/

  On Apr 14, 9:51 am, Robert Sköld slas...@gmail.com wrote:

  I even get development error logs in the browser:

  App failed to start

  /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
  `gem_original_require': no such file to load -- /disk1/home/slugs/
  4935_a9799a5_fa8c/mnt/config/environment (LoadError)
          from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
  custom_require.rb:
  31:in `require'
          from /usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/
  rack/adapter/
  rails.rb:31:in `load_application'
          from /usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/
  rack/adapter/
  rails.rb:23:in `initialize'
          from /home/heroku_rack/heroku.ru:15:in `new'
          from /home/heroku_rack/heroku.ru:15
          from /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/
  rack/builder.rb:
  29:in `instance_eval'
          from /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/
  rack/builder.rb:
  29:in `initialize'
          from /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/
  rack/builder.rb:
  50:in `new'
           ... 6 levels...
          from /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/
  rack/builder.rb:
  29:in `instance_eval'
          from /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/
  rack/builder.rb:
  29:in `initialize'
          from /home/heroku_rack/heroku.ru:1:in `new'
          from /home/heroku_rack/heroku.ru:1

  And i can't see any of my files in that stack trace so i'm assuming
  it's something wrong with some update of the servers?

  Tried to do an restart of my app but it seems to be the same...

  Fixing this quickly would make a stressed developer happy :)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: I can't access my app

2009-04-14 Thread GreenAsJade

Heh heh - I guess blog.heroku.com is a heroku app, because it too
fails at the moment!

I guess we get what we pay for eh?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: I can't access my app

2009-04-14 Thread GreenAsJade

Woo hoo, my app is back.

30 mins noticeable outage.  Not too bad.

Would have been nice to have something saying we're on it, but glad
to be past it!



On Apr 14, 5:55 pm, GreenAsJade martin.jg.greg...@gmail.com wrote:
 Heh heh - I guess blog.heroku.com is a heroku app, because it too
 fails at the moment!

 I guess we get what we pay for eh?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: File uploads timeout?

2009-04-14 Thread GreenAsJade

Any more progress on this?

Is it actually a heroku-induced limit, or something else?


On Apr 14, 4:53 pm, Robert Sköld slas...@gmail.com wrote:
 I got it while trying to do an upload of a 20M file using WebKit (the
 413 Request Entity Too Large error that is) and the Connection
 Interrupted error i got while using firefox.

 On Apr 14, 5:17 am, GreenAsJade martin.jg.greg...@gmail.com wrote:

  Dang, I've got this sort of problem now too.

  Users reporting timeouts on uploads to S3 via heroku of files
  larger than 10M

  9M : OK

  10M: not OK.

  Where did you get the error message: I haven't even got as far as
  finding anything
  telling me what's behind this.

  Martin
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: File uploads timeout?

2009-04-13 Thread GreenAsJade

Dang, I've got this sort of problem now too.

Users reporting timeouts on uploads to S3 via heroku of files
larger than 10M

9M : OK

10M: not OK.

Where did you get the error message: I haven't even got as far as
finding anything
telling me what's behind this.

Martin

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: File uploads timeout?

2009-04-09 Thread GreenAsJade

Is your connection to S3 set up as persistent (the default)?

I read:

* :persistent - Whether to use a persistent connection to the
server. Having this on provides around a two fold performance increase
but for long running processes some firewalls may find the long lived
connection suspicious and close the connection. If you run into
connection errors, try setting :persistent to false. Defaults to
true.



On Apr 9, 6:23 pm, Robert Sköld slas...@gmail.com wrote:
 Hey there,

 I'm using your heroku service (not herokugarden) and when i'm trying
 to upload a file that's 20Mb or 10Mb through heroku to my S3 storage,
 using firefox, it tells me:

 Connection Interrupted

 The connection to the server was reset while the page was loading.
 The network link was interrupted while negotiating a connection.
 Please try again.

 And nothing shows up when i run heroku logs.

 And using safari it seems like it never finishes at all (like a silent
 failure?). So i'm curious if there's some kind of upload limit on your
 service, or a timeout in your web server that might occur while
 uploading a larger file (a file that's 4Mb seems to work fine).
 Because using the same application over localhost works fine.

 Anyone had a similar problem maybe? I've read something similar in
 another thread (http://groups.google.com/group/heroku/browse_thread/
 thread/a838e289afc7a927/ae476e49b0d909de?
 lnk=gstq=upload#ae476e49b0d909de) but i'm not sure if it's the same.
 And how do you setup one of those heroku.yml config files if it is?

 Any light on this problem would be appreciated!

 I'm running a setup with Sinatra and DataMapper.

 / Robert
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: S3 for data - bandwidth?

2009-04-09 Thread GreenAsJade



On Apr 6, 2:35 pm, Morten Bagai mor...@heroku.com wrote:

 As for your original question, there are actually ways to upload  
 directly to S3 and bypass Heroku entirely. This plugin will let you do  
 this:http://github.com/elcgit/s3-swf-upload-plugin/tree/master.

Has anyone out there been able to get this to work?

It's file selection dialog seems to work, but the upload link it
creates
doesn't appear to do anything.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Multiple domains pointing to heroku app?

2009-04-05 Thread GreenAsJade

The heroku my apps interface only offers one line to enter a CNAME
for your app.

I was hoping to have both cmmods.greenasjade.net and
cmmods.greenasjade.com point to cmmods.heroku.com via CNAME.

Can I do that?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: S3 for data - bandwidth?

2009-04-05 Thread GreenAsJade

(Shouldn't the answer to how much data, how much bandwidth I can
have be under Constraints in the docs?)

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



User Agent not possible on heroku?

2009-03-08 Thread GreenAsJade

I want my rails app to be able to submit to forms on other sites.

However, this requires keeping a cookie.  Since the file system is
read-only, how can I do that?

The ruby user agent packages I've seen expect a filename for the
cookie store - not sure how I could use the DB?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Hoptoad pointer wrong in heroku docs

2009-03-07 Thread GreenAsJade

The docs point to hoptoad.com, but there is no host with this name.

Hoptoad exception reporting is at hoptoadapp.com  (bloody domain
squatters :( )


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to fetch database from heroku to local system?

2009-03-06 Thread GreenAsJade



On Mar 4, 2:27 am, MAwiniarski mawiniar...@gmail.com wrote:
 Greetings,

 Having app deployed on Heroku, how to fetch database data
 so to have backup locally?

1) Dump the data using

heroku rake db:data:dump

2) follow the instructions in the docs page for pulling down the
code.  The data will come with it - it will be in db/data.yml

You can load it into your local app with

rake db:data:load

GaJ

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to fetch database from heroku to local system?

2009-03-06 Thread GreenAsJade

Oops, no, that doesn't work.   I _thought_ it worked before, but I may
be
confused with heroku garden, sorry about that.

I will be interested, now, what the right answer is!

GaJ


On Mar 7, 7:42 am, GreenAsJade martin.jg.greg...@gmail.com wrote:
 On Mar 4, 2:27 am, MAwiniarski mawiniar...@gmail.com wrote:

  Greetings,

  Having app deployed on Heroku, how to fetch database data
  so to have backup locally?

 1) Dump the data using

 heroku rake db:data:dump

 2) follow the instructions in the docs page for pulling down the
 code.  The data will come with it - it will be in db/data.yml

 You can load it into your local app with

 rake db:data:load

 GaJ
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: New App on Heroku not working

2009-03-06 Thread GreenAsJade


So - Heroku is in production mode.

I think this means that any config you want to do, you have to do
in production.rb, not development.rb.

I'm even thinking that if I'm going to be developing for heroku, I
might
just put all config in environment.rb, since you can't control the
mode anyhow...

GaJ

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Trying to commit through git gives authentication failure

2009-02-11 Thread GreenAsJade


Dang, where's the interface/instructions for using git?


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: New Ruby gems - how to install?

2009-02-10 Thread GreenAsJade

More thanks!

Wow - that one is a well kept, well hidden secret eh!?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Code editor key bindings

2009-02-10 Thread GreenAsJade

Where can I find out what the key bindings for the code editor are?

I just typed C-w (emacs binding for cut) and it closed my browser
window :S

I tried C-x (windows binding for cut) and it did nothing.

It can't be vi bindings, because it starts in insert mode, and
ESC doesn't do anything

(In fact, I hit ESC ESC ESC and it crashed my browser (firefox 3.0))


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---