Skip to content

Commit

Permalink
fixed another path issues updated todo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
danmayer committed May 10, 2010
1 parent db525a3 commit 876545f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -64,9 +64,9 @@ OPTIONAL (Publish personal resume gem)
* http://rtomayko.github.com/ronn/ (markdown to man page)
* possibly merge with a resume generator which after filling out some info via forms or yaml can generate varios resumes in all formats
* Users could submit templates / stylesheets allowing for differently formatted resumes
* rake task that generates proper single use gemfile and executable
* make sinatra app depend on the gem
* better filenames for the downloaded resume in various formats (currently saves as latex and markdown)
* fix the base path stuff refactor it out.


## License
Expand Down
3 changes: 2 additions & 1 deletion lib/resume_gem.rb
Expand Up @@ -40,8 +40,9 @@ def latex

def html
title = "Dan Mayer's Resume"
base = File.join(File.dirname(__FILE__),'..')
resume = RDiscount.new(@resume_content, :smart).to_html
eruby = Erubis::Eruby.new(File.read('./views/index.erubis'))
eruby = Erubis::Eruby.new(File.read(File.join(base,'./views/index.erubis')))
eruby.result(binding())
end

Expand Down

0 comments on commit 876545f

Please sign in to comment.