Forum: Ruby on Rails Multiple Rails versions, multiple database sources, and mutiple gem versions

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
75caea9632dfb35b8259dd6e4e4772c6?d=identicon&s=25 Elizabeth McGurty (Guest)
on 2015-08-09 05:00
(Received via mailing list)
Dear All,

I am doing volunteer work for numerous groups using different Rails
versions, different Ruby versions, different database sources, and
different gem versions.  Everything was going fine, working in Windows 7
with Aptana 3 Studio, and more often at rails console.  But for some
reason
I am getting errors that I have never seen before involving threads,
etc.
I am not seeking solutions to those errors, what I am seeking is tried
and
true suggestions as to what my development environment should be.  Going
to
the MAC is not possible due to expense.  I am willing to partition my
drive
for Linux/UNIX, but I would need very detailed guidance.

Otherwise is there an authoritative source out there that will allow me
to
build scenarios of Rails/Ruby components and learn what would be
required
in each?

Sincerely,

Elizabeth
61b2cb27fe3d25f42ecc0364c33420f8?d=identicon&s=25 Ganesh Ranganathan (Guest)
on 2015-08-09 05:47
(Received via mailing list)
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
75caea9632dfb35b8259dd6e4e4772c6?d=identicon&s=25 Elizabeth McGurty (Guest)
on 2015-08-09 05:55
(Received via mailing list)
Ganesh Ranganathan,

Thanks, pik is definitely new to me.  I will investigate...  And VM, you
mean Virtual Machine.  Familiar with VMs.  Could you further elaborate
as
to implementation?

Otherwise, very grateful..

Liz
61b2cb27fe3d25f42ecc0364c33420f8?d=identicon&s=25 Ganesh Ranganathan (Guest)
on 2015-08-09 06:02
(Received via mailing list)
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
75caea9632dfb35b8259dd6e4e4772c6?d=identicon&s=25 Elizabeth McGurty (Guest)
on 2015-08-09 06:10
(Received via mailing list)
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
2b5a2a06d400bab9b28da10fde90accf?d=identicon&s=25 Scott Jacobsen (Guest)
on 2015-08-09 06:19
(Received via mailing list)
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....
75caea9632dfb35b8259dd6e4e4772c6?d=identicon&s=25 Elizabeth McGurty (Guest)
on 2015-08-09 06:27
(Received via mailing list)
Late here, so I can't write at length... But thanks... Will
investigate....
61b2cb27fe3d25f42ecc0364c33420f8?d=identicon&s=25 Ganesh Ranganathan (Guest)
on 2015-08-09 09:14
(Received via mailing list)
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.
E9b1a43598f819444e69f0ff5f8b237c?d=identicon&s=25 Mario Barcala (Guest)
on 2015-08-10 16:38
(Received via mailing list)
https://github.com/sstephenson/rbenv is our friend for similar use
cases in GNU/Linux environment.

Regards,

  Mario Barcala

Ganesh Ranganathan escribiu:
>      using VM toward that purpose?
>        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
75caea9632dfb35b8259dd6e4e4772c6?d=identicon&s=25 Elizabeth McGurty (Guest)
on 2015-08-11 17:12
(Received via mailing list)
Dear All,

I just wanted to offer thanks to all for your suggestions.  So grateful
to
all.   Will let you know the outcome in my effort.

Liz
This topic is locked and can not be replied to.