Difference between revisions of "Gemfile"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* http://bundler.io/man/gemfile.5.html | * http://bundler.io/man/gemfile.5.html | ||
− | + | 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). |
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
), runbundle install
(and ignore the warnings about running it from root).
- add the line