Coder Social home page Coder Social logo

Comments (9)

zachgoll avatar zachgoll commented on June 19, 2024 1

Great, I've updated the Wiki with the Git installation method:

https://github.com/maybe-finance/maybe/wiki/Windows-Dev-Setup-Guide

from maybe.

HeavySnowJakarta avatar HeavySnowJakarta commented on June 19, 2024

By changing the content from sudo apt install rbenv to

Installing `rbenv` via `apt` is not recommended as the version provided by `apt` is too slow. Instead, you had better install it by cloning the Git repository.
\```bash
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
\```

Let `rbenv` be automatically configured every time the system starts:
\```bash
echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc
\```

Then install the `ruby-build` plugin:
\```bash
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
\```

Then it'll be rbenv install 3.3.0 and the following things, by doing which version 3.3.0 is not available and similar confusing problems can be simply prevented.

I have no permission to edit the wiki myself.

from maybe.

HeavySnowJakarta avatar HeavySnowJakarta commented on June 19, 2024

THE SAME FOR Linux Setup Guide

from maybe.

zachgoll avatar zachgoll commented on June 19, 2024

@HeavySnowJakarta did this command (mentioned in the Wiki) not work properly?

cd "$(rbenv root)"/plugins/ruby-build && git pull

After installing rbenv, that command should pull in ruby-build and make 3.3.0 available for install.

from maybe.

HeavySnowJakarta avatar HeavySnowJakarta commented on June 19, 2024

@HeavySnowJakarta did this command (mentioned in the Wiki) not work properly?

cd "$(rbenv root)"/plugins/ruby-build && git pull

After installing rbenv, that command should pull in ruby-build and make 3.3.0 available for install.

Not working for me. Confusingly ~/.rbenv/ is empty after apt install rbenv for me but rbenv is actually installed.

from maybe.

zachgoll avatar zachgoll commented on June 19, 2024

@HeavySnowJakarta did this command (mentioned in the Wiki) not work properly?

cd "$(rbenv root)"/plugins/ruby-build && git pull

After installing rbenv, that command should pull in ruby-build and make 3.3.0 available for install.

Not working for me. Confusingly ~/.rbenv/ is empty after apt install rbenv for me but rbenv is actually installed.

Which step are you failing at? Can you provide some detailed screenshots and/or terminal output?

from maybe.

HeavySnowJakarta avatar HeavySnowJakarta commented on June 19, 2024

When cd "$(rbenv root)"/plugins/ruby-build && git pull, it outputs ~/.rbenv/plugins/ruby-build: No such file or directory, actually the whole ~/.rbenv/ does not exist. I tried to clone ruby-build into ~/.rbenv/plugins, but it still can not find the proper version of Ruby at ~/.rbenv/bin because it does not exist at all.

from maybe.

zachgoll avatar zachgoll commented on June 19, 2024

@HeavySnowJakarta can you try installing with Git instead?

https://github.com/rbenv/rbenv?tab=readme-ov-file#basic-git-checkout

from maybe.

djsiddz avatar djsiddz commented on June 19, 2024

When cd "$(rbenv root)"/plugins/ruby-build && git pull, it outputs ~/.rbenv/plugins/ruby-build: No such file or directory, actually the whole ~/.rbenv/ does not exist. I tried to clone ruby-build into ~/.rbenv/plugins, but it still can not find the proper version of Ruby at ~/.rbenv/bin because it does not exist at all.

I can confirm this behaviour. I just finished setting up maybe on my Windows WSL. I figured the ruby-build repo needs to exist at that path, so I created the folder plugins and cloned ruby-build there for the path to exist.

Then I got the updated list with rbenv install --list which allowed installing Ruby v3.3.0 and finish setting up maybe and have it running.

I think it makes sense to set up rbenv from their repo as suggested by @HeavySnowJakarta and rbenv themself and make the local setup smooth.

from maybe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.