Hi there,
Can someone help me with installing Slanger on my Ubuntu VPS. I get stuck on gem install slanger
I’ve got the error:
Unable to resolve dependencies: slanger requires rack (~> 1.4.5); thin requires rack (~> 1.0); sinatra requires rack (~> 1.5); rack-protection requires rack (>= 0)```
Thanks for your help!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
When I need to install new gems I start off by installing a few packages that can be helpful:
apt-get update;
apt-get install ruby-dev build-essential
If you installed gems like sinatra or rack from the Ubuntu repositories they may be too old to support the gem you are now trying to install. I would then recommend removing any packages like ruby-sinatra and installing them instead via gem install sinatra
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.