Not loading environment correctly #357
ttunguz
started this conversation in
Debugging and testing
Replies: 4 comments 3 replies
-
I found it was idiosyncratic to my environment. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
-
I still need help! I'm using the command to call a ruby script.
Importing the system gems works fine but requiring something like nokogiri
gem throws an error that the environment can't find it. I double checked
the path & it includes the path to the gems. I don't know what to do.
…On Mon, Jun 26, 2023 at 11:48 AM Jarkko Linnanvirta < ***@***.***> wrote:
Hi! 🙂 So you got it working? Or need still help? 🙂
—
Reply to this email directly, view it on GitHub
<#357 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADP6ZVWJLDNP3JA247EFJDXNGVLZANCNFSM6AAAAAAZTTC64Y>
.
You are receiving this because you authored the thread.Message ID:
<Taitava/obsidian-shellcommands/repo-discussions/357/comments/6283747@
github.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
steps to reproduce :
0. install ruby, & the gem nokogiri via gem install nokogiri
1. create a ruby script called test.rb
<<<
require 'nokogiri'
require 'date'
p 'this is a test'
<<<<
2. call the script from obsidian
3. see the error message that nokogiri could not be found
…On Mon, Jun 26, 2023 at 5:55 PM Tom Tunguz ***@***.***> wrote:
I still need help! I'm using the command to call a ruby script.
Importing the system gems works fine but requiring something like nokogiri
gem throws an error that the environment can't find it. I double checked
the path & it includes the path to the gems. I don't know what to do.
On Mon, Jun 26, 2023 at 11:48 AM Jarkko Linnanvirta <
***@***.***> wrote:
> Hi! 🙂 So you got it working? Or need still help? 🙂
>
> —
> Reply to this email directly, view it on GitHub
> <#357 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AADP6ZVWJLDNP3JA247EFJDXNGVLZANCNFSM6AAAAAAZTTC64Y>
> .
> You are receiving this because you authored the thread.Message ID:
> <Taitava/obsidian-shellcommands/repo-discussions/357/comments/6283747@
> github.com>
>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Thank you. I rearchitected this to solve the environment variable problems by moving it to a cloud service.
I appreciate your help!
…On 2023-06-27, Jarkko Linnanvirta wrote:
If you still encounter problems, please include a screenshot of the error message, so that I can see the exact error message and the situation it occurs in. 👍
--
Reply to this email directly or view it on GitHub:
#357 (reply in thread)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
--
Tom Tunguz
tomtunguz.com
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm using this great extension to pass a url to a ruby script which will then modify the contents of the page by calling a few different functions.
My challenge is that despite having all the ruby libraries in the path (I've created another script which echoes the Path, & it's consistent with my development environment), when I run the code, I receive a cannot load such file in the browser.
Is shellcommands instantiating a full terminal environment in the background? Could you foresee any reason why a library wouldn't be visible to this environment? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions