Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'frank compile' fails on fresh install/project using rbenv/1.9.3p194 [x86_64-darwin11.4.0] #76

Open
jackrusher opened this issue Jun 10, 2012 · 0 comments

Comments

@jackrusher
Copy link

I did a 'gem install frank', followed by these steps:

$ frank new thing

Frank is...

  • Creating your project 'thing'

  • Copying default Frank template

    Congratulations, 'thing' is ready to go!
    $ cd thing/
    $ frank compile

Frank is...

  • Creating 'exported'
    /Users/jack/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/frank-1.0.12/lib/frank/compile.rb:12:in join': can't convert nil into String (TypeError) from /Users/jack/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/frank-1.0.12/lib/frank/compile.rb:12:incompile_templates'
    from /Users/jack/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/frank-1.0.12/lib/frank/compile.rb:84:in export!' from /Users/jack/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/frank-1.0.12/lib/frank/cli.rb:134:inrun!'
    from /Users/jack/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/frank-1.0.12/lib/frank/cli.rb:99:in run' from /Users/jack/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/frank-1.0.12/bin/frank:20:in<top (required)>'
    from /Users/jack/.rbenv/versions/1.9.3-p194/bin/frank:23:in load' from /Users/jack/.rbenv/versions/1.9.3-p194/bin/frank:23:in'

... this is caused by an attempt to join a nil value in Frank.root. The problem is resolved if I add 'compile' to the list of terms that bootstrap with Dir.pwd in cli.rb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant