Difference between revisions of "Gemfile"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
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 | ||
− | + | 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 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
), runbundle install
(and ignore the warnings about running it from root).
- add the line