...solarized color scheme in your Rubymine IDE: Clone the IntelliJ IDEA port: git clone https://github.com/jkaving/intellij-colors-solarized.git Import the settings in Rubymine by chosing the above directory File -> Import Settings...

...uninstalled with gem uninstall gemname. List and uninstall a gem installed via Bundler from Github This does not work for gems installed directly from Github. They do not appear in...

Show all gems installed via Github by bundler: ls ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/ Remove a gem installed via Github by Bundler: rm -rf ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gemname-xyz rm -rf ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/cache/bundler/gemname-1.2.3 This might also be...

makandra dev

...warning and create an empty commit. Any arguments to the command are forwarded to Git. Fixed: The "commit" command will not print the extra message any more. Added: The "commit...

makandra dev
github.com

update: update a Rails project that has been lying around for some time (git pull, bundle install, migrate) security-update: prepare and finish a security update by pulling/pushing/merging and...

...does not set up the database correctly, please adjust it by comparing it with https://github.com/makandra/active_type/blob/master/.github/workflows/test.yml. If necessary (i.e. the tests use databases), add a spec/support/database.github.yml file with this...

...Replace the Travis CI badge in the README with one like this: # MyGem [![Tests](https://github.com/makandra/my-gem/workflows/Tests/badge.svg)](https://github.com/makandra/my-gem/actions) Uninstall the Travis webhook in the Github repo (go to Settings => Webhooks...

...lives in app/assets). I got rid of the warnings by committing empty files into Git: public/images/.gitkeep public/javascripts/.gitkeep public/stylesheets/.gitkeep

...usually a tag with the version number (e.g. v1.2.0) is created an pushed to Github, so everyone can check out or take a look at the source code at this...

...at the Readme of a specific Gem version, you can easily switch to that git tag on Github...

I noticed that tig 2.5.1 that is provided by Ubuntu 22.04 repositories has inferior bash completion than older versions after...

...tests and you have a backup of your files (or pushed your commits to Git) Install Modularity 2+ From your project directory, do this: find . -name "*.rb" | migrate-modularity1-to...

...our own fork, not from the Ubuntu sources. Installing rbenv Install rbenv: git clone https://github.com/rbenv/rbenv.git ~/.rbenv For Bash: echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init...

...ruby-build (gives you rbenv install): git clone -b local-openssl-for-old-rubies https://github.com/makandra/ruby-build.git ~/.rbenv/plugins/ruby-build You should now be able to say rbenv install --list, and see...

...in this card can occur if the node_modules directory is checked into your Git repository. We usually recommend to exclude node_modules from version control. In any case you...

sudo gem install fast_gettext --no-ri --no-rdoc script/plugin install git://github.com/grosser/gettext_i18n_rails.git (didn't work as gem) environment.rb: see code example at the bottom

github.com

Help configure a Travis CI build that tests every dependency permutation after each git push. Share your Ruby / gem dependeny / database permutation between local development and Travis CI.

...I bet there is a semi-automated way to get a patch from the Github repository that you can apply on your rubygems.rb but I don't care enough to...

...toy around with git format-patch. If you do, let me know...

...controllers (app/*) and migrations (db/*) with symlinks to spec/shared/app_root. The symlinks are checked into Git. An own Gemfile for each Rails app, which freezes the correct versions of Rails and...

...new_memory_mb) and flavor_id: raise exception.CannotResizeToSameSize() which got fixed 2012-09-12 (https://git.openstack.org/cgit/openstack/nova/commit/nova/compute/api.py?id=843af52d49554f15c13e5617b9eb672c35c7fe51).

makandra dev

...not be automated 100%, but you can still save time. First do script/plugin install http://github.com/cgoddard/haml2erb.git Then in the console type hamls = Dir["app/views/**/*.haml"] - ['app/views/layouts/screen.html.haml']; hamls.each do |haml...

...now cut gems more easily using Bundler. Easy mode Check out a repository from Github like git clone git@github.com:makandra/aegis.git Make and commit your changes. You can but don't...

...own gem with sudo gem install GEMNAME Hard mode Check out a repository from Github like git clone git@github.com:makandra/aegis.git Make and commit your changes Bump the gem version using...

devstructure.com

...source to generate Puppet, Chef, or shell code.  Everything blueprint sees is stored in Git to be diffed and pushed.  It runs on Ubuntu Linux 10.04 and newer...

help.github.com

...The URL usually contains a branch name like master which will change over time: https://github.com/makandra/upjs/blob/master/lib/assets/javascripts/up/link.js.coffee#L76 If someone now posts an insertion or deletion to that file into master...

...This will transform the URL to another URL that points to the particular commit: https://github.com/makandra/upjs/blob/b3b1491dfa1e3e83265ef228631382868909c617/lib/assets/javascripts/up/link.js.coffee#L76 You can also use tags for a more human readable format, if they...

ombulabs.com

Tool to show you which gems are slow to load: ➜ git:(master) ✗ bundle exec bumbler [################################################# ] (49/65) travis-lint... Slow requires: 110.21 render_anywhere 147.33 nokogiri 173.83 haml 179.62 sass-rails...

...of ruby-build, update ruby-build like this git -C ~/.rbenv/plugins/ruby-build remote add makandra https://github.com/makandra/ruby-build.git git -C ~/.rbenv/plugins/ruby-build fetch makandra git -C ~/.rbenv/plugins/ruby-build checkout makandra/local-openssl-for-old-rubies At makandra, this...

blog.jayfields.com

...The command name and one or more plain arguments (without shell expansion), e.g. exec *[ 'git', 'add', 'Gemfile' ] If the first command is a two-element array, the first element is...

Your commit messages should include the ID of the issue your code belongs to. Our preferred syntax prefixes the issue...