rubyworks / smeagol

Read-Only Gollum Server
http://rubyworks.github.com/smeagol
Other
92 stars 5 forks source link

Error running smeagol #51

Closed tjacobs2 closed 11 years ago

tjacobs2 commented 11 years ago

I have a github wiki cloned on my machine, but whenever I try to preview the wiki with smeagol I get the following error. Any ideas?:

/Library/Ruby/Gems/1.8/gems/smeagol-0.6.0/lib/smeagol/gollum/file.rb:27: undefined method `name' for class `Gollum::File' (NameError)
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /Library/Ruby/Gems/1.8/gems/smeagol-0.6.0/lib/smeagol.rb:56
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /Library/Ruby/Gems/1.8/gems/smeagol-0.6.0/bin/smeagol-preview:2
        from /usr/bin/smeagol-preview:19:in `load'
        from /usr/bin/smeagol-preview:19
sdatgit commented 11 years ago

I am facing the same issue. Ubuntu 12.10

smeagol preview /var/lib/gems/1.9.1/gems/smeagol-0.6.0/lib/smeagol/gollum/file.rb:27:inclass:File': undefined method name' for classGollum::File' (NameError) from /var/lib/gems/1.9.1/gems/smeagol-0.6.0/lib/smeagol/gollum/file.rb:2:in <module:Gollum>' from /var/lib/gems/1.9.1/gems/smeagol-0.6.0/lib/smeagol/gollum/file.rb:1:in<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /var/lib/gems/1.9.1/gems/smeagol-0.6.0/lib/smeagol.rb:56:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /var/lib/gems/1.9.1/gems/smeagol-0.6.0/bin/smeagol-preview:2:in<top (required)>' from /usr/local/bin/smeagol-preview:23:in load' from /usr/local/bin/smeagol-preview:23:in

' `

chkelly commented 11 years ago

Same issue here. Looks like this no longer works with newer versions of gollum?

trans commented 11 years ago

Appears that way. I'll look into as soon as I can.

leeola commented 11 years ago

Any progress on this?

What versions did Smeagol and Gollum work well together?

edit: Seems like pushing a new version with a corrected dependency for this codebase would be the most immediate priority, has Smeagol just been broke for a month?

trans commented 11 years ago

I've made some progress. I will push a new version today. I had to vendor styx/grit in place of grit to get it to work with Ruby 2.0.

trans commented 11 years ago

I just pushed version 0.6.1. It should bring everything into reasonable working order with the latest and greatest of all dependencies.

chkelly commented 11 years ago

Awesome thanks!

trans commented 11 years ago

Note that if your run into any trouble on this it all boils down to getting styx/grit to load in place of the official grit library.