Skip to content

Instantly share code, notes, and snippets.

@kalv
Created January 20, 2010 15:13
Show Gist options
  • Save kalv/281897 to your computer and use it in GitHub Desktop.
Save kalv/281897 to your computer and use it in GitHub Desktop.
Into ./test.rb
#!/usr/bin/env ruby
#
puts RELEASE_DATE
$ /opt/ruby-enterprise/bin/rake -e "`./test.rb`"
rake aborted!
(eval):1:in `standard_rake_options': compile error
(eval):1: Illegal octal digit
2007-09-24
^
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2182:in `standard_rake_options'
Change ./test.rb
#!/usr/bin/env /opt/ruby-enterprise/bin/ruby
#
puts RELEASE_DATE
$ /opt/ruby-enterprise/bin/rake -e "`./test.rb`"
rake aborted!
(eval):1:in `standard_rake_options': compile error
(eval):1: Illegal octal digit
2008-08-08
^
(eval):1: Illegal octal digit
2008-08-08
^
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2182:in `standard_rake_options'
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment