63 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
28
views
Does Emacs/Elisp provide a way to automatically add an elisp standalone program directory to load-path?
Python automatically adds the directory of a launched program to sys.path, making other modules in the said directory's arborescence discoverable by the interpreter.
Is there a similar mechanism in ...
1
vote
0
answers
174
views
Rails system tests unable to load a lib file required in a model, file loads fine in development, how can I fix this?
(From chapter 14 in 'Agile Web Development with Rails 6')
I am trying to run a system test which touches a model which requires a file from the /lib directory. The file loads fine and the code works ...
4
votes
1
answer
816
views
julia not finding "standard" packages (or LOAD_PATH)?
Upgraded [from 1.5.3] to Julia 1.6.3 on Ubuntu 20.04 [Windwos 10 WSL2] info: building from julia github repo and not via apt
My local clone resides on the Windows filesystem and I navigated there with ...
3
votes
1
answer
1k
views
Julia: JULIA_LOAD_PATH not defined when trying to set value
I am trying to set the JULIA_LOAD_PATH as already discussed here Github issue and Julia Docu.
I try to run
JULIA_LOAD_PATH= "/mypath/bla:$JULIA_LOAD_PATH"
in a julia-session, but get the ...
0
votes
1
answer
70
views
Load path ivy-* match any series number
I customize load-path for Ivy using a package suffix of -0.13.1:
(add-to-list 'load-path "~/.zeroemacs/elpa/ivy-0.13.1/")
However, when the ivy package upgraded to 0.14.1, I had to manually ...
0
votes
1
answer
603
views
How to use I18n in a Rails' helper via a frozen class string
My Helper..
module WatableHelper
# binding.pry
ANALYTICS_MEMBERS_FORMAT_COLS = {
email: {
index: 1,
type: 'string',
friendly: I18n.t('system_roles.email'),
...
1
vote
1
answer
4k
views
Understanding jinja2.Packageloader()
I have a (mostly working) python3 program using mkepub.
Since I need to modify it for my specific purposes I started pulling it into my directory tree (I will send a Pull Request when I'm done since ...
2
votes
1
answer
221
views
How to mask an already installed Emacs package?
I am using Emacs 24 in an work environment where I cannot modify what are outside of my personal folder.
I want to install a particular package, but there is already an older version of this package ...
2
votes
2
answers
2k
views
how to distribute a ruby script via homebrew
How can I deploy a simple ruby script via homebrew?
Here's what I tried
Wrote formula in a GitHub repo named homebrew-foo
# file https://github.com/foo/homebrew-foo/blob/master/foo.rb
class Foo <...
2
votes
1
answer
1k
views
How do I use a module defined in lib/ folder of Phoenix project?
I've created a Module inside the lib/, more specifically lib/my_namespace/test_module.exs.
This is all that is defined within it:
defmodule MyNamespace.TestModule do
def test do
"This is a ...
2
votes
1
answer
3k
views
How to configure RSpec to find specs in lib folder?
I am creating a little API with Rails 5.0 following this tutorial http://apionrails.icalialabs.com/book/frontmatter
I am trying to run a test located in app/config/lib but RSpec won't find the test.
...
1
vote
2
answers
2k
views
Emacs initialization and load-path
I need some help understanding Emacs initialization and load-path variable construction.
So, there is the init file .emacs (or .emacs.d/init.el) file in $HOME, that is loaded first, and at the point ...
2
votes
1
answer
2k
views
How does the emacs load the package?
I'm always curious about the loading process of the package in Emacs. You know, Some packages are builtin packages, and some are third-party packages.
For example, you can install the "auto-complete" ...
1
vote
0
answers
41
views
Loading files from a different partition
I'm working at C:\(...)\Desktop, and I need to require my scripts at G:\scripts. I tried to change the $LOAD_PATH:
$LOAD_PATH << 'G:\\scripts'
require 'filename'
and also the argument of ...
10
votes
1
answer
6k
views
gulp-sass work around for load_path support?
Problem:
I'm using gulp-sass and would like to define a load_path so that I don't have to have really long @import rules voor bower dependencies e.g.
@import "normalize"
instead of
@import "../../.....