Guest User

Untitled

a guest
Feb 19th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. what I did was
  2.  
  3. git clone git://github.com/francois/piston.git
  4. cd piston
  5. rake install_gem
  6.  
  7.  
  8. this dumped a bunch of output, as it built the gem and then asked me for sudo password to install:
  9.  
  10. ...
  11. File: piston-1.9.3.gem
  12. sudo gem install --local pkg/piston-1.9.3.gem
  13.  
  14. this succeeded-ie, gem list has piston 1.9.3 in it now. However, running piston breaks:
  15.  
  16. bash-3.2$ piston
  17. /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:142:in `activate': can't activate piston (= 1.4.0, runtime), already activated piston-1.9.3 (Gem::Exception)
  18. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
  19. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:508:in `require'
  20. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:353:in `new_constants_in'
  21. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:508:in `require'
  22. from /opt/local/lib/ruby/gems/1.8/gems/piston-1.9.3/lib/piston/commands.rb:5
  23. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
  24. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
  25. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:508:in `require'
  26. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:353:in `new_constants_in'
  27. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:508:in `require'
  28. from /opt/local/lib/ruby/gems/1.8/gems/piston-1.9.3/lib/piston/cli.rb:5
  29. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
  30. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
  31. from /opt/local/lib/ruby/gems/1.8/gems/piston-1.9.3/bin/piston:5
  32. from /opt/local/bin/piston:19:in `load'
  33. from /opt/local/bin/piston:19
  34.  
  35.  
  36. on uninstalling piston and re-installing 1.9.3, I now get the following new error when running piston:
  37.  
  38. bash-3.2$ piston version
  39. /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- piston/commands/convert (MissingSourceFile)
  40. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
  41. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:508:in `require'
  42. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:353:in `new_constants_in'
  43. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:508:in `require'
  44. from /opt/local/lib/ruby/gems/1.8/gems/piston-1.9.3/lib/piston/commands.rb:5
  45. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
  46. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
  47. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:508:in `require'
  48. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:353:in `new_constants_in'
  49. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/active_support/dependencies.rb:508:in `require'
  50. from /opt/local/lib/ruby/gems/1.8/gems/piston-1.9.3/lib/piston/cli.rb:5
  51. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
  52. from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
  53. from /opt/local/lib/ruby/gems/1.8/gems/piston-1.9.3/bin/piston:5
  54. from /opt/local/bin/piston:19:in `load'
  55. from /opt/local/bin/piston:19
Add Comment
Please, Sign In to add comment