rails woe

C:\dev\ruby\ties>ruby script\console
script/console:3:in `require’: C:/dev/ruby/ties/vendor/rails/railties/lib/commands/console.rb:19: syntax error, unexpected ‘:’, expecting keyword_then or ‘,’ or ‘;’ or ‘\n’
(SyntaxError)
when “p”: “production”
^
C:/dev/ruby/ties/vendor/rails/railties/lib/commands/console.rb:20: syntax error, unexpected keyword_when, expecting $end
when “d”: “development”
^
from script/console:3:in `<main>’
C:\dev\ruby\ties>pik 186

C:\dev\ruby\ties>ruby script\consolescript/console:3:in `require’: C:/dev/ruby/ties/vendor/rails/railties/lib/commands/console.rb:19: syntax error, unexpected ‘:’, expecting keyword_then or ‘,’ or ‘;’ or ‘\n’(SyntaxError)  when “p”: “production”           ^C:/dev/ruby/ties/vendor/rails/railties/lib/commands/console.rb:20: syntax error, unexpected keyword_when, expecting $end  when “d”: “development”      ^        from script/console:3:in `<main>’

meant “you wanted to run this with 1.8.6, not 1.9.x!”
C:\dev\ruby\ties>pik 186

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>