Boopathi Rajaa wrote in post #1113443:
> I compiled Ruby from source, and installed it to /opt/ruby/ .
> The purpose is to have two versions of Ruby 1.9 and Ruby 1.8 ... Certain
> users can use 1.9
>
> After creating a rails app (rails new app) , When a script performs
> `bundle
> install`, the gems are trying to get installed in /opt/ruby/.
> How to configure it to install it in user_home directory ?
>
> I don't want to use the solution, where I install the gems as the root
> user
> to the ruby bin directory.

Are you not able to use one of the Ruby version managers?

https://github.com/sstephenson/rbenv
or
https://rvm.io

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/599e4eb562554a750dd1d79ab1070756%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to