A
A
ant20152018-08-10 14:33:29
Ruby on Rails
ant2015, 2018-08-10 14:33:29

How to run a Ruby on Rails server?

I want to install the Rails framework for Ruby. My Linux Mint 18 system had Ruby version 2.3 and required at least 2.4. I installed rvm with big problems, using it I updated ruby ​​to 2.5. Installed rails, tried to start the server, gave an error with instructions to do bundle install (done). Everything went without errors. Sqlite3 version 3.11.0 is installed. Rails 4.2.6. I got confused in the errors I got. There was a Stack level too deep error. I googled that I need to edit the gemfile. I specified newer versions of gems in it, it gives the following error:

resolver.rb:55:in `rescue in start': Bundler could not find compatible versions for gem "activesupport": (Bundler::VersionConflict)
In snapshot (Gemfile.lock):
activesupport (= 4.2.6)
In Gemfile:
rails (= 5.2.1) was resolved to 5.2.1, which depends on
activesupport (= 5.2.1)
sass-rails (~> 5.0.7) was resolved to 5.0.7, which depends on
railties (< 6, >= 4.0.0) was resolved to 4.2.6, which depends on
activesupport (= 4.2.6)
...

Where and what needs to be corrected, tell me? And then I'm completely confused.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question