16 April, 2016

Ruby server: the long and winding road

Not elegant, mostly try and error. Eventually everything seems to work, here's the history:

 234  sudo apt-get install build-essential
  235  rails server
  236  rails
  237  ls
  238  cd rails
  239  bin/rails server
  240  ls
  241  cd blog
  242  bin/rails server
  243  gem install bundler
  244  sudo gem install bundler
  245  bin/rails server
  246  bundle install server
  247  bundle install
  248  gem install json
  249  sudo gem install json
  250  rails server
  251  bundle install
  252  sudo apt-get install libgmp-dev
  253  sudo apt-get install libgmp-dev
  254  rails server
  255  bundle install
  256  sudo apt-get install ruby-full build-essential
  257  sudo apt-get install apache2 apache2-mpm-prefork apache2-prefork-dev
  258  sudo apt-get install rubygems
  259  rails -v
  260  sudo apt-get install rails
  261  sudo gem install rails
  262  rails -v
  263  gem update --system
  264  \curl -L https://get.rvm.io | bash -s stable --rails
  265  rails -v
  266  bundle install
  267  rails -v
  268  rails server

No comments: