Yes, multiline commands are not currently supported. You can always abbreviate commands into a one liner though. Or yeah writing a rake task might be the best option.
On Tue, Jan 5, 2010 at 6:59 AM, Chris Baglieri <[email protected]> wrote: > I hit a similar wall. Now having said that, what I was trying to do > from the console really was a bit much and better suited for a rake > task which worked fine. I'd be interested to hear what others in the > group chime in with. > > On Jan 5, 3:11 am, sushi <[email protected]> wrote: >> >> person.each do |person| >> >> SyntaxError: compile error >> /home/heroku_rack/lib/console.rb:133: syntax error, unexpected $end >> person.each do |person| >> >> did anyone come across this before? how do i continue to next line? >> did not see this problem in irb or rails script/console. > > -- > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
