top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Installing rvm in home directory or system-wide using Rails?

0 votes
375 views

Is there any advantages of installing rvm system-wide as opposed to just in the home directory of a user?

posted Jul 16, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Please go through this : https://rvm.io/rvm/install. System wide RVM will let you use the same installation for all users on the system. But I have seen many junior devs screw up their dev environment by trying a system wide RVM installation but did not follow the instructions correctly. Single user installations look safer and less error prone to me. I like to have Single User RVM installations on my systems because I am more comfortable when I am not sudo-ing too often :)

answer Jul 17, 2013 by anonymous
You shouldn't be using sudo even with system-wide installs-- add yourself to the rvm group!   I install single-user on my dev machine(s), but on my servers I always install system-wide and use a bundle deployment for my apps.  
Similar Questions
+1 vote

I am using ruby 1.9.3p194 and rubygems-2.1.7 on Ubuntu 12.0. Getting the below error when trying to install Rails using rubyGems.

gem install rails --include-dependencies
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies
+1 vote

Is it possible to run Ruby and Rails on Mac OS X off of a local folder (without local or system install using RVM, Homebrew, etc.)

Similar to the way one can copy/paste Java installation directory and just run off of it with no dependencies, I'd like to do the same with Ruby/Rails.

The goal is to be able to connect a USB drive to someone's Mac OS X, open terminal, and demo an application (execute "rails server" from the mounted USB drive) without having to install/compile anything.

+1 vote

We recently looked at mongoDB a bit. I was discussing using mongoDB with active record but was told that maybe there are other or better options. Can someone comment on that ?

Also, someone suggested storing a ruby array directly inside of a record where I would have opted for the array to be a separate set of records in active record using has_many and belongs_to .. It seemed to me that how I search on those child records would be a big factor but I soon realized I need to find out what are the options. Do people store arrays and hashes directly in mongo DB fields or is that not the best way to go ?

+1 vote

User when creating a post in blog adds voting, specifies items for voting, while others can vote and see the results.

Maybe who have this in projects and can me show code, how you implement in your project. Or explain me, how can I do it?

...