Please make all RVM external URL dependencies configurable (if they're not)

29 views
Skip to first unread message

stevenhaddox

unread,
Jan 30, 2013, 1:59:27 PM1/30/13
to rubyversi...@googlegroups.com
I just received a new issue for RVM::FW (https://github.com/stevenhaddox/rvm_fw/issues/14) when we started using one of the more recent versions of RVM (1.17.x when our prior was 1.13). It looks like there's been some hard-coded GitHub URLs to query for RubyGems versions added to the code-base without a way to override that URL. This pretty much kills the ability to have these versions of RVM work properly in a firewalled / LAN environment without external Internet access.

Is there any way we can have any hard-coded URLs be overridden within the existing config file (~/user/db) so that we can avoid outgoing calls that are failing to return an expected version and override it with the version / download URL for rubygems that we have available internally?

Also, if this already exists and we are just missing a step please let us know what we need to add to the ~/user/db file in order to override the URL it's looking for.

Thanks a ton for all your great work. RVM's been a life-save for **years** for many people who also use RVM::FW.

mpapis

unread,
Jan 30, 2013, 2:08:37 PM1/30/13
to rubyversi...@googlegroups.com
the offline process is described here: https://rvm.io/rvm/offline/

stevenhaddox

unread,
Jan 30, 2013, 5:14:51 PM1/30/13
to rubyversi...@googlegroups.com
Thanks! I'll have to investigate and see how hard it is to make this work with RVM::FW. The thing that makes RVM::FW most useful is that it's literally a command to download RVM from the Sinatra app and then another command to update the user/db file to point RVM to the right places to get the rubies packaged in advance. Hopefully this will let us figure out how to keep that simplicity.

-Steven

Dhaval Joshi

unread,
May 3, 2013, 9:48:06 AM5/3/13
to rubyversi...@googlegroups.com
Hey,

Do you find this working ? .. if yes can you suggest how it's achievable ?

I am also trying to remove external site dependency and trying to install rvm from local repos .. using capistratno ..

Regards,
D

Steven Haddox

unread,
May 3, 2013, 9:50:18 AM5/3/13
to rubyversi...@googlegroups.com
Dhaval,

I actually haven't had to try to play with rvm's offline mode yet. RVM::FW (https://github.com/stevenhaddox/rvm_fw) has continued to work just fine thus far using the same approach it's always used. The actual issue I had was just forgetting to update the rubygems version to the proper string so that RVM would ping the correct URL iirc.

Sorry I can't be of more help. I still hope to look into this feature sometime but have a lot on my plate on some other projects right now.

-Steven


--
--
Please visit http://rvm.io/ for documentation on rvm.
Please visit https://www.pivotaltracker.com/projects/26822 to see what is being worked on currently.
 
You received this message because you are subscribed to the Google
Groups "rvm (Ruby Version Manager)" group.
To post to this group, send email to rubyversi...@googlegroups.com
To unsubscribe from this group, send email to
rubyversionmana...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyversionmanager?hl=en
 
---
You received this message because you are subscribed to a topic in the Google Groups "RVM (Ruby Version Manager)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyversionmanager/ViyQO1wqHmE/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to rubyversionmana...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Steven Haddox
http://stevenhaddox.com

mpapis

unread,
May 6, 2013, 11:29:37 PM5/6/13
to rubyversi...@googlegroups.com
it should work from rvm 1.19:

    rvm install 1.9.3 --rubygems 1.8.25

For more options, visit this group at
http://groups.google.com/group/rubyversionmanager?hl=en
 
---
You received this message because you are subscribed to a topic in the Google Groups "RVM (Ruby Version Manager)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyversionmanager/ViyQO1wqHmE/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to rubyversionmanager+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages