[openstreetmap-website] autoprefixer-rails requires Ruby version >= 2.0 (#1104)

HostOnNet.com notifications at github.com
Thu Dec 10 08:18:00 UTC 2015


When install openstreetmap, i get following error

```
root at maps:/home/openstreetmap-website# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.3
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using nokogiri 1.6.7
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.5
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.5
Using globalid 0.3.6
Using activejob 4.2.5
Using mime-types 2.99
Using mail 2.6.3
Using actionmailer 4.2.5
Using actionpack-page_caching 1.0.2
Using activemodel 4.2.5
Using arel 6.0.3
Using activerecord 4.2.5
Using addressable 2.4.0
Using ast 2.1.0
Using parser 2.2.3.0
Using astrolabe 1.3.1
Using execjs 2.6.0
Installing autoprefixer-rails 6.1.2

Gem::InstallError: autoprefixer-rails requires Ruby version >= 2.0.
An error occurred while installing autoprefixer-rails (6.1.2), and Bundler cannot continue.
Make sure that `gem install autoprefixer-rails -v '6.1.2'` succeeds before bundling.
root at maps:/home/openstreetmap-website# gem install autoprefixer-rails -v '6.1.2'
ERROR:  Error installing autoprefixer-rails:
	autoprefixer-rails requires Ruby version >= 2.0.
root at maps:/home/openstreetmap-website# 
```

How i fix this, should i upgrade ruby version ?



---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1104
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20151210/d909ebb3/attachment.html>


More information about the rails-dev mailing list