You can clone with
HTTPS or Subversion.
I installed rubinius with rvm. When I try to install a gem, it successfully installs the gems but fails on the ri documentation:
Stuarts-MacBook-Pro:~ stuartnelson3$ rbx gem install sinatra-authentication
Fetching: rufus-tokyo-1.0.7.gem (100%)
Fetching: yajl-ruby-1.1.0.gem (100%)
Building native extensions. This could take a while...
Fetching: sinbook-0.1.9.gem (100%)
Fetching: rack-flash-0.1.2.gem (100%)
Fetching: sinatra-authentication-0.4.1.gem (100%)
Successfully installed rufus-tokyo-1.0.7
Successfully installed yajl-ruby-1.1.0
Successfully installed sinbook-0.1.9
Successfully installed rack-flash-0.1.2
Successfully installed sinatra-authentication-0.4.1
5 gems installed
Installing ri documentation for rufus-tokyo-1.0.7...
Installing ri documentation for yajl-ruby-1.1.0...
Installing ri documentation for sinbook-0.1.9...
Installing ri documentation for rack-flash-0.1.2...
Installing ri documentation for sinatra-authentication-0.4.1...
ERROR: While executing gem ... (ArgumentError)
Missing or uninitialized constant: Encoding
I've tried this on multiple gems and always receive the same ArgumentError. I can get around this issue by doing rbx gem install [whatever-gem-name] --no-ri, but it would be nice if I could get the documentation. Copying over a gemset where all the gems from a different ruby version where all the gems were installed with documentation to rbx works.
rbx gem install [whatever-gem-name] --no-ri
Can you post the output of rbx --version too?
Duplicates #2002. These are encoding issues. I'll fix them shortly.
@stuartnelson3 don't copy gems from other Ruby implementations, especially not C-extension gems. They have to be compiled by Rubinius.
This works for me locally. Could you please check with master HEAD.
using rbx -S gem install [gem-name] has been working for me
rbx -S gem install [gem-name]