Question about GEM_PATH on version 1.1.X

15 views
Skip to first unread message

Nick Downs

unread,
Apr 3, 2013, 3:25:11 AM4/3/13
to vagra...@googlegroups.com
Hello, 

I just upgraded to 1.1.5 on Windows and ran into an issue installing Berkshelf-vagrant. The json gem is required and is a native gem so rubygems attempts to build it. There is a json gem that ships with vagrant but the embedded gem path is removed from GEM_PATH when the plugin "with_environment" method is executed. Is it possible to keep the embedded gem_path  inside of the GEM_PATH variable during plugin search and installation so the pre-built gem's can be used for dependency resolution?

Thanks in advance, 
nickd

Mitchell Hashimoto

unread,
Apr 3, 2013, 11:15:15 AM4/3/13
to vagra...@googlegroups.com
Nick,

Interesting, what happens in this case with the removed GEM_PATH? What is the behavior?

Best,
Mitchell


--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Nick Downs

unread,
Apr 3, 2013, 3:47:45 PM4/3/13
to vagra...@googlegroups.com
In the case of berkshelf install, the json gem is attempted to be compiled. I did get this to work by running vagrant under msysGit which was simple enough to install and get working. Having the gem path for the embedded gems would be more of a convenience than anything for my particular situation. 

I'll most likely run into this issue with another native gem down the line so it isn't a huge deal. I'll have to handle the build requirements eventually.


--
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/mLYC9c5_q0Q/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages