Bug 23678 - standard ruby libs not available in IronRuby shipped with Mono MDK Package
Summary: standard ruby libs not available in IronRuby shipped with Mono MDK Package
Status: NEW
Alias: None
Product: Installers
Classification: Mono
Component: macOS Installer ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Alexis Christoforides
URL:
Depends on:
Blocks:
 
Reported: 2014-10-08 02:42 UTC by yingshen.yu
Modified: 2017-08-31 15:57 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 23678 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description yingshen.yu 2014-10-08 02:42:56 UTC
Hi, 

I'm using Mono on Mac, and recently I am looking in using IronRuby with Mono.

In Mono MDK 3.10.0 (and all older versions), I found it already included the IronRuby interpreter.
But it seems not including any ruby standard libraries. Could you advise how it should be used?

For example: 'pathname' is a standard ruby lib.

IronRuby 1.1.4.0 on 3.10.0 ((detached/47db868 Thu Oct  2 22:04:39 EDT 2014)
Copyright (c) Microsoft Corporation. All rights reserved.

>>> require 'pathname'
unknown: no such file to load -- pathname (LoadError)

While the native Ruby interpreter gives the result below:

irb(main):001:0> require 'pathname'
=> true

I downloaded the IronRuby 1.1.3 zip package. and found it includes both ironruby and ruby libs in Libs dir. But I couldn't find these libs under /Library/Frameworks/Mono.framework.

These libs are quite essential to writing any ruby scripts, please help put them in.

Thanks!
-Jonny