Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
RVM
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gethernm  
View profile  
 More options Oct 24 2011, 2:17 pm
From: Gethernm <gethe...@gmail.com>
Date: Mon, 24 Oct 2011 11:17:39 -0700 (PDT)
Local: Mon, Oct 24 2011 2:17 pm
Subject: RVM
I wanted to know if i should use RVM? I have been using rails more and
more and more now and am looking to keep ruby and ruby gems better
together. Is it worth using RVM? And what does it acually do other
then able me to swtich between ruby 1.8 and 1.9?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Vandenabeele  
View profile  
 More options Oct 25 2011, 3:49 am
From: Peter Vandenabeele <pe...@vandenabeele.com>
Date: Tue, 25 Oct 2011 09:49:46 +0200
Local: Tues, Oct 25 2011 3:49 am
Subject: Re: [Rails] RVM

On Mon, Oct 24, 2011 at 8:17 PM, Gethernm <gethe...@gmail.com> wrote:
> I wanted to know if i should use RVM?

Yes.

> I have been using rails more and
> more and more now and am looking to keep ruby and ruby gems better
> together. Is it worth using RVM? And what does it acually do other
> then able me to swtich between ruby 1.8 and 1.9?

2 important  things it does for me are:

1) I make a gemset for every new project or testing with a new Rails version
etc.

So every time, I have a new, clean gem environment (example below)

