fhsav / clock

The clock for Farmington High School.
http://fhsclock.com
Other
12 stars 2 forks source link

Use Ruby 1.9.3. #135

Closed ethnt closed 12 years ago

ethnt commented 12 years ago

Need to install on server.

ethnt commented 12 years ago

Getting weird issues with RVM on my machine.

tardis:fhsclock[master]$ rvm install 1.9.3
Installing Ruby from source to: /home/ethan/.rvm/rubies/ruby-1.9.3, this may take a while depending on your cpu(s)...

ruby-1.9.3 - #fetching 
ruby-1.9.3 - #downloading ruby-1.9.3-, this may take a while depending on your connection...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
curl: (78) RETR response: 550
ERROR: The requested url does not exist: 'ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-.tar.bz2'
Trying http:// URL instead.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   230  100   230    0     0    372      0 --:--:-- --:--:-- --:--:--   703
ruby-1.9.3 - #extracting ruby-1.9.3- to /home/ethan/.rvm/src/ruby-1.9.3
ERROR: Error running 'bunzip2 < '/home/ethan/.rvm/archives/ruby-1.9.3-.tar.bz2' | tar xf - -C /home/ethan/.rvm/tmp/rvm_src_24843', please read /home/ethan/.rvm/log/ruby-1.9.3/extract.log
ERROR: There has been an error while trying to extract the source.  
Halting the installation.
ERROR: There has been an error fetching the ruby interpreter. Halting the installation.
ethnt commented 12 years ago

Here's the command.

sudo apt-get install libyaml-ruby
rvm get latest
rvm reload
rvm rvmrc trust
rvm install ruby-1.9.3-p0
rvm rubygems latest