twang817 / rubyenv Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Please, add verbosity flag to the command executed - otherwise, the tool seems to be hanging while actually installing the Ruby.
Here:
Line 185 in d4dc1f8
Should be:
os.system('%s %s %s -v' % (ruby_build, ns.version, get_virtualenv_dir()))
Python 3 is not compatible. Thank you for your improvement.
Installing 2.6.2 hangs on Installing ruby-2.6.2...
$ rubyenv install 2.6.2
Downloading ruby-2.6.2.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.2.tar.bz2
Installing ruby-2.6.2...
My uninstalling the linuxbrew-wrapper
package helped me fix the problem.
I think what is happening is that, for whatever reason, linuxbrew
is invoked when it is found in the PATH, but if the user has never run linuxbrew
before (ie the .linuxbrew directory does not exist in HOME), then linuxbrew asks a question and expects an answer on STDIN. Since rubyenv does not echo anything to the end-user beyond Installing ruby-...
, the user has no idea that something is asked of him, will wait, and eventually cancel the command.
With python 2.7 virtualenv
$ rubyenv install --prebuilt
Could not install prebuilt binary 'function' object has no attribute 'urlunparse'
Traceback (most recent call last):
File "/home/lestephane/.virtualenvs/rubyenvtest/local/lib/python2.7/site-packages/rubyenv/app.py", line 162, in install
resp = urlopen(urlparse.urlunparse(url))
AttributeError: 'function' object has no attribute 'urlunparse'
with python 3.7 virtualenv
$ rubyenv install --prebuilt
Could not install prebuilt binary a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "/home/lestephane/.virtualenvs/testy/lib/python3.7/site-packages/rubyenv/app.py", line 147, in install
for ver, url in sorted(_get_prebuilt_list(), key=lambda v_u: _get_numerical_version(v_u[0])):
File "/home/lestephane/.virtualenvs/testy/lib/python3.7/site-packages/rubyenv/app.py", line 102, in _get_prebuilt_list
path = url.path.split('/')
TypeError: a bytes-like object is required, not 'str'
When running rubyenv
, python complain about past
missing
Traceback (most recent call last):
File "/home/ikus060/workspace/PDSL/cmdb.git/.tox/bootstrapemail/bin/rubyenv", line 5, in <module>
from rubyenv import main
File "/home/ikus060/workspace/PDSL/cmdb.git/.tox/bootstrapemail/lib/python3.9/site-packages/rubyenv/__init__.py", line 8, in <module>
from .app import main
File "/home/ikus060/workspace/PDSL/cmdb.git/.tox/bootstrapemail/lib/python3.9/site-packages/rubyenv/app.py", line 13, in <module>
from past.builtins import basestring
ModuleNotFoundError: No module named 'past'
In a freshly created Python v3.7.3 virtualenv where I installed rubyenv using
pip install rubyenv
When running
rubyenv install 2.4.2
I get the following error
Traceback (most recent call last):
File ".../.virtualenvs/.../bin/rubyenv", line 6, in <module>
from rubyenv import main
File ".../.virtualenvs/.../lib/python3.7/site-packages/rubyenv/__init__.py", line 1, in <module>
import six
ModuleNotFoundError: No module named 'six'
Expected behaviour: pip install rubyenv
should result in six
being installed since it is required.
Suspected problem: the rubyenv package does not list six
as a dependency / requirement even though it imports it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.