2) it allows me to install multiple ruby versions, in my _local_ home
directory, without
worrying about the version that could be (or maybe not, I don't care)
installed by root
in the central /usr/.. directories.

HTH,

Peter

##################

Example of using rvm gemset : with a new gemset it is really easy to
bootstrap a new Rails
project, without interfering with the existing ones.

<code>
peterv@ASUS:~/data/temp$ rvm use 1.9.3
Using /home/peterv/.rvm/gems/ruby-1.9.3-rc1

peterv@ASUS:~/data/temp$ rvm gemset list

gemsets for ruby-1.9.3-rc1 (found in /home/peterv/.rvm/gems/ruby-1.9.3-rc1)
   contact_app
   global

peterv@ASUS:~/data/temp$ rvm gemset create fancy
'fancy' gemset created (/home/peterv/.rvm/gems/ruby-1.9.3-rc1@fancy).

peterv@ASUS:~/data/temp$ rvm use 1.9.3@fancy
Using /home/peterv/.rvm/gems/ruby-1.9.3-rc1 with gemset fancy

peterv@ASUS:~/data/temp$ gem list

*** LOCAL GEMS ***

rake (0.9.2)

peterv@ASUS:~/data/temp$ gem install bundler
Fetching: bundler-1.0.21.gem (100%)
Successfully installed bundler-1.0.21
1 gem installed

peterv@ASUS:~/data/temp$ gem install rails
Fetching: multi_json-1.0.3.gem (100%)
...
Successfully installed rails-3.1.1
29 gems installed

peterv@ASUS:~/data/temp$ rails new fancy --skip-bundle -d postgresql -T
      create
...
      create  vendor/plugins/.gitkeep

peterv@ASUS:~/data/temp$ cd fancy

peterv@ASUS:~/data/temp/fancy$ echo "gem 'therubyracer'" >> Gemfile

peterv@ASUS:~/data/temp/fancy$ bundle install
Fetching source index for http://rubygems.org/
Installing rake (0.9.2.2)
Using multi_json (1.0.3)
...
Installing uglifier (1.0.4)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled
gem is installed.

peterv@ASUS:~/data/temp/fancy$ vim config/database.yml

peterv@ASUS:~/data/temp/fancy$ rake db:create # will create
fancy_development and fancy_test databases

peterv@ASUS:~/data/temp/fancy$ rake environment # this should return without
errors
</code>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter De Berdt  
View profile  
 More options Oct 25 2011, 6:40 am
From: Peter De Berdt <peter.de.be...@pandora.be>
Date: Tue, 25 Oct 2011 12:40:36 +0200
Local: Tues, Oct 25 2011 6:40 am
Subject: Re: [Rails] RVM

On 25 Oct 2011, at 09:49, Peter Vandenabeele wrote:

You can even streamline this a bit more by putting a .rvmrc file in  
your project folder:

/myproject/.rvmrc

rvm_gemset_create_on_use_flag=1
rvm use <rubyversion>@<gemsetname>

RVM will automatically switch to the proper gemset and ruby version as  
you "cd" into the project folder (or out of it). There's a lot more  
options available in the documentation.

http://beginrescueend.com/workflow/rvmrc/

Best regards

Peter De Berdt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jesse Cravens  
View profile  
 More options Oct 25 2011, 9:40 am
From: Jesse Cravens <jesse.crav...@gmail.com>
Date: Tue, 25 Oct 2011 08:40:24 -0500
Local: Tues, Oct 25 2011 9:40 am
Subject: Re: [Rails] RVM

This may help:
http://jessecravens.com/09262011/rvm-ruby-version-manager-and-ruby-rails

--
Jesse Cravens
jessecravens.com
m. 210.392.1542

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brandon Black  
View profile  
 More options Oct 28 2011, 7:46 pm
From: Brandon Black <brandonmbl...@gmail.com>
Date: Fri, 28 Oct 2011 16:46:18 -0700 (PDT)
Local: Fri, Oct 28 2011 7:46 pm
Subject: Re: RVM
Yes. +1 on everything peter said.
RVM will make your life a lot easier and it helps you manage multiple
projects much better.

Also... you don't have to sudo all the time when you're using RVM.

On Oct 24, 11:17 am, Gethernm <gethe...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BeeRich  
View profile  
 More options Oct 28 2011, 7:49 pm
From: BeeRich <beer...@gmail.com>
Date: Fri, 28 Oct 2011 19:49:05 -0400
Local: Fri, Oct 28 2011 7:49 pm
Subject: Re: [Rails] Re: RVM
RVM +1.  C'est le fun.  

Easy site, pretty straight forward.  

On 2011-10-28, at 7:46 PM, Brandon Black wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Everaldo Gomes  
View profile  
 More options Oct 28 2011, 7:53 pm
From: Everaldo Gomes <everaldo.go...@gmail.com>
Date: Fri, 28 Oct 2011 21:53:28 -0200
Local: Fri, Oct 28 2011 7:53 pm
Subject: Re: [Rails] Re: RVM

Hi!

I like RVM, but after watching this Railscasts I saw that we have another
good alternatives:

http://railscasts.com/episodes/292-virtual-machines-with-vagrant


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jazmin  
View profile  
 More options Oct 28 2011, 8:16 pm
From: Jazmin <jazminschroe...@gmail.com>
Date: Fri, 28 Oct 2011 19:16:38 -0500
Local: Fri, Oct 28 2011 8:16 pm
Subject: Re: [Rails] Re: RVM

YES YOU SHOULD, it will save you a lot of headaches and it
is  the preferred way to install ruby nowadays

On Fri, Oct 28, 2011 at 6:46 PM, Brandon Black <brandonmbl...@gmail.com>wrote:

--
Jazmin

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter De Berdt  
View profile  
 More options Oct 29 2011, 9:32 am
From: Peter De Berdt <peter.de.be...@pandora.be>
Date: Sat, 29 Oct 2011 15:32:40 +0200
Local: Sat, Oct 29 2011 9:32 am
Subject: Re: [Rails] Re: RVM

On 29 Oct 2011, at 01:53, Everaldo Gomes wrote:

> I like RVM, but after watching this Railscasts I saw that we have  
> another good alternatives:

> http://railscasts.com/episodes/292-virtual-machines-with-vagrant

Vagrant is really nice, but I see it more as a solution to test your  
production environment locally than to manage gems or ruby versions.

Those VM images can be quite big, but are great to use as a staging  
server to make sure your production server will be able to run your  
Rails app (or an update) without any problems. Setting up your  
production environment on a virtual machine (a staging server if you  
want to call it that way) is great, especially combined with Chef. You  
can be fairly certain that your production server won't go down  
because of some incompatibility or different/lacking dependencies  
between your e.g. OS X machine and your Ubuntu production server.

Best regards

Peter De Berdt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
radhames brito  
View profile  
 More options Oct 30 2011, 9:42 am
From: radhames brito <rbri...@gmail.com>
Date: Sun, 30 Oct 2011 09:42:12 -0400
Local: Sun, Oct 30 2011 9:42 am
Subject: Re: [Rails] Re: RVM

On Sat, Oct 29, 2011 at 9:32 AM, Peter De Berdt
<peter.de.be...@pandora.be>wrote:

> On 29 Oct 2011, at 01:53, Everaldo Gomes wrote:

> I like RVM, but after watching this Railscasts I saw that we have another
> good alternatives:

> http://railscasts.com/episodes/292-virtual-machines-with-vagrant

> Vagrant is really nice, but I see it more as a solution to test your
> production environment locally than to manage gems or ruby versions.

He is not talking about Vagrant , he is talking about
rbenv<https://github.com/sstephenson/rbenv>which is mentioned in the
episode

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »