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

Cannot install pi_piper on minibian (Raspberry Pi) #55

Open
blogmywiki opened this issue Apr 22, 2017 · 1 comment
Open

Cannot install pi_piper on minibian (Raspberry Pi) #55

blogmywiki opened this issue Apr 22, 2017 · 1 comment

Comments

@blogmywiki
Copy link

blogmywiki commented Apr 22, 2017

I'm trying to do a fresh install using the minibian distro.

It won't let me install pi_piper saying that it requires RubyGems version >- 2.0.0

I have apt-get updated

It suggests gem update --system but I get an error saying this is disabled in Debian as it can break Debian.

Any advice on how to proceed?

(I then over-rode this to force a gem update and now get the following error when I run the printer script pi-printer.rb)

/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- serialport (LoadError)
	from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from ./pi-printer.rb:5:in `<main>'
@iqbalrosiadi
Copy link

In my case, i just need to synchronize between ruby and gem version.
you should check your ruby and gem version, they have to on the same version.

  1. check it with command 'which ruby' and 'which gem'
  2. and then check it on /usr/bin with 'ls -ltr /usr/bin/ruby*' 'ls -ltr /usr/bin/gem*'
  3. after that you should change the asymlink to the exact version for both ruby and 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