79154746

Date: 2024-11-04 08:50:00
Score: 0.5
Natty:
Report link

For those of us who are new to on Ruby On Rails:

The previous answer was installing Ruby and Rails using rvm. Later I tried using rbenv on my mac and it works great and better. Thank you

What is Ruby - As there are so many programming languages Ruby is a programming language that is generally used to create web services.

What is a framework? A framework is a tool to create a project and all the basic set of classes, files, and configuration details for the web application by running a single command.

What is Rails - Rails is an application framework, like the Microsoft Foundation Classes Framework, that builds and as well hosts the expected web service using a built-in App server.

Now, there are versions of Ruby, and there are versions of Rails.

rvm is a manager that can help install versions of Ruby and Rails. JRuby is another version of Ruby from Oracle Corp. rbenv is another tool that can be used to install Ruby and Rails.

Homebrew is a software generally used on Mac that installs and points to different versions of tools, and links hosted on GitHub, which are not built into the Mac’s existing Operating System. rvm is generally more involved than rbenv.

Instead of using rvm, you can also use HomeBrew and rbenv to install rails on a Mac. Try to install Homebrew on Mac and install Jruby from Homebrew. There are different versions of Ruby generally, and you can use any Ruby to start writing your code(you may need an editor, though).

I used rbenv by running the homebrew command(on Mac) to download rbenv, and everything was working perfectly well. Try it instead of fighting with rvm. rvm is a little complicated.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Satya Devarakonda