[
https://issues.apache.org/jira/browse/BUILDR-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominic Graefen closed BUILDR-597.
----------------------------------
> buildr throws error when buildfile is not found
> -----------------------------------------------
>
> Key: BUILDR-597
> URL: https://issues.apache.org/jira/browse/BUILDR-597
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.4.6
> Environment: Ubuntu 10.4 / ruby 1.9.2
> OSX 10.6 / ruby 1.9.2
> Reporter: Dominic Graefen
> Priority: Minor
>
> Since buildr version 1.4.6 it does not show the "create new project" and
> instead throws an exception when no buildfile could be found.
> + buildr -T --trace
> Buildr aborted!
> TypeError : can't convert nil into String
> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/buildr-1.4.6/lib/buildr/core/application.rb:394:in
> `chdir'
> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/buildr-1.4.6/lib/buildr/core/application.rb:394:in
> `find_buildfile'
> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/buildr-1.4.6/lib/buildr/core/application.rb:228:in
> `block in load_buildfile'
> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/buildr-1.4.6/lib/buildr/core/application.rb:535:in
> `standard_exception_handling'
> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/buildr-1.4.6/lib/buildr/core/application.rb:227:in
> `load_buildfile'
> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/buildr-1.4.6/lib/buildr/core/application.rb:137:in
> `block in run'
> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/buildr-1.4.6/lib/buildr/core/application.rb:535:in
> `standard_exception_handling'
> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/buildr-1.4.6/lib/buildr/core/application.rb:135:in
> `run'
> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/buildr-1.4.6/bin/buildr:19:in `<top
> (required)>'
> /usr/local/rvm/gems/ruby-1.9.2-p180/bin/buildr:19:in `load'
> /usr/local/rvm/gems/ruby-1.9.2-p180/bin/buildr:19:in `<main>'
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira