How can I specify a local gem in my Gemfile?
I’d like Bundler to load a local gem. Is there an option for that? Or do I have to move the gem folder into the .bundle directory? 6 Answers 6
I’d like Bundler to load a local gem. Is there an option for that? Or do I have to move the gem folder into the .bundle directory? 6 Answers 6
How can I downgrade Cocoapods to an older version, or how can I install an older version of Cocoapods? 8 Answers 8
I would like to install gem from the latest GitHub source. How do I do this? 11 Answers 11 Try the specific_install gem it allows you you to install a gem from its github repository (like ‘edge’), or from an arbitrary URL. Very usefull for forking gems and hacking on them on multiple machines and … Read more
For context, it on a remote server which has a firewall. I’m setting up my environment through a proxy. I have ruby 1.8.7. When I try to gem install.. sudo gem install –http-proxy <host address>:<port> json I get the following error: Building native extensions. This could take a while… ERROR: Error installing json: ERROR: Failed … Read more
I am having some problems when trying to install mysql2 gem for Rails. When I try to install it by running bundle install or gem install mysql2 it gives me the following error: Error installing mysql2: ERROR: Failed to build gem native extension. How can I fix this and successfully install mysql2? 30 s 30 … Read more
I’m trying to install a gem using gem install mygem or update RubyGems using gem update –system, and it fails with this error: ERROR: While executing gem … (Gem::FilePermissionError) You don’t have write permissions for the /Library/Ruby/Gems/2.0.0 directory. Does anyone have an idea how to solve this? 30 s 30 Try adding –user-install instead of … Read more
How can I remove RVM (Ruby Version Manager) from my system? 13 s 13 There’s a simple command built-in that will pull it: rvm implode This will remove the rvm/ directory and all the rubies built within it. In order to remove the final trace of rvm, you need to remove the rvm gem, too, … Read more
Using the command-line gem tool, how can I install a specific version of a gem? 7 s 7 Use the -v flag: $ gem install fog -v 1.8
I don’t use the RI or RDoc output from the gems I install in my machine or in the servers I handle (I use other means of documentation). Every gem I install installs RI and RDoc documentation by default, because I forget to set –no-ri –no-rdoc. Is there a way to make those two flags … Read more