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

Create _layouts/ before writing refresh.html #48

Merged
merged 1 commit into from
Aug 12, 2013
Merged

Create _layouts/ before writing refresh.html #48

merged 1 commit into from
Aug 12, 2013

Conversation

drewish
Copy link
Contributor

@drewish drewish commented Aug 11, 2013

Took me a second to realize the Drupal import was expecting the _layouts directory to already exist. I went ahead and created the directory manually and rolled the patch after the fact:

$ ruby -rubygems -e 'require "jekyll/jekyll-import/drupal6";
    JekyllImport::Drupal6.process("dbname", "user", "pass")'
/home/amorton/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/jekyll-import-0.1.0.beta3/lib/jekyll/jekyll-import/drupal6.rb:45:in `initialize': No such file or directory - _layouts/refresh.html (Errno::ENOENT)
  from /home/amorton/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/jekyll-import-0.1.0.beta3/lib/jekyll/jekyll-import/drupal6.rb:45:in `open'
  from /home/amorton/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/jekyll-import-0.1.0.beta3/lib/jekyll/jekyll-import/drupal6.rb:45:in `process'
  from -e:2:in `<main>'
$ ls -la
total 16
drwxrwxr-x  4 amorton amorton 4096 Aug 11 16:29 ./
drwxr-xr-x 26 amorton amorton 4096 Aug 11 16:21 ../
drwxrwxr-x  2 amorton amorton 4096 Aug 11 16:29 _drafts/
drwxrwxr-x  2 amorton amorton 4096 Aug 11 16:29 _posts/
$ mkdir _layouts
$ ruby -rubygems -e 'require "jekyll/jekyll-import/drupal6";
    JekyllImport::Drupal6.process("dbname", "user", "pass")'
$

Which generated a bunch of files... I'll go make sure they're all correct next ;)

@parkr
Copy link
Member

parkr commented Aug 12, 2013

Looks great to me! Thanks :)

@mattr-?

parkr added a commit that referenced this pull request Aug 12, 2013
Create _layouts/ before writing refresh.html
@parkr parkr merged commit 1c4fa97 into jekyll:master Aug 12, 2013
parkr added a commit that referenced this pull request Aug 12, 2013
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants