From: Steven Penny <svnpenn@gmail.com>
To: cygwin@cygwin.com
Subject: Cygwin Ruby and $LOAD_PATH
Date: Tue, 16 Apr 2019 04:01:00 -0000 [thread overview]
Message-ID: <5cb553ac.1c69fb81.54a46.50c7@mx.google.com> (raw)
Cygwin Ruby $LOAD_PATH is under "/usr":
$ ruby -e 'puts $LOAD_PATH' | sort
/usr/lib/ruby/2.3.0
/usr/lib/ruby/vendor_ruby/2.3.0
/usr/local/lib/ruby/site_ruby/2.3.0
/usr/local/share/ruby/site_ruby
/usr/share/gems/gems/did_you_mean-1.0.2/lib
/usr/share/ruby/2.3.0
/usr/share/ruby/vendor_ruby
/usr/share/rubygems
but Gems get installed to "/home":
$ gem install org-ruby coderay
$ gem which org-ruby coderay
/home/Steven/.gem/ruby/2.3.0/gems/org-ruby-0.9.12/lib/org-ruby.rb
/home/Steven/.gem/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay.rb
This causes the Gems to not be found:
$ cat alpha.org
#+BEGIN_SRC rust
fn main() {
println!("alpha beta");
}
#+END_SRC
$ org-ruby -d alpha.org
Exception `LoadError' at
/usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:54 -
cannot load such file -- coderay
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2019-04-16 4:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-16 4:01 Steven Penny [this message]
2019-04-16 13:35 ` Yaakov Selkowitz
2019-04-17 0:20 ` Steven Penny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5cb553ac.1c69fb81.54a46.50c7@mx.google.com \
--to=svnpenn@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).