New answers tagged

1

It looks like you're missing the first lines from your /etc/apt/sources.list file. Put them in manually at the start of your file: # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/ # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/ ...


0

Also, you don't want to depend on sudo for executing gems, so I recommend to add your user to the root's group and: sudo chmod -R 770 /var/lib/gems sudo chmod -R 770 /usr/local/bin Just doing a few updates on this thread. According the jekyll's installation docs the version needed is version 2. After fixing the permissions issue, I ran into that expected ...


1

I was running in the same problem as you, what I did so far is: sudo apt-get purge jekyll* To remove erverything related to jekyll, then I: sudo gem install jekyll To install as a gem of my ruby2.3, after that I tried to run my local website with: jekyll serve And it ran flawlessly. :-)


1

shouldn't esacexport be esac export ? If the words are stick together your shell won't take it as an instruction


1

Follow these steps to install Qtruby+Qt4 run following command in terminal sudo aptitude install libqt4-core libqt4-dev Download qtruby from http://rubyforge.org/projects/korundum/ version=2.1.0 wget http://rubyforge.org/frs/download.php/71843/qt4-qtruby-${version}.tar.gz Extract qtruby tar -xvzf qt4-qtruby-${version}.tar.gz cd qt4-qtruby-${version} ...


0

use rbenv Install dependencies sudo apt-get update sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev Setup rbenv cd git clone https://github.com/rbenv/rbenv.git ~/.rbenv echo 'export ...


0

you can use rvm (ruby version manager). You can use multiple Ruby versions and each version has it's own separate set of gems. That way you can have 2.1 and 2.3 installed simultaneously. Installing ruby version is very easy. To install ruby version run rvm install 2.1.0 you can set default ruby version by running rvm --default 2.1.0 Benefit of usng ...


0

Have you tried rvm? The whole point of rvm is so that you can have different versions of Ruby installed on your system rvm install {ruby_version} rvm use {ruby_version}


0

Try run: $ gem install bundler $ bundle update or maybe re-install rails: $ gem install rails If not working you can re-install the rails for your version of ubuntu in this link https://gorails.com/setup/ubuntu/16.04



Top 50 recent answers are included