Giter VIP home page Giter VIP logo

ry's People

Contributors

ddazza avatar eregon avatar jneen avatar perlguy avatar robin850 avatar semmons99 avatar shanepelletier avatar zhm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ry's Issues

Can't install native extension

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.

Is ry still active?

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.

Kudos

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!

Independent install

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!

Custom rubies location

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)

zsh can't change type of a special parameter

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)

Thoughts on chruby?

Have you looked at chruby by postmodern?

I was wondering what your thoughts are on it and how it compares to ry.

rb

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.

Bad Ry Path

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. ๐Ÿ‘ผ

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.