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

Can't install gems with Mastodon #131

Open
tenderlove opened this issue Nov 23, 2022 · 2 comments
Open

Can't install gems with Mastodon #131

tenderlove opened this issue Nov 23, 2022 · 2 comments

Comments

@tenderlove
Copy link
Contributor

I'm trying to use Gel with Mastodon, but gel install fails:

$ gel install
Installing microformats (4.4.1)
Installed 0 of 1 gems

Errors encountered with 1 gems:

microformats
  already installed



===== Gel Internal Error =====

/Users/aaron/git/gel/lib/gel/store.rb:51:in `block in add_gem': already installed (RuntimeError)
	from /Users/aaron/git/gel/vendor/pstore/lib/pstore.rb:333:in `block in transaction'
	from /Users/aaron/git/gel/vendor/pstore/lib/pstore.rb:332:in `catch'
	from /Users/aaron/git/gel/vendor/pstore/lib/pstore.rb:332:in `transaction'
	from /Users/aaron/git/gel/lib/gel/db.rb:211:in `writing'
	from /Users/aaron/git/gel/lib/gel/db.rb:158:in `writing'
	from /Users/aaron/git/gel/lib/gel/db.rb:79:in `block in writing'
	from /Users/aaron/git/gel/lib/gel/db.rb:76:in `synchronize'
	from /Users/aaron/git/gel/lib/gel/db.rb:76:in `writing'
	from /Users/aaron/git/gel/lib/gel/store.rb:49:in `add_gem'
	from /Users/aaron/git/gel/lib/gel/package/installer.rb:262:in `install'
	from /Users/aaron/git/gel/lib/gel/installer.rb:172:in `work_install'
	from /Users/aaron/git/gel/lib/gel/installer.rb:147:in `work_download'
	from /Users/aaron/git/gel/lib/gel/installer.rb:74:in `block (2 levels) in install_gem'
	from /Users/aaron/git/gel/lib/gel/work_pool.rb:62:in `block (4 levels) in start'
	from /Users/aaron/git/gel/lib/gel/work_pool.rb:47:in `loop'
	from /Users/aaron/git/gel/lib/gel/work_pool.rb:47:in `block (3 levels) in start'
	from /Users/aaron/git/gel/lib/gel/work_pool.rb:46:in `catch'
	from /Users/aaron/git/gel/lib/gel/work_pool.rb:46:in `block (2 levels) in start'

The Gemfile I'm using is here. I slightly modified the upstream Gemfile so I could use edge Ruby.

@tenderlove
Copy link
Contributor Author

Also I'm using Gel version a396108

@matthewd
Copy link
Member

Thanks!

I was able to reproduce this by just installing better_html on its own using edge ruby: it looks like the nokogiri platform / ruby-version compatibility combo isn't being handled correctly, at least when calculating immediate dependencies needed to build another dependant C-ext gem. 🤔

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

2 participants