Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions truffle/src/main/ruby/core/rbconfig.rb
Original file line number Diff line number Diff line change
@@ -22,6 +22,8 @@ module RbConfig
'host_cpu' => Truffle::System.host_cpu,
'bindir' => bindir,
'libdir' => "#{jruby_home}/lib/ruby/truffle",
"sitelibdir"=>"#{jruby_home}/lib/ruby/2.3/site_ruby", # TODO BJF Oct 21, 2016 Need to review these values
"sitearchdir"=>"#{jruby_home}/lib/ruby/2.3/site_ruby",
'ruby_install_name' => 'jruby-truffle',
'RUBY_INSTALL_NAME' => 'jruby-truffle',
# 'ruby_install_name' => 'jruby',

2 comments on commit 96d96a0

@bjfish
Copy link
Contributor

@bjfish bjfish commented on 96d96a0 Oct 21, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've used the jruby values for these configs for now. This allows running -S gem environment

@eregon
Copy link
Member

@eregon eregon commented on 96d96a0 Oct 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interestingly these directories don't exist, even on jruby.

Please sign in to comment.