New answers tagged

0

You need to create a timer using GLib::Timeout.add_seconds, (or just add if you want to use milliseconds) # ... GLib::Timeout.add_seconds(2) do # every two seconds.... app_indicator.set_icon '/path/to/icon.svg' true # returning false cancels the timer end Gtk.main


0

It worked for me: - First I´ve installed Homewbrew with: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" (DO NOT use sudo for this step!!) verify the install with : brew -v verify your Ruby install with : ruby -v install sass with gem install sass verify gem with: sass --version and finally do: ...


0

Prepare Your System Update your package manager first: sudo apt-get update Ensure Curl is installed: sudo apt-get install curl Install RVM If you have an older version of Ruby installed on your computer, there’s no need to remove it. RVM will leave your “system Ruby” untouched and use your shell to intercept any calls to Ruby. Any older Ruby versions ...


3

Guide for 14.04 LTS without RVM Jekyll 3 needs ruby 2.0 or higher, so we first install ruby 2.0, it's development headers and nodejs: sudo apt-get install -y ruby2.0 ruby2.0-dev nodejs Then we point the commands included in the ruby package to the new version. sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby2.0 10 sudo update-...


0

I managed to solve the problem using a previously answered question, How to install mysql on Ubuntu 16.04, but I needed to modify the solution to work for me. When I deleted/moved /var/lib/mysql directory, mysqld --initialize couldn't create the database directory I want in replacement for /var/lib/mysql , and it gave me Errcode: 13 - Permission denied ...


0

After reading the HTTP error more carefully I realised that this is failing because my corporate firewall is blocking HTTP requests with User-Agent: bundler/1.11.2 .... I was able to confirm this with curl (works) vs curl -A "bundler/1.11.2 ... (doesn't work). The administrative solution is to configure the corporate firewall to allow bundler as a User-...


0

I know that this question was asked 2 years ago, but in case if somebody (like me) still facing it: @steeldriver is right -- you are missing something in your bashrc which you do have in one of those 3 files. In my case I just needed to add this line into mine ~/.bashrc: [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"



Top 50 recent answers are included