You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the custom command to serve a jekyll site; however, it seems like I can't use any apps or commands from that context; maybe I'm misunderstanding how this should be used?
But for example, if I use a custom command of cd ~/Projects/elementary/blog; bundle exec jekyll serve I get a bunch of issues:
First of all, I get Failed to execute child process “cd” (No such file or directory) which is unexpected.
If I try to just run bundle exec jekyll serve on its own (while testing things), I similarly get Failed to execute child process “bundle” (No such file or directory).
If I point to the exact path of bundle, e.g. /home/cassidyjames/.gems/bin/bundle exec jekyll serve, I get an exception that the gem can't be found (which is not the case when running the exact same command from Terminal).
Am I using this custom command wrong? How would you recommend someone do something like serve a jekyll site with Workspaces?
Using Workspaces 3.1.0 from AppCenter.
The text was updated successfully, but these errors were encountered:
The custom command was thought for something simple app + flags etc like screenshot -c -x or whatever.
But you are already thew second person asking for a more complex thing.
For what you want to do we baiscally need to set a directory where to launch a command. (we could do this workspace wise?)
Then there should be a way to load your .bashrc file I guess for aliases and everything.
What I suggest you for the moment is create an alias on your bashrc file to execute that command.
Then in your custom command you can type something like this: bash -i -c 'my-alias'
The custom command was thought for something simple app + flags etc like screenshot -c -x or whatever.
Hi @DevAlien ,
Issue is that simple commands are not working either. cd /home is not a complex command, and yet it fails with Failed to execute child process “cd” (No such file or directory)
Am I missing something?
I'm trying to use the custom command to serve a jekyll site; however, it seems like I can't use any apps or commands from that context; maybe I'm misunderstanding how this should be used?
But for example, if I use a custom command of
cd ~/Projects/elementary/blog; bundle exec jekyll serve
I get a bunch of issues:First of all, I get
Failed to execute child process “cd” (No such file or directory)
which is unexpected.If I try to just run
bundle exec jekyll serve
on its own (while testing things), I similarly getFailed to execute child process “bundle” (No such file or directory)
.If I point to the exact path of bundle, e.g.
/home/cassidyjames/.gems/bin/bundle exec jekyll serve
, I get an exception that the gem can't be found (which is not the case when running the exact same command from Terminal).Am I using this custom command wrong? How would you recommend someone do something like serve a jekyll site with Workspaces?
Using Workspaces 3.1.0 from AppCenter.
The text was updated successfully, but these errors were encountered: