lib in $LOAD_PATH

5 views
Skip to first unread message

Steven R. Baker

unread,
Jan 10, 2013, 10:11:49 AM1/10/13
to maglev-d...@googlegroups.com
Heya folks,

Having a very mild annoyance with $LOAD_PATH. maglev puts 'lib' in automatically, but other Rubies don't. Is there a reason why MagLev puts 'lib' in the load path by default? It's admittedly a very mild annoyance, it's causing me problems running my code on more than one implementation.

-Steven

Tim Felgentreff

unread,
Jan 13, 2013, 11:01:21 AM1/13/13
to maglev-d...@googlegroups.com
Uhm, 'lib' isn't in my $LOAD_PATH by default...

~...vel/vmware/maglev maglev ❰git:master❱ ✔ maglev-ruby -e 'p $LOAD_PATH'
["/home/tim/.rbenv/versions/maglev/lib/ruby/site_ruby/1.8", "/home/tim/.rbenv/versions/maglev/lib/ruby/site_ruby", "/home/tim/.rbenv/versions/maglev/lib/ruby/1.8/", "."]

~...vel/vmware/maglev maglev ❰git:master-1.9❱ ✔ maglev-ruby -e 'p $LOAD_PATH'
["/home/tim/.rbenv/versions/maglev/lib/ruby/site_ruby/1.9", "/home/tim/.rbenv/versions/maglev/lib/ruby/site_ruby", "/home/tim/.rbenv/versions/maglev/lib/ruby/1.9/", "."]

What else are you loading?

Steven R. Baker

unread,
Jan 13, 2013, 11:11:36 AM1/13/13
to maglev-d...@googlegroups.com
Oddly, 'lib' isn't in my load path anymore. I have no idea where it came from, but I stripped the app down considerably.

-Steven

--
You received this message because you are subscribed to the Google Groups "MagLev Discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msg/maglev-discussion/-/fXM0KdQXLrwJ.
To post to this group, send email to maglev-d...@googlegroups.com.
To unsubscribe from this group, send email to maglev-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/maglev-discussion?hl=en.

Reply all
Reply to author
Forward
0 new messages