Re: Anyone having trouble using heroku console?

2011-09-24 Thread Alex Killough
, Keenan Brock kee...@thebrocks.net wrote:  Hi, Question: Are others able to run: heroku rake db:migrate OR heroku console puts Model.count ? This is probably user error, but I can't figure it out. reminds me of not specifying RAILS_ENV when running rails console. I had

Re: Anyone having trouble using heroku console?

2011-07-21 Thread Terence Lee
db:migrate OR heroku console puts Model.count ? This is probably user error, but I can't figure it out. reminds me of not specifying RAILS_ENV when running rails console. I had run rake db:seed which populated the Avatar model. I view a page on the website that relies upon

Re: Anyone having trouble using heroku console?

2011-07-15 Thread Alex Chaffee
able to run: heroku rake db:migrate OR heroku console puts Model.count ? This is probably user error, but I can't figure it out. reminds me of not specifying RAILS_ENV when running rails console. I had run rake db:seed which populated the Avatar model. I view a page on the website

Re: Anyone having trouble using heroku console?

2011-07-14 Thread Terence Lee
on heroku. Best, Terence On Wed, Jul 13, 2011 at 9:06 AM, Keenan Brock kee...@thebrocks.net wrote: Hi, Question: Are others able to run: heroku rake db:migrate OR heroku console puts Model.count ? This is probably user error, but I can't figure it out. reminds me of not specifying RAILS_ENV when

Re: Anyone having trouble using heroku console?

2011-07-14 Thread Francois
On Wed, Jul 13, 2011 at 9:06 AM, Keenan Brock kee...@thebrocks.net wrote:  Hi, Question: Are others able to run: heroku rake db:migrate OR heroku console puts Model.count ? This is probably user error, but I can't figure it out. reminds me of not specifying RAILS_ENV when running rails

Re: Anyone having trouble using heroku console?

2011-07-14 Thread Keenan Brock
On Wed, Jul 13, 2011 at 9:06 AM, Keenan Brock kee...@thebrocks.net wrote: Hi, Question: Are others able to run: heroku rake db:migrate OR heroku console puts Model.count ? This is probably user error, but I can't figure it out. reminds me of not specifying RAILS_ENV when running rails console

Anyone having trouble using heroku console?

2011-07-13 Thread Keenan Brock
Hi, Question: Are others able to run: heroku rake db:migrate OR heroku console puts Model.count ? This is probably user error, but I can't figure it out. reminds me of not specifying RAILS_ENV when running rails console. I had run rake db:seed which populated the Avatar model. I view a page

how do i request a full stack trace in heroku console

2011-05-20 Thread fearless_fool
The following interaction works fine in my local development environment but fails on Heroku: $ heroku console p = Premise.new(:address = 555 University Ave, :user = User.first) = #Premise id: nil, user_id: 1, address: 555 University Ave p.save NoMethodError: undefined method `name

Hirb in Heroku Console?

2011-01-27 Thread Geek Active
I've been using Hirb in my local development environment, but can't figure out how to enable it in the Heroku console. I have it in my Gemfile and pushed onto Heroku, but objects still aren't displaying as easy-to-read tables. Any suggestions? Thanks! -- You received this message because you

Re: Heroku Console and Gems

2010-08-30 Thread Scott LaBounty
to me in the Heroku console? Are they available from my rakefile? Thanks, -- Scott http://steamcode.blogspot.com/ -- 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

Re: Heroku Console and Gems

2010-08-29 Thread chris
be available to me in the Heroku console? Are they available from my rakefile? Thanks, -- Scott http://steamcode.blogspot.com/ -- 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

Heroku Console and Gems

2010-08-27 Thread Scott LaBounty
Should the gems that are in my .gems file be available to me in the Heroku console? Are they available from my rakefile? Thanks, -- Scott http://steamcode.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send

Re: Heroku Console and Gems

2010-08-27 Thread David Balatero
...@gmail.com wrote: Should the gems that are in my .gems file be available to me in the Heroku console? Are they available from my rakefile? Thanks, -- Scott http://steamcode.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Heroku group

Re: Heroku Console and Gems

