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

i18n conflict if I want to start gollum via rack #6

Open
YomTan opened this issue Nov 23, 2023 · 0 comments
Open

i18n conflict if I want to start gollum via rack #6

YomTan opened this issue Nov 23, 2023 · 0 comments

Comments

@YomTan
Copy link

YomTan commented Nov 23, 2023

Hello, I want to put gollum auth into my gollum wiki and I tried putting it in like it says on this GitHub page. Unfortunately I get this error everytime, since I have 2 different versions of i18n installed if I install gollum and gollum auth. Here is the error:

C:\Users\ytan\OneDrive\Desktop\Speed>rackup -p 4567
C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/specification.rb:2295:in `raise_if_conflicts': Unable to activate gollum-5.3.2, because i18n-0.9.5 conflicts with i18n (~> 1.8) (Gem::ConflictError)
        from C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/specification.rb:1424:in `activate'
        from C:/Ruby32-x64/lib/ruby/3.2.0/rubygems.rb:209:in `rescue in try_activate'
        from C:/Ruby32-x64/lib/ruby/3.2.0/rubygems.rb:202:in `try_activate'
        from <internal:C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:154:in `rescue in require'
        from <internal:C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:39:in `require'
        from C:/Users/ytan/OneDrive/Desktop/Speed/config.ru:4:in `block in <main>'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:116:in `eval'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:116:in `new_from_string'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:105:in `load_file'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:66:in `parse_file'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:349:in `build_app_and_options_from_config'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:249:in `app'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:422:in `wrapped_app'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:312:in `block in start'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:379:in `handle_profiling'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:311:in `start'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:168:in `start'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/bin/rackup:5:in `<top (required)>'
        from C:/Ruby32-x64/bin/rackup:32:in `load'
        from C:/Ruby32-x64/bin/rackup:32:in `<main>'
C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/specification.rb:2295:in `raise_if_conflicts': Unable to activate gollum-5.3.2, because i18n-0.9.5 conflicts with i18n (~> 1.8) (Gem::ConflictError)
        from C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/specification.rb:1424:in `activate'
        from C:/Ruby32-x64/lib/ruby/3.2.0/rubygems.rb:203:in `try_activate'
        from <internal:C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:154:in `rescue in require'
        from <internal:C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:39:in `require'
        from C:/Users/ytan/OneDrive/Desktop/Speed/config.ru:4:in `block in <main>'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:116:in `eval'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:116:in `new_from_string'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:105:in `load_file'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:66:in `parse_file'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:349:in `build_app_and_options_from_config'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:249:in `app'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:422:in `wrapped_app'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:312:in `block in start'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:379:in `handle_profiling'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:311:in `start'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/lib/rack/server.rb:168:in `start'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rack-2.2.8/bin/rackup:5:in `<top (required)>'
        from C:/Ruby32-x64/bin/rackup:32:in `load'
        from C:/Ruby32-x64/bin/rackup:32:in `<main>'

I even tried uninstallin the 0.9.5 version of i18n that comes with gollum-auth, but that didnt work.

Is there a way to fix this? I am also new to ruby, so please bear with me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant