Re: Interactive console on Cedar

2012-01-13 Thread Mark Pundsack
Is it a ruby app? `console` is for the interactive ruby console. If
it's some other language (or you haven't pushed any code at all yet),
there may not be the equivalent. If you want a shell, then `heroku run
bash` should work.

On Jan 10, 7:25 am, Martin Aspeli optil...@gmail.com wrote:
 On 10 January 2012 15:15, Neil Middleton neil.middle...@gmail.com wrote:

  heroku run console is fine on the cedar stack.

 Okay, I'm probably missing something. This is on OS X Lion. I do the 
 following:

 $ heroku login
 $ heroku run console --app=myapp
 Running console attached to terminal... up, run.1
 $

 At this point I was expecting to be inside an interactive console.
 Instead I'm back at my (local) shell.

 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: Interactive console on Cedar

2012-01-13 Thread Martin Aspeli
On 13 January 2012 20:39, Mark Pundsack m...@heroku.com wrote:
 Is it a ruby app? `console` is for the interactive ruby console. If
 it's some other language (or you haven't pushed any code at all yet),
 there may not be the equivalent. If you want a shell, then `heroku run
 bash` should work.

Ah, that makes sense!

No, it's not a Ruby app. ;-)

Bash works. Thanks a lot! The docs are not very clear on this point, by the way.

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: Interactive console on Cedar

2012-01-13 Thread Mark Pundsack
Just note that anything you do in that shell, or at least any files you save or 
edit, will be lost when you exit the shell. You're running in an isolated dyno 
with an ephemeral file system.

On Jan 13, 2012, at 12:49 PM, Martin Aspeli wrote:

 On 13 January 2012 20:39, Mark Pundsack m...@heroku.com wrote:
 Is it a ruby app? `console` is for the interactive ruby console. If
 it's some other language (or you haven't pushed any code at all yet),
 there may not be the equivalent. If you want a shell, then `heroku run
 bash` should work.
 
 Ah, that makes sense!
 
 No, it's not a Ruby app. ;-)
 
 Bash works. Thanks a lot! The docs are not very clear on this point, by the 
 way.
 
 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.
 

-- 
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: Interactive console on Cedar

2012-01-10 Thread Scott LaBounty
Try just heroku console.

Scott

On Tue, Jan 3, 2012 at 2:46 PM, Martin Aspeli optil...@gmail.com wrote:

 Hi,

 I feel like I'm missing something really basic here, but... Reading
 the docs, I had expected to get to an interactive console by doing:

 $ heroku run console

 However, this just does:

 $ heroku run console
 Running console attached to terminal... up, run.1

 It exits with nothing more. What am I missing?

 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.




-- 
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 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: Interactive console on Cedar

2012-01-10 Thread Neil Middleton
heroku run console is fine on the cedar stack.

Neil


On Tuesday, 10 January 2012 at 15:11, Scott LaBounty wrote:

 Try just heroku console.
 
 Scott
 
 On Tue, Jan 3, 2012 at 2:46 PM, Martin Aspeli optil...@gmail.com 
 (mailto:optil...@gmail.com) wrote:
  Hi,
  
  I feel like I'm missing something really basic here, but... Reading
  the docs, I had expected to get to an interactive console by doing:
  
  $ heroku run console
  
  However, this just does:
  
  $ heroku run console
  Running console attached to terminal... up, run.1
  
  It exits with nothing more. What am I missing?
  
  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 
  (mailto:heroku@googlegroups.com).
  To unsubscribe from this group, send email to 
  heroku+unsubscr...@googlegroups.com 
  (mailto:heroku%2bunsubscr...@googlegroups.com).
  For more options, visit this group at 
  http://groups.google.com/group/heroku?hl=en.
  
 
 
 
 -- 
 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 heroku@googlegroups.com 
 (mailto:heroku@googlegroups.com).
 To unsubscribe from this group, send email to 
 heroku+unsubscr...@googlegroups.com 
 (mailto: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 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: Interactive console on Cedar

2012-01-10 Thread Martin Aspeli
On 10 January 2012 15:15, Neil Middleton neil.middle...@gmail.com wrote:
 heroku run console is fine on the cedar stack.

Okay, I'm probably missing something. This is on OS X Lion. I do the following:

$ heroku login
$ heroku run console --app=myapp
Running console attached to terminal... up, run.1
$

At this point I was expecting to be inside an interactive console.
Instead I'm back at my (local) shell.

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: Interactive console on Cedar

2012-01-10 Thread Bashar Abdullah
OK sorry, do this

heroku run console --app myapp

no = just space

On Jan 10, 6:46 pm, Martin Aspeli optil...@gmail.com wrote:
 On 10 January 2012 15:33, Bashar Abdullah bashar.abdul...@gmail.com wrote:

  Are you sure it's your local shell?

 Very.

  It should get you into the production console on Heroku
  Try to do puts RAILS_ENV what do you get?

 $ puts RAILS_ENV
 zsh: correct 'puts' to 'tput' [nyae]? n
 zsh: command not found: puts
 $ hostname
 my local hostname

 :)

 Martin







  On Jan 10, 6:25 pm, Martin Aspeli optil...@gmail.com wrote:
  On 10 January 2012 15:15, Neil Middleton neil.middle...@gmail.com wrote:

   heroku run console is fine on the cedar stack.

  Okay, I'm probably missing something. This is on OS X Lion. I do the 
  following:

  $ heroku login
  $ heroku run console --app=myapp
  Running console attached to terminal... up, run.1
  $

  At this point I was expecting to be inside an interactive console.
  Instead I'm back at my (local) shell.

  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 
  athttp://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 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: Interactive console on Cedar

2012-01-10 Thread John Beynon
what are the chances that port 5000 is being blocked? That is port that 
heroku run uses - there are further troubleshooting ideas at the bottom of 
this page http://devcenter.heroku.com/articles/oneoff-admin-ps

John.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/heroku/-/_5pHD316RSoJ.
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.