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

Ruby version update #319

Closed
grvsachdeva opened this issue Jan 30, 2019 · 3 comments
Closed

Ruby version update #319

grvsachdeva opened this issue Jan 30, 2019 · 3 comments

Comments

@grvsachdeva
Copy link
Member

Hi, we are using very old ruby version 2.1.2 which is troubling with the installation.

Errors I faced:

  1. Error running '__rvm_make -j8' while installing ruby 2.1.2

Solved by rvm get head
After completing installation of ruby version, I switched to it.

  1. I ran bundle install and got below error
ZenTest-4.11.1 requires rubygems version < 3.0, which is incompatible with the
current version, 3.0.2

I deleted the Gemfile.lock and ran bundle install again.

  1. After that I got this error in bundle install
Gem::RuntimeRequirementNotMetError: nokogiri requires Ruby version >= 2.3.0. The
current ruby version is 2.1.2.95.
An error occurred while installing nokogiri (1.10.1), and Bundler
cannot continue.
Make sure that `gem install nokogiri -v '1.10.1' --source
'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  aws-sdk was resolved to 1.5.8, which depends on
    nokogiri

Many new user would be going through the same situation if they try to switch from plots2 to mapknitter and without using too because our dependencies are old and conflicting.

@jywarren should we update ruby version and important gems first to make installation easier for contributors? Thanks!

@jywarren
Copy link
Member

jywarren commented Jan 30, 2019 via email

@grvsachdeva
Copy link
Member Author

Cool! I am opening PR, I think we can update to latest stable release 2.6.1. What do you think?

@grvsachdeva grvsachdeva mentioned this issue Jan 30, 2019
3 tasks
@grvsachdeva
Copy link
Member Author

Update: @jywarren lets update to ruby 2.4.4 so contributors don't face issue while switching for contributing from plots2 to here. Also, I tried but there are some error due to docker I guess, so need help.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants