Re: [Rails] Multiple Rails versions, multiple database sources, and mutiple gem versions

63 views
Skip to first unread message
Message has been deleted

Ganesh Ranganathan

unread,
Aug 8, 2015, 11:46:27 PM8/8/15
to rubyonra...@googlegroups.com

Windows has a rvm counterpart called pik. Which lets you switch between multiple ruby versions.

However the best way is to develop on a VM. With large enough RAM and two processor cores assigned to a VM it feels like native development.

Thanks.
Ganesh

Message has been deleted

Ganesh Ranganathan

unread,
Aug 9, 2015, 12:01:40 AM8/9/15
to rubyonra...@googlegroups.com

Yes I mean virtual machines.  To install a VM

First the iso file has to be downloaded from Ubuntu site.
Then VirtualBox software has to be downloaded
While creating a new VM, the iso has to be added in the optical drive section
So after the VM starts, it takes you into Ubuntu installation and the process is pretty easy.
I am sure there are detailed docs on the net for this.

A 60 GB virtual hard disk would suffice for development.

Thanks,
Ganesh

Message has been deleted

Scott Jacobsen

unread,
Aug 9, 2015, 12:18:20 AM8/9/15
to Ruby on Rails: Talk
I would use a different VM for each project, and use Vagrant to manage those VMs. There are lots of resources related to using Vagrant to manage rails dev environments. Here is one good screen cast https://gorails.com/guides/using-vagrant-for-rails-development.
Message has been deleted

Ganesh Ranganathan

unread,
Aug 9, 2015, 3:13:22 AM8/9/15
to rubyonra...@googlegroups.com

In a linux VM you can use rvm.

Rvm supports multiple versions and gemsets. Depending on your GemFile it will pick up the right version.

On Aug 9, 2015 9:40 AM, "Elizabeth McGurty" <emcg...@gmail.com> wrote:
Thanks, thanks... I have VMs on my machine.  But specific to the purpose of differences in matters stated above.  Am I missing some point in using VM toward that purpose?
Liz

--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7c344b04-2252-4d34-8a12-300ece041098%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mario Barcala

unread,
Aug 10, 2015, 10:37:30 AM8/10/15
to rubyonra...@googlegroups.com
https://github.com/sstephenson/rbenv is our friend for similar use
cases in GNU/Linux environment.

Regards,

Mario Barcala

Ganesh Ranganathan escribiu:
> In a linux VM you can use rvm.
>
> Rvm supports multiple versions and gemsets. Depending on your GemFile it
> will pick up the right version.
>
> On Aug 9, 2015 9:40 AM, "Elizabeth McGurty" <[1]emcg...@gmail.com>
> wrote:
>
> Thanks, thanks... I have VMs on my machine.  But specific to the purpose
> of differences in matters stated above.  Am I missing some point in
> using VM toward that purpose?
> Liz
>
> On Sunday, August 9, 2015 at 12:01:40 AM UTC-4, Ganesh Ranganathan
> wrote:
>
> Yes I mean virtual machines.  To install a VM
>
> First the iso file has to be downloaded from Ubuntu site.
> Then VirtualBox software has to be downloaded
> While creating a new VM, the iso has to be added in the optical drive
> section
> So after the VM starts, it takes you into Ubuntu installation and the
> process is pretty easy.
> I am sure there are detailed docs on the net for this.
>
> A 60 GB virtual hard disk would suffice for development.
>
> Thanks,
> Ganesh
>

--
Mario Barcala
CEO at NLPgo
http://www.nlpgo.com
Id de clave GPG: F1C15EB7
Reply all
Reply to author
Forward
Message has been deleted
0 new messages