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, search
 
Line 2: Line 2:
 
* http://bundler.io/man/gemfile.5.html
 
* http://bundler.io/man/gemfile.5.html
  
Tentatively, it's ok to edit this file by hand.
+
It seems to be expected that this file will be edited by hand.
  
 
Typically found in <code>/usr/share/{{arg|appname}}</code>.
 
Typically found in <code>/usr/share/{{arg|appname}}</code>.
 +
===example===
 +
* Redmine unaccountably lost its "mysql" gem (would not run), and all I had to do was:
 +
** add the line <code>gem "mysql"</code> at a basically arbitrary location in the file
 +
** from Redmine's Gemfile folder (<code>/usr/share/redmine</code>), run <code>bundle install</code> (and ignore the warnings about running it from root).

Latest revision as of 12:45, 4 December 2019

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).