2010-08-27 Thread Scott LaBounty
in the Heroku console? Are they available from my rakefile? Thanks, -- Scott http://steamcode.blogspot.com/ -- 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

Re: Heroku Console and Gems

2010-08-27 Thread David Balatero
. On Fri, Aug 27, 2010 at 1:35 PM, Scott LaBounty slabou...@gmail.comwrote: Should the gems that are in my .gems file be available to me in the Heroku console? Are they available from my rakefile? Thanks, -- Scott http://steamcode.blogspot.com/ -- You received this message because you

Re: Heroku Console and Gems

2010-08-27 Thread Scott LaBounty
(or at least that's my impression from doing the same thing in the heroku console). Scott On Fri, Aug 27, 2010 at 1:58 PM, David Balatero dbalat...@gmail.com wrote: I believe so, as long as the Rakefile + your app loaded Bundler. On Fri, Aug 27, 2010 at 1:44 PM, Scott LaBounty slabou

Re: Heroku console crashing

2010-08-02 Thread Jonathan
this, if necessary. This technique works reasonably well for me. On Aug 1, 6:44 pm, Mike mikel...@gmail.com wrote: I'm updating some data in my database, and running them through the Heroku console since we have no direct database access... -- You received this message because you are subscribed

Re: Heroku console crashing

2010-08-02 Thread Oren Teich
through the Heroku console since we have no direct database access... -- 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

Re: Heroku console crashing

2010-08-02 Thread Mike
the Heroku console since we have no direct database access... -- 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

Heroku console crashing

2010-08-01 Thread Mike
I'm updating some data in my database, and running them through the Heroku console since we have no direct database access. I'm calling this like so: ActiveRecord::Base.connection.execute MY SQL COMMAND; The command takes about 5-10 minutes to run. Every time I run it, it's causing the console

Re: Heroku console crashing

2010-08-01 Thread Mike
on the dyno until completed. On Aug 1, 9:44 pm, Mike mikel...@gmail.com wrote: I'm updating some data in my database, and running them through the Heroku console since we have no direct database access. I'm calling this like so: ActiveRecord::Base.connection.execute MY SQL COMMAND; The command

Re: Heroku console crashing

2010-08-01 Thread Oren Teich
updating some data in my database, and running them through the Heroku console since we have no direct database access. I'm calling this like so: ActiveRecord::Base.connection.execute MY SQL COMMAND; The command takes about 5-10 minutes to run. Every time I run it, it's causing the console

How are dynos related to cron jobs and heroku console?

2010-03-21 Thread Mike
When you run something as a cron job or when you execute a task from the Heroku console, do these run on one of your applications dynos? Or are these type of non-conventional processes their own thing? If they do run on a dyno, does Heroku recognize it if that dyno is slower performing and send

heroku console: ^C should clear, not exit.

2009-05-27 Thread Harry Vangberg
I'm repeatedly being caught off-guard in the Heroku console: ^C exits the console, while ^D does nothing. In practically every other console/shell/whatevz, including IRB, ^C clears the input line and ^D exits. --~--~-~--~~~---~--~~ You received this message

Re: heroku console: ^C should clear, not exit.

2009-05-27 Thread Harry Vangberg
Ha, that's weird. ^C clears on every system I've tried, including OS X. I didn't realize the heroku console was on GitHub, will take a look at it. 2009/5/27 Adam Wiggins a...@heroku.com: Ctrl-D does exit the Heroku console as long as you at the start of a line.  It's behavior is identical

Re: heroku console: ^C should clear, not exit.

2009-05-27 Thread Adam Wiggins
On Wed, May 27, 2009 at 1:27 PM, Harry Vangberg ha...@vangberg.name wrote: I didn't realize the heroku console was on GitHub, will take a look at it. http://github.com/heroku/heroku/blob/85693066c72f86595f03ebeae338134b162639d8/lib/heroku/commands/app.rb#L115-128

Heroku console

2009-04-16 Thread Robert Sköld
The heroku console can be a real time saver sometimes, just like the rails script/console. The magic about the heroku console is that it also works on a non-rails application like sinatra (any rack served app maybe?). I wonder, is there any way of doing the same thing locally on a sinatra/rack