rubyworks / brite

Brite is "Web Write"
http://rubyworks.github.com/brite
Other
5 stars 1 forks source link

running "brite",met error,how to fix it? #8

Open luckypoem opened 10 years ago

luckypoem commented 10 years ago

hi.

as3:~/brite-site# brite /usr/local/ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require': cannot load such file -- facets/hash/rekey (LoadError) from /usr/local/ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/neapolitan-0.4.1/lib/neapolitan/core_ext.rb:1:in <top (required)>' from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/neapolitan-0.4.1/lib/neapolitan.rb:5:inrequire_relative' from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/neapolitan-0.4.1/lib/neapolitan.rb:5:in <module:Neapolitan>' from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/neapolitan-0.4.1/lib/neapolitan.rb:1:in<top (required)>' from /usr/local/ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require' from /usr/local/ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/brite-0.7.0/lib/brite/controller.rb:1:in <top (required)>' from /usr/local/ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /usr/local/ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require' from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/brite-0.7.0/lib/brite.rb:10:in<top (required)>' from /usr/local/ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require' from /usr/local/ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/brite-0.7.0/bin/brite:2:in <top (required)>' from /usr/local/ruby/bin/brite:23:inload' from /usr/local/ruby/bin/brite:23:in `

' as3:~/brite-site#

tks a lot

trans commented 10 years ago

Off hand, I'd say make sure Facets is installed, e.g.. gem install facets.

Haven't worked on Brite in some time. When I get a chance I'll go through and update the project --maybe I'll finally get pagination support going.

luckypoem commented 10 years ago

hi. i installed it here at last: http://as3.brite.biz:34581 ,but posts in the homepage are not arranged as per the publishing time.for example,the newest published post: http://as3.brite.biz:34581/2014/04-09-backward-chinese-tech.html is not on the top of the homepage,so how to correct the posts order as per the publishing time? tks.

luckypoem commented 10 years ago

hi. i also see ur site: http://rubyworks.github.io/ , is it a static site?with what static site generator is it built? tks

trans commented 10 years ago

The posts are all the same day but different times, is that right? If so, should be an easy fix. I will look into it.

Yes, http://rubyworks.github.io/ is built using Brite (see https://github.com/rubyworks/rubyworks.github.com)