Difference between revisions of "Gemfile"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
==About==
 +
The <code>[[Gemfile]]</code> file is part of [[Ruby]]'s [[Ruby/gem|Gem package-manager]].
 
==Notes==
 
==Notes==
 
* http://bundler.io/man/gemfile.5.html
 
* http://bundler.io/man/gemfile.5.html

Latest revision as of 17:27, 9 February 2020

About

The Gemfile file is part of Ruby's Gem package-manager.

Notes

It seems to be expected that this file will be edited by hand.

Typically found in /usr/share/<appname>.

example

  • Redmine unaccountably lost its "mysql" gem (would not run), and all I had to do was:
    • add the line gem "mysql" at a basically arbitrary location in the file
    • from Redmine's Gemfile folder (/usr/share/redmine), run bundle install (and ignore the warnings about running it from root).