jneen / ry Goto Github PK
View Code? Open in Web Editor NEWThe simplest ruby version manager
License: MIT License
The simplest ruby version manager
License: MIT License
> ry use mri-1.9.3
/home/meh/bin/ry: line 14: /dev/stderr: Permission denied
Using >&2
instead of >/dev/stderr
in abort
fixes it. Don't know why it's happening though.
I'm thinking this is a ry issue, but I am not 100% sure.
I tried to install thin
and got an error:
$ gem install thin
Fetching: eventmachine-0.12.10.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing thin:
ERROR: Failed to build gem native extension.
/home/trans/.local/lib/ry/rubies/1.9.3-p194/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... yes
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... yes
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for epoll_create() in sys/epoll.h... yes
creating Makefile
make
compiling emwin.cpp
make: g++: Command not found
make: *** [emwin.o] Error 127
It can't find the ruby headers.
Hello,
I very much like ry
, but there are a few issues I'd love to see resolved.
For me, rvm is just doing way too much, rbenv has these weird shims, and rbfu seems quite complicated compared to ry.
As @trans mentioned in another ticket, ruby-install is becoming very out-of-date, which makes installation less easier than it should be.
Another issue is the gem binaries for Rubinius are not in PATH, making necessary to ruby -S <binary>
.
So this is just an open question: what are your plans for ry
?
Being in my opinion the only really simple yet working well ruby versions manager, I'd love to see it well maintained.
Currently getting uninitialized constant RUBINIUS_BASE
I just want to let you know that I have used every Ruby version manager out there and they all have given me fits in one form or another. ry is the first one that actually just worked.
Thank you!
Since ry can install from a tarball, instead of depending on ruby-build for convenience, why not just keep an internal map of name and tarball and match against that. It could also have checksum to ensure the right download.
So for instance add a file containing:
1.9.3-p374 944e73eba9ee9e1f2647ff32ec0b14b2 ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2
2.0.0-preview1 47a0f662f0e258aa1c5e429c310861b3 http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-preview1.tar.bz2
...
And use that as a look up table when someone types, e.g.
$ ry install 1.9.3-p374
I bring this up b/c ruby-install is designed with rbenv in mind. Not being an independent project as such, I think it is less then ideal to depend on it. That is why I had started the rb/mkruby project. But today, reading over ry's readme again, it dawned on me that there was this much simpler and more elegant solution!
Can we add an environment variable or configuration option to specify a custom location to install/search for rubies?
I switch between fish and zsh and like to have my rubies in the same location (which is different from ry's)
export R_PREFIX="$HOME/.local"
It should be RY_PREFIX.
Hi,
Any idea how to fix this ?
% export RY_PREFIX="$HOME/.local"
% export PATH="$RY_PREFIX/lib/ry/current/bin:$PATH"
% . "$RY_PREFIX/lib/ry.zsh_completion"
/home/bob/.local/lib/ry.zsh_completion:local:28: commands: can't change type of a special parameter
% zsh --version
zsh 4.3.17 (x86_64-unknown-linux-gnu)
For ZSH completion, see this.
- https://github.com/jneen/ry/blob/master/lib/ry.zsh_completion
seems to be gone ๐ข
Have you looked at chruby by postmodern?
I was wondering what your thoughts are on it and how it compares to ry.
So, I've forked ruby-build and added most of the changes I've been wanting, including stripping out rbenv ties. rb is strictly an independent ruby building tool.
Check it out at: http://github.com/rubyworks/rb
My maintenance plan at this point is just to follow ruby-build and adopt future changes from it as time permits, at least until/if rb takes on a larger life of its own. Currently it uses all the same build scripts. Only the bin is a little bit different in order to support build extensions and default prefix.
I would appreciate help in putting rb through the paces and once panned out, if ry would consider adopting it as it's build backend.
Should support the tarballs found here: http://www.jruby.org/download
BTW, love Ry. Using it in both my MPB for work and iMac at home. There is a problem though when installing Ry via Homebrew the path /usr/local/lib/ry is never created. Looking over the Makefile for manually installing Ry I don't see where it would create the ry directory either. Though I may have missed it. Thus:
runeimp$ ry
2.3.0
runeimp$ ry use 2.3.0
/usr/local/bin/ry: line 42: cd: /usr/local/lib/ry: No such file or directory
This is easily fixed of course with
runeimp$ mkdir -p /usr/local/lib/ry
But this situation should be noted in the docs or the install methods updated to make sure that the required path for this script to work at all exists. ๐ผ
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.