FS#59429 - [ruby-sass-listen] invalid gemfiles to be created
Attached to Project:
Community Packages
Opened by James (imnotjames) - Monday, 23 July 2018, 19:17 GMT
Last edited by Toolybird (Toolybird) - Monday, 17 April 2023, 07:38 GMT
Opened by James (imnotjames) - Monday, 23 July 2018, 19:17 GMT
Last edited by Toolybird (Toolybird) - Monday, 17 April 2023, 07:38 GMT
|
Details
Description:
`sass-listen` PKGBUILD removes `rb-fsevent` dependency from lockfile. https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/ruby-sass-listen#n21 Removing the dependency `rb-fsevent` from `sass-listen` causes incorrect gemfile locks to be generated, meaning there is no interoperability with other systems. Additional info: ## Environment ``` Bundler 1.16.3 Platforms ruby, x86_64-linux Ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux] Full Path /usr/bin/ruby Config Dir /etc RubyGems 2.7.7 Gem Home /usr/lib/ruby/gems/2.5.0 Gem Path /home/james/.gem/ruby/2.5.0:/usr/lib/ruby/gems/2.5.0 User Path /home/james/.gem/ruby/2.5.0 Bin Dir /usr/bin Tools Git 2.18.0 RVM not installed rbenv rbenv 1.1.1 chruby not installed ``` * sass-listen (4.0.0) Steps to reproduce: Install `ruby-sass-listen` from pacman. * `pacman -S ruby-sass-listen` * `echo -e "source 'https://rubygems.org'\ngem 'sass-listen'" > Gemfile` * `bundle install` * Gemfile now contains invalid dependencies. * Install without using system as vendor: `bundle install --path=vendor` or use CI. ``` Fetching gem metadata from https://rubygems.org/.......... Using bundler 1.16.3 Fetching ffi 1.9.25 Installing ffi 1.9.25 with native extensions Fetching rb-inotify 0.9.10 Installing rb-inotify 0.9.10 Fetching sass-listen 4.0.0 Downloading sass-listen-4.0.0 revealed dependencies not in the API or the lockfile (rb-fsevent (>= 0.9.4, ~> 0.9), rb-inotify (>= 0.9.7, ~> 0.9)). Either installing with `--full-index` or running `bundle update sass-listen` should fix the problem. In Gemfile: sass-listen ``` Workaround: * `rm Gemfile.lock` * |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 17 April 2023, 07:38 GMT
Reason for closing: Fixed
Additional comments about closing: ruby-sass-listen 4.0.0-8
Monday, 17 April 2023, 07:38 GMT
Reason for closing: Fixed
Additional comments about closing: ruby-sass-listen 4.0.0-8
Workaround:
* `rm Gemfile.lock`
* Install without using system as vendor: `bundle install --path=vendor`
[jelle@natrium][~/projects/arch-repro-website]%sass --watch src/style.scss:public/bundle.css
>>> Sass is watching for changes. Press Ctrl-C to stop.
write public/bundle.css
write public/bundle.css.map
LoadError: cannot load such file -- rb-fsevent
Use --trace for backtrace.
Installing ruby-rb-fsevent from the AUR makes it wor.