Re: git clone - but no plugins Directory

2009-03-04 Thread srinivas iyer
Hi benjamin

Edit your project in heroku  . when you edit the project you could see the
project structure

1. Go to

 yourproject-vendors

2. There you could see the option called Gems and plugins .click on it a
window will pop up . you could search for either gems or plugins  that is
required to your project or the git clone apps

3.Herouku gems and plugins has huge repository that is rquired to your
application .

   Install it fromt he repository of the gems  by searching it and
installing it

4. If you dont find your gems or plugins within the set of the respositories
provided by heroku another alternate option is by providing the URL of the
gem in the same page where you search .jus add the URL of the gem or the
plugin to install.


Any queries feel free to mail me  @ srinivasiye...@gmail.com


Regards,
Srinivas

--~--~-~--~~~---~--~~
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: acts as tree

2009-03-04 Thread zeh...@googlemail.com

Hey there, i have the same problem. iam very new to rails so i dont
know if its included into the default distribution. i read that in
rails2 its only available via plugin, but the plugin is not found in
the herokugardens gems and plugins list. how to install it? i can
install it using the install from url function in herokugarden, but
i dont know the excact url. should it be ending with .zip ? .rb ?
thanks for help

zeh

On Jan 25, 3:11 pm, DAZ daz4...@gmail.com wrote:
 How come acts_as_tree isn't available as a plugin?

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



Can not find any of my data

2009-03-04 Thread Charles

App was gamestory.heroku.com and was migrated for me to herokugarden.
I can not find my son's data.   He spent many hours entering
stories.It would be very much appreciated if the data could be
recovered somehow.

Thank you in advance,

Charles
--~--~-~--~~~---~--~~
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: acts as tree

2009-03-04 Thread DAZ

Hey Zeh,

Use this url:

git://github.com/rails/acts_as_tree.git

DAZ

On Mar 4, 12:55 pm, zeh...@googlemail.com zeh...@googlemail.com
wrote:
 Hey there, i have the same problem. iam very new to rails so i dont
 know if its included into the default distribution. i read that in
 rails2 its only available via plugin, but the plugin is not found in
 the herokugardens gems and plugins list. how to install it? i can
 install it using the install from url function in herokugarden, but
 i dont know the excact url. should it be ending with .zip ? .rb ?
 thanks for help

 zeh

 On Jan 25, 3:11 pm, DAZ daz4...@gmail.com wrote:

  How come acts_as_tree isn't available as a plugin?

  DAZ
--~--~-~--~~~---~--~~
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: Problems with pids

2009-03-04 Thread Adam Wiggins

Felix -

We don't support background processes run this way, as it's not
compatible with a cloud architecture.  See
http://heroku.com/how/dyno_grid for some background on this.

We're currently working on a feature to support background jobs in a
cloud-friendly way.  It would be helpful if you could tell me more
about exactly what you're trying to do, so that we can include your
requirements into our design.

Adam


On Mon, Mar 2, 2009 at 3:20 PM, Felix Holmgren felix.holmg...@gmail.com wrote:

 I'm spawning a couple of background processes in my Rails app, and
 have inserted checks to see if old processes (possibly from earlier
 runs of the app) are still around. If there are old processes, the app
 either kills them or lets them carry on with their work and desists
 from spawning even more processes. I use something like
 Process.kill(0, pid) to check if old processes are still alive.

 Unfortunately, on the Heroku server this call always indicates that
 the process is dead. In short, I have no access to processes that I
 once spawned, although I have their pid stored in the db. I can
 neither kill them nor reliably find out if they are alive. This has
 lead to situations where I had to redeploy to a new Heroku process to
 get rid of background processes hanging around in the background. For
 my app to work, I simply need to be able to spawn, track and kill
 processes.

 Is there a workaround, or do you envision one for the future? I
 understand there are various security considerations, but it's not
 that complicated: let processes with the same uid do what they will
 with each other.

 For now, I've had to move back my app to my old server, which is
 otherwise so much less sexy than Heroku.

 Felix

 


--~--~-~--~~~---~--~~
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-04 Thread michaeln

Oops, wrong URL. http://scholarships.heroku.com

On Mar 4, 9:36 am, michaeln dyn4m...@gmail.com wrote:
 I'm getting a similar error for my app: shcolarships.heroku.com.

 It works fine on local, but on heroku I can't get db:migrate to work.
 Did you manage to get yours working?

 On Mar 2, 12:26 pm, DAZ daz4...@gmail.com wrote:

  bubbles.heroku.com

  On Mar 2, 4:40 pm, Morten Bagai mor...@heroku.com wrote:

   Daz,

   What's the name of your app?

   /Morten

   On Mar 1, 2009, at 11:49 PM, DAZ wrote:

