Skip to content

Loading…

LoadError: no such file to load -- i18n #44

Closed
camelpunch opened this Issue · 2 comments

2 participants

@camelpunch

In master, the 'gem' command doesn't make i18n available for loading. Compare:

$ ruby --version
ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2010.02
$ gem --version
1.3.7
$ sudo gem install i18n
Successfully installed i18n-0.4.1
1 gem installed
$ irb
irb(main):001:0> require 'rubygems'; gem 'i18n'; require 'i18n'
=> true
irb(main):002:0> 
$ sudo gem uninstall i18n
Successfully uninstalled i18n-0.4.1
$ sudo gem install /home/ubuntu/i18n/pkg/i18n-0.4.1.gem 
Successfully installed i18n-0.4.1
1 gem installed
$ irb
irb(main):001:0> require 'rubygems'; gem 'i18n'; require 'i18n'
LoadError: no such file to load -- i18n
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from (irb):1
irb(main):002:0> 
@camelpunch

Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.