Comments (2)
I think the #3 is due to the same problem.
Is it a fresh install ? with no theme yet ?
I made this "theme" with the minimal things needed to be able to merge it with any preview installation (so it must have a theme installed).
If yes (I guess), did you run bundle exec rake install
?
Maybe I should force it before cloning octopress-lunr-theme in the script I gave.
from octopress-lunr-theme.
Hi Alain, thanks for getting back on this so fast.
It is a running instance on github enterprise (using a different root folder due to gh enterprise's lack of cname forwarding).
So there's already a bunch of Posts and the default theme is installed:
$ bundle exec install
install: missing file operand
Try 'install --help' for more information.
$ ls .themes/
classic octopress-lunr-theme
When trying to install the octopress-lunr-theme, I get:
$ bundle exec rake install["octopress-lunr-theme"]
A theme is already installed, proceeding will overwrite existing files. Are you sure? [y/n] y
## Copying octopress-lunr-theme theme into ./source and ./sass
mkdir -p source
cp -r .themes/octopress-lunr-theme/source/. source
mkdir -p sass
cp -r .themes/octopress-lunr-theme/sass/. sass
rake aborted!
No such file or directory - .themes/octopress-lunr-theme/sass/.
Tasks: TOP => install
(See full trace by running task with --trace)
after merging the themes:
mkdir octo-lunr
cp -rf classic/* octo-lunr/
cp -rf octopress-lunr-theme/* octo-lunr/
rm -rf octopress-lunr-theme/
mv octo-lunr octopress-lunr-theme
the installation works:
$ bundle exec rake install["octopress-lunr-theme"]
(in /home/kc/code/dshopTutorials)
A theme is already installed, proceeding will overwrite existing files. Are you sure? [y/n] y
## Copying octopress-lunr-theme theme into ./source and ./sass
mkdir -p source
cp -r .themes/octopress-lunr-theme/source/. source
mkdir -p sass
cp -r .themes/octopress-lunr-theme/sass/. sass
mkdir -p source/_posts
mkdir -p public/pages/DeveloperEmpowermentCulture/dshop
Now all the following steps work:
$ echo "{% include custom/lunr_search/entries.html %}" >> source/search/index.markdown
$ cp .themes/octopress-lunr-theme/plugins/octopress_lunr_theme.rb plugins/octopress_lunr_theme.rb
$ sed -i "/^simple_search:/c\simple_search: #" _config.yml
$ sed -i "s/^default_asides: \[/default_asides: \[custom\/asides\/lunr_search.html, /" _config.yml
up to $ bundle exec rake generate
:
## Generating Site with Jekyll
overwrite source/stylesheets/screen.css
Configuration from /home/kc/code/dshopTutorials/_config.yml
/home/kc/code/dshopTutorials/plugins/octopress_lunr_theme.rb:17:in `initialize': undefined method `Hash' for #<Jekyll::Indexer:0xb202384> (NoMethodError)
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:92:in `new'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:92:in `block in setup'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:89:in `map'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:89:in `setup'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:31:in `initialize'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/bin/jekyll:238:in `new'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/bin/jekyll:238:in `<top (required)>'
from /usr/local/bin/jekyll:23:in `load'
from /usr/local/bin/jekyll:23:in `<main>'
I am not into Ruby at all, but maybe it is about a missing bundle? This is what I got:
kc@ubuntu ~/code/dshopTutorials (octopress-lunr-theme)
$ bundle install
Using rake 0.9.2.2
Using RedCloth 4.2.9
Using chunky_png 1.2.5
Using fast-stemmer 1.0.1
Using classifier 1.3.3
Using fssm 0.2.9
Using sass 3.2.9
Using compass 0.12.2
Using directory_watcher 1.4.1
Using haml 3.1.7
Using kramdown 0.13.8
Using liquid 2.3.0
Using syntax 1.0.0
Using maruku 0.6.1
Using posix-spawn 0.3.6
Using yajl-ruby 1.1.0
Using pygments.rb 0.3.4
Using jekyll 0.12.0
Using json 1.8.1
Using mini_portile 0.5.3
Using nokogiri 1.6.2
Using rack 1.5.2
Using rack-protection 1.5.0
Using rb-fsevent 0.9.1
Using rdiscount 2.0.7.3
Using rubypants 0.2.0
Using sass-globbing 1.0.0
Using tilt 1.3.7
Using sinatra 1.4.2
Using stringex 1.4.0
Using bundler 1.6.2
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Hope you have any other idea?
Thanks and best regards
kc
from octopress-lunr-theme.
Related Issues (3)
- _config.yml HOT 2
- undefined methods HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octopress-lunr-theme.