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

Installing on Raspi buster #167

Closed
Dave-DigiMim opened this issue Jun 21, 2020 · 4 comments
Closed

Installing on Raspi buster #167

Dave-DigiMim opened this issue Jun 21, 2020 · 4 comments
Milestone

Comments

@Dave-DigiMim
Copy link

sudo apt-get install ruby2.3-dev
this was successful
but this was not
pi@raspberrypi:~/Cellar $ sudo gem install smashing
Building native extensions. This could take a while...
ERROR: Error installing smashing:
ERROR: Failed to build gem native extension.

current directory: /var/lib/gems/2.5.0/gems/eventmachine-1.2.7/ext

/usr/bin/ruby2.5 -r ./siteconf20200621-23957-f66zcs.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/eventmachine-1.2.7 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/arm-linux/2.5.0/eventmachine-1.2.7/gem_make.out
I see that although ruby2.3 was installed it seems to have installed Gems 2.5

@kinow
Copy link
Member

kinow commented Jun 22, 2020

Hi @Dave-DigiMim

Have you looked at older issues here? I remember seeing a few ones about issues with Raspberry and Smashing before, e.g. #78

Bruno

@rompic
Copy link
Contributor

rompic commented Jul 25, 2020

why do you want to install such an old ruby version?
afaik buster packages 2.5: https://packages.debian.org/buster/ruby-dev

@jerdog
Copy link

jerdog commented Sep 15, 2020

FWIW - I had the same issue on a full, new install in an Ubuntu 18.04 LTS Azure instance. I first had to:

sudo snap install --classic ruby
sudo apt install build-essential
sudo gem install smashing

then it worked

@kinow
Copy link
Member

kinow commented May 4, 2021

Added the workaround above to our installation Wiki. I'm working to update the Ubuntu LTS installation, and the CentOS installation instructions. Unfortunately we don't have bandwidth to maintain the installation instructions for many distros, nor for older versions. But documenting the installation problems in our Wiki might at least help users to find everything in a single place instead of having to search issues/PR's.

https://github.com/Smashing/smashing/wiki/Installation#troubleshooting

Thanks!

@kinow kinow closed this as completed May 4, 2021
@kinow kinow added this to the 1.3.5 milestone May 4, 2021
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

4 participants