Unable to bundle on Windows 10 because of a symlink.
Created by: KOlofinmoyin
Pre-conditions (platform setup):
- OS: Windows 10 Pro
- IDE: Atom 2020 06 29 12
- Rails version: Rails 6.0.3.2
- Ruby version: ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32]
- Administrate version: administrate 0.13.0
Steps to repro:
- Create a rails app. (having one or more models), open the app., then
- Open its Gem file
- Insert the line: gem ‘Administrate’ to the last line of the file
- Open terminal and run: bundle install
Expected behaviour:
- Administrate Gem is successfully bundled.
Actual behaviour:
- User is presented with the error-message:
Installing administrate 0.13.0
_Errno::EACCES: Permission denied @ rb_file_s_symlink - (../CONTRIBUT
TING.md,
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/administrate-0.13.0/docs/cont
tributing.md)
An error occurred while installing administrate (0.13.0), and Bundle
er cannot
continue.
Make sure that gem install administrate -v '0.13.0' --source 'https://rubygems.org/'
succeeds before bundling.
In Gemfile: administrate_ (see youtube link: https://youtu.be/n-80J7F1spk )