Hi,

I've been using Herokugarden for a while and decided to give Heroku
beta a try.

I am using a current app that works locally using sqlite database. I
followed the quickstart instructions and everything went okay until I
tried heroku rake db:migrate, when I get the following error:

rake aborted!
undefined method `cache_template_loading=' for ActionView::Base:Class

I am using sqlite locally and have set git up to ignore these files by
following the instructions in the guide. How do I set up the database
settings for use on Heroku?

When I go to the webpage for my site I get the following error
message:

App failed to start

** Ruby version is not up-to-date; loading cgi_multipart_eof_fix

Cany anybody help me with this?

cheers,

DAZ
--~--~-~--~~~---~--~~
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-04 Thread michaeln

I'm getting a similar error for my app: shcolarships.heroku.com.

It works fine on local, but on heroku I can't get db:migrate to work.
Did you manage to get yours working?

On Mar 2, 12:26 pm, DAZ daz4...@gmail.com wrote:
 bubbles.heroku.com

 On Mar 2, 4:40 pm, Morten Bagai mor...@heroku.com wrote:

  Daz,

  What's the name of your app?

  /Morten

  On Mar 1, 2009, at 11:49 PM, DAZ wrote:

   Hi,

   I've been using Herokugarden for a while and decided to give Heroku
   beta a try.

   I am using a current app that works locally using sqlite database. I
   followed the quickstart instructions and everything went okay until I
   tried heroku rake db:migrate, when I get the following error:

   rake aborted!
   undefined method `cache_template_loading=' for ActionView::Base:Class

   I am using sqlite locally and have set git up to ignore these files by
   following the instructions in the guide. How do I set up the database
   settings for use on Heroku?

   When I go to the webpage for my site I get the following error
   message:

   App failed to start

   ** Ruby version is not up-to-date; loading cgi_multipart_eof_fix

   Cany anybody help me with this?

   cheers,

   DAZ
--~--~-~--~~~---~--~~
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-04 Thread renoke

Hi,

I have a similar error running an rails app with sqlite3. I have the
following error when I run heroku rake db:migrate

/usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract_adapter.rb:188:in `log': PGError: ERROR:
relation categories does not exist (ActiveRecord::StatementInvalid)
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
d.adsrc, a.attnotnull
  FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
 WHERE a.attrelid = 'categories'::regclass
   AND a.attnum  0 AND NOT a.attisdropped
 ORDER BY a.attnum
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/postgresql_adapter.rb:490:in
`query_without_graceful_reconnect'

It seems that ActiveRecord is looking for postgresql driver.

my app is luffadmin.heroku.com

Thank you for your help,

Renoke

--~--~-~--~~~---~--~~
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-04 Thread Keenan Brock

Hello Renoke,

It is ok/good to use sqlite locally, but on the server, Heroku will be  
running postgresql

So any databases you check into git, and the config/database.yml file  
will be ignored

--Keenan
On Mar 4, 2009, at 1:27 PM, renoke wrote:


 Hi,

 I have a similar error running an rails app with sqlite3. I have the
 following error when I run heroku rake db:migrate

 /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
 connection_adapters/abstract_adapter.rb:188:in `log': PGError: ERROR:
 relation categories does not exist (ActiveRecord::StatementInvalid)
 : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
 d.adsrc, a.attnotnull
  FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
 WHERE a.attrelid = 'categories'::regclass
   AND a.attnum  0 AND NOT a.attisdropped
 ORDER BY a.attnum
   from /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/ 
 active_record/
 connection_adapters/postgresql_adapter.rb:490:in
 `query_without_graceful_reconnect'

 It seems that ActiveRecord is looking for postgresql driver.

 my app is luffadmin.heroku.com

 Thank you for your help,

 Renoke

 


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



Kicking off more Dynos? Using TokyoTyrant? Bundles?

2009-03-04 Thread BigLove

Hello all!

I've got just a couple of questions before I can really harness the
power of the awesomeness that is Heroku (as you can tell, I'm
thoroughly impressed!).

Per http://heroku.com/how/dyno_grid#1

I'm wondering how I might be able to kick off a new dyno? And what
exactly goes into making this happen? Will I get a chance to run any
startup scripts for when this happens?

Which brings me to my next question.

I'm working on a site right now where we're using TokyoTyrant, a
small, lightweight, and really fast database. We're doing this because
it's so damn easy to setup replication for your app. You have a
master, point a slave to the master, done. What's so great about our
setup is that we very rarely write to the database. As in very rarely,
I'm talking about once every few months, which makes our replication
needs even simpler.

