Re: app keep winding down

2010-02-15 Thread Pedro Belo
Do you see anything by running heroku logs?
500s are caused by the application, so you should find the source of
it in the logs.

On Mon, Feb 15, 2010 at 9:32 PM, sslguy  wrote:
> Looks like the problem still exists :(
>
> On Feb 15, 4:42 pm, sslguy  wrote:
>> Thanks for your prompt response. I'll check back in a while to see if
>> the 500 error resurfaces.
>>
>> On Feb 15, 11:14 am, Oren Teich  wrote:
>>
>> > While free apps do cycle down after a few hours of inactivity, you should
>> > never get a 500 error.  That's something we'll have to look into.
>>
>> > Oren
>>
>> > 2010/2/15 Nicolás Sanguinetti 
>>
>> > > On Mon, Feb 15, 2010 at 2:15 PM, sslguy  wrote:
>> > > > Any idea why my app ssltools.com keeps winding down. When I visit the
>> > > > site, I at first get an error code 500. Upon immediate refresh, the
>> > > > app comes up. However, wait a period of time, and Heroku shuts the app
>> > > > down. Then the cycle repeats itself.
>>
>> > > > Any idea would be appreciated.
>>
>> > > Free app? Free apps act like that, if you pay for it then it shouldn't
>> > > do that, AFAIK.
>>
>> > > 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.
>>
>> > > --
>> > > 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.
>>
>>
>
> --
> 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.
>
>

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



Re: app keep winding down

2010-02-15 Thread sslguy
Looks like the problem still exists :(

On Feb 15, 4:42 pm, sslguy  wrote:
> Thanks for your prompt response. I'll check back in a while to see if
> the 500 error resurfaces.
>
> On Feb 15, 11:14 am, Oren Teich  wrote:
>
> > While free apps do cycle down after a few hours of inactivity, you should
> > never get a 500 error.  That's something we'll have to look into.
>
> > Oren
>
> > 2010/2/15 Nicolás Sanguinetti 
>
> > > On Mon, Feb 15, 2010 at 2:15 PM, sslguy  wrote:
> > > > Any idea why my app ssltools.com keeps winding down. When I visit the
> > > > site, I at first get an error code 500. Upon immediate refresh, the
> > > > app comes up. However, wait a period of time, and Heroku shuts the app
> > > > down. Then the cycle repeats itself.
>
> > > > Any idea would be appreciated.
>
> > > Free app? Free apps act like that, if you pay for it then it shouldn't
> > > do that, AFAIK.
>
> > > 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.
>
> > > --
> > > 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.
>
>

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



Re: Bamboo (MRI) + Gem bundler --> fail

2010-02-15 Thread Pedro Belo
What instructions did you follow? Are you setting the GEM_HOME to
vendor/bundler_gems?

On Mon, Feb 15, 2010 at 6:12 PM, Solly  wrote:
> Hi -
> I am in the process of migrating from the Aspen stack to the Bamboo
> (MRI 1.9.1) stack.  I am using Gem Bundler to manage my gems.
> However, even with rails installed, when I go to my app, I get the
> following error:
> --
> Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`,
> update your RAILS_GEM_VERSION setting in config/environment.rb for the
> Rails version you do have installed, or comment out RAILS_GEM_VERSION
> to use the latest version installed.
> --
> I have successfully been able to recreate the error locally; The
> problem seems to be with Thin.  On my local machine, when rails is not
> installed as a global gem (i.e. via gem install rails -v=2.3.5), Thin
> throws the same error.  However, Webrick does not throw such an error
> (it works fine).  Thus, I would guess the problem would be with Thin
> not looking in the correct places (namely vendor/bundler_gems) for
> rails.  I have followed the instructions for the latest bundler (under
> the beta docs).  Any ideas about how to fix this?
>
> Best Regards,
> Solly
>
> --
> 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.
>
>

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



Re: "Taps Server Error: year too big to marshal" when doing a db:pull

2010-02-15 Thread Keenan Brock
Hello Paul,

It looks like you have a record with a year too big for sqlite.
I have run into this in non rails situations importing year '9' to MSSql - it 
was a bug in my code that did not add 2000

Looks like you only have 2 tables to choose from (users, payments, credits and 
streams were successful).

>From heroku console query for all records bigger than this year. That may shed 
>some light

> Record.scoped(:conditions => "date_field > '#{DateTime.now + 10.years}'") 
> #single then double
# May want to try less then 100 years before now too

Winging that, but hope it helps

--Keenan

On Feb 15, 2010, at 8:11 PM, Paul Leader wrote:

> I've been trying to pull a copy of my database for local debugging,
> but every time I try I get the following error:
> 
> Auto-detected local database: sqlite://db/development.sqlite3
> Receiving schema
> Receiving data
> 6 tables, 4,665 records
> users: 100% |==| Time:
> 00:00:01
> payments:  100% |==| Time:
> 00:00:00
> credits:   100% |==| Time:
> 00:00:00
> streams:   100% |==| Time:
> 00:00:00
> !!! Caught Server Exception==  | ETA:
> 00:00:00
> [warning] The response contained in an RestClient::Exception is now a
> RestClient::Response instead of a Net::HTTPResponse, please update
> your code
> Taps Server Error: year too big to marshal
> 
> 
> Has anyone seen this sort of thing before, and have you any idea what
> I can do to fix it?
> 
> Also, I've updated all my gems to the latest versions, but I still get
> that warning, which suggests that Taps/Heroku client need updating.
> 
> Paul
> 
> -- 
> 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.
> 

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



Bamboo (MRI) + Gem bundler --> fail

2010-02-15 Thread Solly
Hi -
I am in the process of migrating from the Aspen stack to the Bamboo
(MRI 1.9.1) stack.  I am using Gem Bundler to manage my gems.
However, even with rails installed, when I go to my app, I get the
following error:
--
Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`,
update your RAILS_GEM_VERSION setting in config/environment.rb for the
Rails version you do have installed, or comment out RAILS_GEM_VERSION
to use the latest version installed.
--
I have successfully been able to recreate the error locally; The
problem seems to be with Thin.  On my local machine, when rails is not
installed as a global gem (i.e. via gem install rails -v=2.3.5), Thin
throws the same error.  However, Webrick does not throw such an error
(it works fine).  Thus, I would guess the problem would be with Thin
not looking in the correct places (namely vendor/bundler_gems) for
rails.  I have followed the instructions for the latest bundler (under
the beta docs).  Any ideas about how to fix this?

Best Regards,
Solly

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



"Taps Server Error: year too big to marshal" when doing a db:pull

2010-02-15 Thread Paul Leader
I've been trying to pull a copy of my database for local debugging,
but every time I try I get the following error:

Auto-detected local database: sqlite://db/development.sqlite3
Receiving schema
Receiving data
6 tables, 4,665 records
users: 100% |==| Time:
00:00:01
payments:  100% |==| Time:
00:00:00
credits:   100% |==| Time:
00:00:00
streams:   100% |==| Time:
00:00:00
!!! Caught Server Exception==  | ETA:
00:00:00
[warning] The response contained in an RestClient::Exception is now a
RestClient::Response instead of a Net::HTTPResponse, please update
your code
Taps Server Error: year too big to marshal


Has anyone seen this sort of thing before, and have you any idea what
I can do to fix it?

Also, I've updated all my gems to the latest versions, but I still get
that warning, which suggests that Taps/Heroku client need updating.

Paul

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



Re: app keep winding down

2010-02-15 Thread sslguy
Thanks for your prompt response. I'll check back in a while to see if
the 500 error resurfaces.



On Feb 15, 11:14 am, Oren Teich  wrote:
> While free apps do cycle down after a few hours of inactivity, you should
> never get a 500 error.  That's something we'll have to look into.
>
> Oren
>
> 2010/2/15 Nicolás Sanguinetti 
>
> > On Mon, Feb 15, 2010 at 2:15 PM, sslguy  wrote:
> > > Any idea why my app ssltools.com keeps winding down. When I visit the
> > > site, I at first get an error code 500. Upon immediate refresh, the
> > > app comes up. However, wait a period of time, and Heroku shuts the app
> > > down. Then the cycle repeats itself.
>
> > > Any idea would be appreciated.
>
> > Free app? Free apps act like that, if you pay for it then it shouldn't
> > do that, AFAIK.
>
> > 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.
>
> > --
> > 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.
>
>

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



Re: gem troubles (authlogic)

2010-02-15 Thread Roy Pardee
Thanks Oren!  It turns out all I needed was a "heroku restart".  Not sure
what the deal was, but all's well now.

Thanks!

-Roy

On Mon, Feb 15, 2010 at 9:15 AM, Oren Teich  wrote:

> run "heroku logs" to see the logs, and see what went wrong.
>
> Oren
>
> On Sat, Feb 13, 2010 at 8:39 AM, Roy Pardee  wrote:
>
>> Hey All,
>>
>> I'm playing around w/a free account & am trying to use the authlogic
>> gem in my app.  I tried the bundler advice on docs.heroku.com/gems and
>> didn't have luck, so I'm now trying the heroku gems manifest & again
>> not having luck.
>>
>> My .gems file consists of this single line:
>>
>>  authlogic --version '2.1.3
>>
>> The push seemed successful:
>>
>> > $ git push heroku master
>> > Counting objects: 3687, done.
>> > Compressing objects: 100% (2195/2195), done.
>> > Writing objects: 100% (3687/3687), 5.03 MiB | 316 KiB/s, done.
>> > Total 3687 (delta 1093), reused 3638 (delta 1077)
>> >
>> > -> Heroku receiving push
>> >
>> > -> Installing gem authlogic 2.1.3 from http://gemcutter.org,
>> http://gems.rubyforge.org
>> >Successfully installed authlogic-2.1.3
>> >1 gem installed
>> >
>> > -> Rails app detected
>> >Compiled slug size is 3.2MB
>> > -> Launching done
>> >http://vdw.heroku.com deployed to Heroku
>> >
>> > To g...@heroku.com:vdw.git
>> >  * [new branch]  master -> master
>> >
>> > pard...@mlt0fm /c/railsapps/vdw (master)
>>
>> "heroku rake db:migrate" also reported success.
>>
>> But when I go to http://vdw.heroku.com/ I get rails' generic "We're
>> sorry, but something went wrong" screen.
>>
>> I suspect its a gems management issue, but don't know how to diagnose.
>>
>> Can somebody give me a clue here?
>>
>> Thanks!
>>
>> -Roy
>>
>> --
>> 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.
>>
>>
>  --
> 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.
>



-- 
Roy Pardee
http://facebook.com/rpardee

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



Re: gem troubles (authlogic)

2010-02-15 Thread Oren Teich
run "heroku logs" to see the logs, and see what went wrong.

Oren

On Sat, Feb 13, 2010 at 8:39 AM, Roy Pardee  wrote:

> Hey All,
>
> I'm playing around w/a free account & am trying to use the authlogic
> gem in my app.  I tried the bundler advice on docs.heroku.com/gems and
> didn't have luck, so I'm now trying the heroku gems manifest & again
> not having luck.
>
> My .gems file consists of this single line:
>
>  authlogic --version '2.1.3
>
> The push seemed successful:
>
> > $ git push heroku master
> > Counting objects: 3687, done.
> > Compressing objects: 100% (2195/2195), done.
> > Writing objects: 100% (3687/3687), 5.03 MiB | 316 KiB/s, done.
> > Total 3687 (delta 1093), reused 3638 (delta 1077)
> >
> > -> Heroku receiving push
> >
> > -> Installing gem authlogic 2.1.3 from http://gemcutter.org,
> http://gems.rubyforge.org
> >Successfully installed authlogic-2.1.3
> >1 gem installed
> >
> > -> Rails app detected
> >Compiled slug size is 3.2MB
> > -> Launching done
> >http://vdw.heroku.com deployed to Heroku
> >
> > To g...@heroku.com:vdw.git
> >  * [new branch]  master -> master
> >
> > pard...@mlt0fm /c/railsapps/vdw (master)
>
> "heroku rake db:migrate" also reported success.
>
> But when I go to http://vdw.heroku.com/ I get rails' generic "We're
> sorry, but something went wrong" screen.
>
> I suspect its a gems management issue, but don't know how to diagnose.
>
> Can somebody give me a clue here?
>
> Thanks!
>
> -Roy
>
> --
> 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.
>
>

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



Re: app keep winding down

2010-02-15 Thread Oren Teich
While free apps do cycle down after a few hours of inactivity, you should
never get a 500 error.  That's something we'll have to look into.


Oren

2010/2/15 Nicolás Sanguinetti 

> On Mon, Feb 15, 2010 at 2:15 PM, sslguy  wrote:
> > Any idea why my app ssltools.com keeps winding down. When I visit the
> > site, I at first get an error code 500. Upon immediate refresh, the
> > app comes up. However, wait a period of time, and Heroku shuts the app
> > down. Then the cycle repeats itself.
> >
> > Any idea would be appreciated.
> >
>
> Free app? Free apps act like that, if you pay for it then it shouldn't
> do that, AFAIK.
>
> 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.
> >
> >
>
> --
> 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.
>
>

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



Re: app keep winding down

2010-02-15 Thread Nicolás Sanguinetti
On Mon, Feb 15, 2010 at 2:15 PM, sslguy  wrote:
> Any idea why my app ssltools.com keeps winding down. When I visit the
> site, I at first get an error code 500. Upon immediate refresh, the
> app comes up. However, wait a period of time, and Heroku shuts the app
> down. Then the cycle repeats itself.
>
> Any idea would be appreciated.
>

Free app? Free apps act like that, if you pay for it then it shouldn't
do that, AFAIK.

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

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



app keep winding down

2010-02-15 Thread sslguy
Any idea why my app ssltools.com keeps winding down. When I visit the
site, I at first get an error code 500. Upon immediate refresh, the
app comes up. However, wait a period of time, and Heroku shuts the app
down. Then the cycle repeats itself.

Any idea would be appreciated.

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



gem troubles (authlogic)

2010-02-15 Thread Roy Pardee
Hey All,

I'm playing around w/a free account & am trying to use the authlogic
gem in my app.  I tried the bundler advice on docs.heroku.com/gems and
didn't have luck, so I'm now trying the heroku gems manifest & again
not having luck.

My .gems file consists of this single line:

  authlogic --version '2.1.3

The push seemed successful:

> $ git push heroku master
> Counting objects: 3687, done.
> Compressing objects: 100% (2195/2195), done.
> Writing objects: 100% (3687/3687), 5.03 MiB | 316 KiB/s, done.
> Total 3687 (delta 1093), reused 3638 (delta 1077)
>
> -> Heroku receiving push
>
> -> Installing gem authlogic 2.1.3 from http://gemcutter.org, 
> http://gems.rubyforge.org
>Successfully installed authlogic-2.1.3
>1 gem installed
>
> -> Rails app detected
>Compiled slug size is 3.2MB
> -> Launching done
>http://vdw.heroku.com deployed to Heroku
>
> To g...@heroku.com:vdw.git
>  * [new branch]  master -> master
>
> pard...@mlt0fm /c/railsapps/vdw (master)

"heroku rake db:migrate" also reported success.

But when I go to http://vdw.heroku.com/ I get rails' generic "We're
sorry, but something went wrong" screen.

I suspect its a gems management issue, but don't know how to diagnose.

Can somebody give me a clue here?

Thanks!

-Roy

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



Gmail SMTP Plugin and different Ruby versions

2010-02-15 Thread brentlintner
I have been attempting to get Gmail SMTP mail working on both Heroku
(1.8.6) and my local dev (1.8.7).

Unfortunately using the plugin fails locally, so I updated the gmail
plugin slightly as follows to use the built in TLS support in Ruby
1.8.7 (based off an older post linked at bottom), and figured I would
post in case anyone else found it useful.




-- init.rb

rb_version = RUBY_VERSION.scan(/([0-9]+)\.([0-9]+)\.([0-9]+)/)[0]

require "smtp_tls" if (rb_version[0].to_i <= 1 && rb_version[1].to_i
<= 8 && rb_version[2].to_i <= 6)
require 'actionmailer_gmail'


-- actionmailer_gmail.rb (example, NOTE the :enable_starttls_auto
=> true)

ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:authentication => :plain,
:domain => "localhost.localdomain",
:enable_starttls_auto => true,
:user_name => "your.em...@gmail.com",
:password => "password",
}





-- Old Thread

(I had some issues with the code posted here.)
http://groups.google.com/group/heroku/browse_thread/thread/14779ef5213ea8d5/9d6ddd20b84e5d97?lnk=gst&q=gmail+#9d6ddd20b84e5d97


-- Alternate Fixes

There is also an open GitHub issue I found with a quick fix (instead
of using the built in support) in case anyone wants to go that way.
http://github.com/adamwiggins/gmail_smtp/issues#issue/1

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



working on local machine but not on heroku

2010-02-15 Thread rick_2047
 I have some code which works perfectly well on my machine but is not
working on heroku
<%= f.text_area :body, :class => "widgEditor"%>
this line of code works on my machine but shows errors on heroku
I checked the logs and apparently heroku is trying to call css on
PostsController

a dump of log is here http://pastebin.com/m32350e66

This may be a bug.

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



Re: How can I edit my db schema from the console?

2010-02-15 Thread Carl Fyffe
Ask the DataMapper mailing list?

On 2/15/10, senihele  wrote:
> No one has any ideas?  This is a pretty basic question...
>
> On Jan 30, 8:29 pm, senihele  wrote:
>> Hey all,
>>
>> I have a Sinatra/Datamapper application on Heroku.  Datamapper doesn't
>> handle migrations very well, and to the best of my knowledge can't
>> remove or rename a column without wiping out the entire database.
>> Anyone have any ideas on how I can do this manually?  I tried to run
>> the raw sql via the console, but when i run
>>
>> ActiveRecord::Base.connection.execute("select ...")
>>
>> I get the error message:
>>
>> ActiveRecord::ConnectionNotEstablished:
>> ActiveRecord::ConnectionNotEstablished
>>
>> It seems like Datamapper also now has support to AR style migrations,
>> but I can' find anything on how to set this up with Sinatra.  Since I
>> haven't been using AR style migrations up until this point, it would
>> just be easier to be able to to remove and rename the columns
>> directly.
>>
>> Any ideas?  Thanks.
>
> --
> 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.
>
>

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



Re: How can I edit my db schema from the console?

2010-02-15 Thread senihele
No one has any ideas?  This is a pretty basic question...

On Jan 30, 8:29 pm, senihele  wrote:
> Hey all,
>
> I have a Sinatra/Datamapper application on Heroku.  Datamapper doesn't
> handle migrations very well, and to the best of my knowledge can't
> remove or rename a column without wiping out the entire database.
> Anyone have any ideas on how I can do this manually?  I tried to run
> the raw sql via the console, but when i run
>
> ActiveRecord::Base.connection.execute("select ...")
>
> I get the error message:
>
> ActiveRecord::ConnectionNotEstablished:
> ActiveRecord::ConnectionNotEstablished
>
> It seems like Datamapper also now has support to AR style migrations,
> but I can' find anything on how to set this up with Sinatra.  Since I
> haven't been using AR style migrations up until this point, it would
> just be easier to be able to to remove and rename the columns
> directly.
>
> Any ideas?  Thanks.

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