How to add dependency of a local gem to a rails plugin/engine, in .gemspec file

While developing 2 gems, gem1 and gem2, requiring that gem1 locally depends on gem2 is quite handy. You can’t do this in your gemspec, however, you can do so in your gem’s Gemfile! # Gemfile source “https://rubygems.org” gem ‘gem2’, :path => ‘../gem2’ # Specify your gem’s dependencies in gem1.gemspec gemspec And then in your gemspec, … Read more

Ruby Gemspec Dependency: Is possible have a git branch dependency?

This is not possible, and likely never will be because it would be rather heavy-handed for RubyGems to allow gem developers to require that users have a specific version control system installed to access a gem. Gems should be self-contained with a minimal number of dependencies so that people can use them in as wide … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)