Skip to content

How to correctly install dep as gem? #7

@ce-manalang

Description

@ce-manalang

Hi all,

I installed dep using gem install dep.

Machine setup is as follows:

PATH = $HOME/.rubies/2.0.0-p0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
GEM_HOME = $HOME/.rubies/2.0.0-p0/lib/ruby/gems/2.0.0
GEM_PATH = $HOME/.gem/ruby/2.0.0:$HOME/.rubies/2.0.0-p0/lib/ruby/gems/2.0.0

which dep returns $HOME/.rubies/2.0.0-p0/bin/dep

dep is installed in $HOME/.rubies/2.0.0-p0/lib/ruby/gems/2.0.0/gems/dep-1.0.5/bin/dep

When I run dep it returns nothing

I'm thinking it's because of the if condition in line: 149 if __FILE__ == $0
It returns false because __FILE__ = $HOME/.rubies/2.0.0-p0/lib/ruby/gems/2.0.0/gems/dep-1.0.5/bin/dep and $0 = $HOME/.rubies/2.0.0-p0/bin/dep

Did I do something wrong with the installation? What do you guys think?

Thanks in advance!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions