Re: git push heroku master CONNECTION REFUSED

2010-09-03 Thread @demetriusolsen
Never mind! Everything works fine. I was working at a public library,
which for some reason wouldn't let me push ???

On Aug 31, 5:59 pm, "@demetriusolsen"  wrote:
> Two-hours later, the simplest command isn't working for me: git push
> heroku master
> Here's what I get in response:
> ssh: connect to host heroku.com port 22: Connection refused
> fatal: The remote end hung up unexpectedly
>
> I've followed Heroku's documentation (Created a new SSH key, double-
> checked to make sure my public key matches with what Heroku has, gem
> uninstalled heroku and reinstalled it). Does anyone have a
> suggestion?
>
> The ONE that that I know I did differently was not use sudo when
> installing heroku. I'm letting RVM manage my gems... could that be it?
>
> What's strange about this is that I was able to use git push heroku
> master a few weeks ago when I was trying to decide if I should use
> Heroku to deploy my app. It worked then
>
> Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@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.



git push heroku master CONNECTION REFUSED

2010-09-02 Thread @demetriusolsen
Two-hours later, the simplest command isn't working for me: git push
heroku master
Here's what I get in response:
ssh: connect to host heroku.com port 22: Connection refused
fatal: The remote end hung up unexpectedly

I've followed Heroku's documentation (Created a new SSH key, double-
checked to make sure my public key matches with what Heroku has, gem
uninstalled heroku and reinstalled it). Does anyone have a
suggestion?

The ONE that that I know I did differently was not use sudo when
installing heroku. I'm letting RVM manage my gems... could that be it?

What's strange about this is that I was able to use git push heroku
master a few weeks ago when I was trying to decide if I should use
Heroku to deploy my app. It worked then

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@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 when trying to import csv: TypeError (can't convert Tempfile into String)

2010-09-02 Thread @demetriusolsen
Can anyone recommend a solution for TypeError (can't convert Tempfile
into String) when I try to import a CSV file? Of course, I'm able to
import to my local Postgresql8.3 db.

Here's the code:

  def csv_import
authorize! :csv_import, ImportStandard

file = params[:csv_import][:file]
logcount=0

Standard.transaction do
  CSV.foreach(file, :headers => true) do |row|
Standard.create!(row.to_hash)
logcount += 1
  end
end

redirect_to(...)
  end

After looking at http://docs.heroku.com/constraints, I'm not sure if I
can even import CSV to my app. However, I did read a few CSV importing
related posts in the Heroku google group so I'm not giving up
hope. :-)

Thanks in advance! Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@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.