max-mapper / max-mapper/monu

syntax error when using commands

Open
#40 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
1.1k
Forks
69
PR merge metrics
No merged PRs in 30d

Description

I'm trying to use this in a simple

cd ~/Projects/instant-pages && spring rails s

But spring command is not found.
This has something to do with the path.
When I cd into the folder on my computer, rvm does some magic to load the right ruby version, along with the gem commands (spring is a gem)

/Users/amirsharif/.rvm/gems/ruby-2.2.1/bin/bundle

I think some of that magic is in

/Users/amirsharif/.rvm/scripts/cli

But using source /Users/amirsharif/.rvm/scripts/cli makes the shell have a bunch of syntax errors.
But it works fine in my terminal.
My default shell is zsh if that makes a difference.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing cd ~/Projects/instant-pages && spring rails s under zsh and compare it with the working terminal environment. Inspect /Users/amirsharif/.rvm/scripts/cli and the command invocation context; done means the command finds spring without producing shell syntax errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby, zsh
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.