All of which makes me really happy when I look at Heroku. If I can
startup a local Tyrant slave on each launch of my ruby application on
Heroku, with the slave pointing at my hosted Tyrant master, then that
means that I can provide a local database for each and every one of my
application instances, while still easily harnessing the cloud
computing structure you've provided.

At the moment, I plan on creating a rake task that kicks off a tyrant
server, unless someone here more intelligent/experienced than I could
provide a better way to do this on Heroku.

Ok. Sorry for the barrage of questions :P

How do dynos work? Does each dyno have it's own ports that are
accessible? If I kick off two dynos, each of them pointing their
database configs at the localhost for their Tyrant configuration and
port 45006, will they run into each other? Or is the environment
sectioned off enough to provide safeguards against this?

Also, for each dyno, what does localhost point to?

Is what I'm asking possible? Wise?

I'm wanting a tyrant per application instance to avoid the return time
required for a request to an external Tyrant master. So having a
tyrant slave per application instance is pretty important to me.

If that's not possible, then I'd really like to have all my
application instances be pointed to localhost, and have a tyrant
slave database available. How would something like that be setup for
Heroku?

Finally, the heroku command lists some commands for bundles. Is
there any documentation on this?

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: acts as tree

2009-03-04 Thread zeh barman
hey daz

works, thanks man.

-zeh

On Wed, Mar 4, 2009 at 4:09 PM, DAZ daz4...@gmail.com wrote:


 Hey Zeh,

 Use this url:

 git://github.com/rails/acts_as_tree.git

 DAZ

 On Mar 4, 12:55 pm, zeh...@googlemail.com zeh...@googlemail.com
 wrote:
  Hey there, i have the same problem. iam very new to rails so i dont
  know if its included into the default distribution. i read that in
  rails2 its only available via plugin, but the plugin is not found in
  the herokugardens gems and plugins list. how to install it? i can
  install it using the install from url function in herokugarden, but
  i dont know the excact url. should it be ending with .zip ? .rb ?
  thanks for help
 
  zeh
 
  On Jan 25, 3:11 pm, DAZ daz4...@gmail.com wrote:
 
   How come acts_as_tree isn't available as a plugin?
 
   DAZ
 


--~--~-~--~~~---~--~~
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: NameError (uninitialized constant Digest::SHA1)

2009-03-04 Thread Pedro Belo

Your dev environment is probably loading this library by default.

Try loading it explicitly adding require 'digest/sha1' to your
environment or to the class making that call.

On Wed, Mar 4, 2009 at 12:44 PM, karen karen.mcad...@gmail.com wrote:

 This is the line its complaining about :

  Digest::SHA1.hexdigest(pass+password_salt)


 On Mar 4, 12:40 pm, karen karen.mcad...@gmail.com wrote:
 I am getting this error in my logs. This works locally but when I push
 to heroku it produces and error. Is there a version difference or
 missing gem?

 Thanks,
 karen
 


--~--~-~--~~~---~--~~
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: Can not find any of my data

2009-03-04 Thread Morten Bagai

Charles,

Sorry about that. It was a glitch in the Heroku Garden transition.  
Thankfully, the data was not lost and I was able to restore it for  
you. Let me know how it looks to you.

Best,

Morten

On Mar 4, 2009, at 5:24 AM, Charles wrote:


 App was gamestory.heroku.com and was migrated for me to herokugarden.
 I can not find my son's data.   He spent many hours entering
 stories.It would be very much appreciated if the data could be
 recovered somehow.

 Thank you in advance,

 Charles
 


--~--~-~--~~~---~--~~
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: App's Data is Gone

2009-03-04 Thread Mike

Nope, no resolution.  Anything on lost data heroku guys?

On Mar 2, 9:01 pm, grourk gro...@gmail.com wrote:
 Mike, did you get a resolution here?  The same thing has happened to
 my app (greenback).  I tried reverting to snapshots from September,
 October, November, etc. long before the herokugarden move when I know
 the data was intact.  But no matter what I do, the data tab is empty
 and it tells me I have pending migrations.  When I run the migrations,
 all the proper tables are created, but empty...

 On Feb 19, 12:13 pm, Mike mike.s.schm...@gmail.com wrote:

  I haven't checked on my app supportlocalflavor for a few months.  I
  finally did today (on herokugarden for the first time), and all 
  mydataisgone.  When I click the Data tab, nothing is there.

  Is this a common problem with the migration to herokugarden?  Do
  snapshots also storedata?  Thedatawas fairly valuable, I'd like to
  have it back.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---