This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Autograde script execution error | |
Execution error: .guides/scripts/hw-ruby-intro.sh: line 3: /usr/share/rvm/scripts/rvm: No such file or directory .guides/scripts/hw-ruby-intro.sh: line 7: rvm: command not found ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.2.0 directory. Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. Your Ruby version is 2.2.9, but your Gemfile specified 2.4.0 <h1>you suck</h1> URL: https://apollo.codio.com/autograde?token=446f607d-b109-49c2-b246-71c4ddae07aa ENV: {"class":{"id":"5b51f69e679b494162dd0bca","project":"04752543-470a-4efd-ac33-0b3a00b5972b","unit":{"id":"Q8glWnKM29MK","start":null,"end":null}},"completedDate":"2018-09-07T14:57:59.597Z","assessments":{"stats":{"correct":0,"total":0,"points":0,"totalPoints":0,"answered":0},"info":[]}} % Total % Received % Xferd Average Speed Time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pry' | |
def fear_not_letter(str) | |
arr = str.upcase.each_char.map { |i| i.ord }.sort | |
miss_arr = [] | |
x = 0 | |
next_num = arr[0].next | |
arr.each do |curr_num| |
NewerOlder