I am having difficulty running my files through irb on my c9 workspace.
basically in ~workspace > irb -I. leads to irb just fine
username:~/workspace $ irb -I.
2.3.0 :001 > ruby "test.rb"
NoMethodError: undefined method
ruby' for main:Object from (irb):1 from /usr/local/rvm/rubies/ruby-2.3.0/bin/irb:11:in’
test.rb is in worspace and its syntax is right as far as I can tell…
please help. I have never had this problem before.