Advertisement
tthtlc

How to solve: /usr/lib/ruby/1.9.1/rubygems/custom_require.

Aug 31st, 2013
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. Rakefile Gemfile README.md LICENSE.txt gmusic.gemspec lib/ gmusic
  2. tthtlchome:/home/tthtlc/gmusic>gem install gmusic
  3. ERROR: While executing gem ... (Gem::FilePermissionError)
  4. You don't have write permissions into the /var/lib/gems/1.9.1 directory.
  5. tthtlchome:/home/tthtlc/gmusic>sudo gem install gmusic
  6. Building native extensions. This could take a while...
  7. ERROR: Error installing gmusic:
  8. ERROR: Failed to build gem native extension.
  9.  
  10. /usr/bin/ruby1.9.1 extconf.rb
  11. /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
  12. from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  13. from extconf.rb:1:in `<main>'
  14.  
  15.  
  16. Gem files will remain installed in /var/lib/gems/1.9.1/gems/hpricot-0.8.6 for inspection.
  17. Results logged to /var/lib/gems/1.9.1/gems/hpricot-0.8.6/ext/fast_xs/gem_make.out
  18. tthtlchome:/home/tthtlc/gmusic>
  19. tthtlchome:/home/tthtlc/gmusic>sudo aptitude install ruby1.9.1-dev
  20. The following NEW packages will be installed:
  21. ruby1.9.1-dev
  22. The following packages will be upgraded:
  23. libruby1.9.1 ruby1.9.1
  24. 2 packages upgraded, 1 newly installed, 0 to remove and 474 not upgraded.
  25. Need to get 5,470 kB of archives. After unpacking 3,464 kB will be used.
  26. Do you want to continue? [Y/n/?] Y
  27. 0% [Connecting to archive.ubuntu.com (2001:67c:1360:8c01::15)]
  28. Get: 1 http://archive.ubuntu.com/ubuntu/ precise-updates/main ruby1.9.1 i386 1.9.3.0-1ubuntu2.7 [37.0 kB]
  29. Get: 2 http://archive.ubuntu.com/ubuntu/ precise-updates/main libruby1.9.1 i386 1.9.3.0-1ubuntu2.7 [4,209 kB]
  30. Get: 3 http://archive.ubuntu.com/ubuntu/ precise-updates/main ruby1.9.1-dev i386 1.9.3.0-1ubuntu2.7 [1,224 kB]
  31. Fetched 5,470 kB in 6min 35s (13.8 kB/s)
  32. (Reading database ... 256609 files and directories currently installed.)
  33. Preparing to replace ruby1.9.1 1.9.3.0-1ubuntu2.4 (using .../ruby1.9.1_1.9.3.0-1ubuntu2.7_i386.deb) ...
  34. Unpacking replacement ruby1.9.1 ...
  35. Preparing to replace libruby1.9.1 1.9.3.0-1ubuntu2.4 (using .../libruby1.9.1_1.9.3.0-1ubuntu2.7_i386.deb) ...
  36. Unpacking replacement libruby1.9.1 ...
  37. Selecting previously unselected package ruby1.9.1-dev.
  38. Unpacking ruby1.9.1-dev (from .../ruby1.9.1-dev_1.9.3.0-1ubuntu2.7_i386.deb) ...
  39. Processing triggers for man-db ...
  40. Setting up libruby1.9.1 (1.9.3.0-1ubuntu2.7) ...
  41. Setting up ruby1.9.1 (1.9.3.0-1ubuntu2.7) ...
  42. Setting up ruby1.9.1-dev (1.9.3.0-1ubuntu2.7) ...
  43. Processing triggers for libc-bin ...
  44. ldconfig deferred processing now taking place
  45.  
  46. Current status: 474 updates [-2].
  47. tthtlchome:/home/tthtlc/gmusic>sudo gem install gmusic
  48. [sudo] password for tthtlc:
  49. Building native extensions. This could take a while...
  50. Fetching: gmusic-0.2.2.gem (100%)
  51. Successfully installed hpricot-0.8.6
  52. Successfully installed gmusic-0.2.2
  53. 2 gems installed
  54. Installing ri documentation for hpricot-0.8.6...
  55. Installing ri documentation for gmusic-0.2.2...
  56. Installing RDoc documentation for hpricot-0.8.6...
  57. Installing RDoc documentation for gmusic-0.2.2...
  58. tthtlchome:/home/tthtlc/gmusic>d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement