public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
gem --version
2.0.7
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby --version
ruby 1.9.3p448 (2013-06-27 revision 41675) [i686-linux]
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby init.rb
/home/maasdesigner/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- cart (LoadError)
from /home/maasdesigner/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:51:in `require'
from init.rb:1:in `<main>'
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby init.rb
init.rb:1: syntax error, unexpected tIDENTIFIER, expecting $end
require 'cart.rb' require 'item.rb'
^
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby init.rb
init.rb:1:in `require_relative': /home/maasdesigner/Desktop/ruby1/cart.rb:21: syntax error, unexpected $end, expecting keyword_end (SyntaxError)
from init.rb:1:in `<main>'
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby init.rb
init.rb:1:in `require_relative': /home/maasdesigner/Desktop/ruby1/cart.rb:21: syntax error, unexpected $end, expecting keyword_end (SyntaxError)
from init.rb:1:in `<main>'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.