kjvarga / sitemap_generator

SitemapGenerator is a framework-agnostic XML Sitemap generator written in Ruby with automatic Rails integration. It supports Video, News, Image, Mobile, PageMap and Alternate Links sitemap extensions and includes Rake tasks for managing your sitemaps, as well as many other great features.
MIT License
2.44k stars 277 forks source link

Readme install instructions fail #420

Open mrinterestfull opened 1 year ago

mrinterestfull commented 1 year ago

Hello, Found the repo, wanted to try the program to see if it work..

Following: gem install sitemap_generator ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.7.0 directory.

~/Downloads/tmp/sitemap/sitemap_generator$ gem install sitemap_generator ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.7.0 directory.

~/Downloads/tmp/sitemap/sitemap_generator$ gem install 'sitemap_generator' ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.7.0 directory.

~/Downloads/tmp/sitemap/sitemap_generator$ gem 'sitemap_generator' ERROR: While executing gem ... (Gem::CommandLineError) Unknown command sitemap_generator

~/Downloads/tmp/sitemap/sitemap_generator$ gem install ERROR: While executing gem ... (Gem::CommandLineError) Please specify at least one gem name (e.g. gem build GEMNAME)

Debian Linux Stable. no sudo.

kjvarga commented 1 year ago

Hi, the error is telling you what is wrong: You don't have write permissions for the /var/lib/gems/2.7.0 directory.

So it cannot install the gem. This is a problem with your setup and file permissions, not with the gem.

Do some googling on your error. Cheers

On Sun, Feb 12, 2023 at 12:34 AM Lucas Szybalski @.***> wrote:

Hello, Found the repo, wanted to try the program to see if it work..

Following: gem install sitemap_generator ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.7.0 directory.

~/Downloads/tmp/sitemap/sitemap_generator$ gem install sitemap_generator ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.7.0 directory.

~/Downloads/tmp/sitemap/sitemap_generator$ gem install 'sitemap_generator' ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.7.0 directory.

~/Downloads/tmp/sitemap/sitemap_generator$ gem 'sitemap_generator' ERROR: While executing gem ... (Gem::CommandLineError) Unknown command sitemap_generator

~/Downloads/tmp/sitemap/sitemap_generator$ gem install ERROR: While executing gem ... (Gem::CommandLineError) Please specify at least one gem name (e.g. gem build GEMNAME)

Debian Linux Stable. no sudo.

— Reply to this email directly, view it on GitHub https://github.com/kjvarga/sitemap_generator/issues/420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAXJETMUC2PSN3MN5LAPHDWXBY4NANCNFSM6AAAAAAUZDMVVM . You are receiving this because you are subscribed to this thread.Message ID: @.***>