nirnanaaa / gollum_redmine

Gollum for Redmine
6 stars 0 forks source link

Working? #1

Open clojens opened 10 years ago

clojens commented 10 years ago

Hi, is this plugin working already? I can't get it to run, keep bumping into:

/srv/http/.rvm/gems/ruby-2.1.0-latest@redmine/gems/gollum_rails-1.5.1/lib/gollum_rails/setup.rb:52:ininitialize': no implicit conversion of nil into String (TypeError)`

Also, your instructions seem to miss out on a part rails g gollum_rails:install or isn't that required?

Thanks

hamletmun commented 10 years ago

I am using redmine 2.3.3

hamletmun commented 10 years ago

I initialized git repository with redmine user su -c "git init" -s /bin/sh redmine

nirnanaaa commented 10 years ago

try

su -c "git init --bare /location/to/wiki.git" -s /bin/sh redmine
nirnanaaa commented 10 years ago

gollum has some incompabilities with normal repositories.

hamletmun commented 10 years ago

Beside git --bare, I migrated sqlite3 to postgres

Now I get below error, but "render_html_with_redmine_tags" was defined in redmine/plugins/gollum/app/models/page.rb

ActionView::Template::Error (undefined method `render_html_with_redmine_tags' for #<Page:0x0008b159e49dd8>):
    1: <br />
    2: <br />
    3: <aside class="wiki-page">
    4:   <%= @page.render_html_with_redmine_tags %>
    5: </aside>
    6:
    7: <%= content_for :sidebar do%>
  plugins/gollum/app/views/pages/show.html.erb:4:in `_plugins_gollum_app_views_pages_show_html_erb___500796577491066962_4778899275080'
hamletmun commented 10 years ago

Upgraded gollum_rails to 1.5.10 and I still get the same error

hamletmun commented 10 years ago

Temporarly I am using standalone gollum 3.0.0 gem. I have to access redmine by http://redmine and gollum by http://redmine:4567/Home

nirnanaaa commented 10 years ago

I'll take a deeper look into it now. Also adding new functionality and stability improvements in the next few days.

hamletmun commented 10 years ago

Wonderful news! It would be nice if the plugin uses released gollum_rails gem, instead of downloading source from git. Thank you for your work.

nirnanaaa commented 10 years ago

Will do this. There was a bundler issue, were you needed to purge the old gem first because otherwise redmine will require the older one, locked in Gemfile.lock...