Skip to content

Instantly share code, notes, and snippets.

View RaMin0's full-sized avatar
☁️
Available, but may not reply

Ramy Aboul Naga RaMin0

☁️
Available, but may not reply
View GitHub Profile
diff --git a/config/deploy.rb b/config/deploy.rb
index 422e82e..23a20e1 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -1,14 +1,14 @@
# config valid only for Capistrano 3.1
lock '3.2.1'
-set :application, 'my_app_name'
-set :repo_url, 'git@example.com:me/my_repo.git'
Could not load SystemTimer >= v1.2.0. Falling back to timeout.rb. SystemTimer is STRONGLY recommended for timeouts in Ruby 1.8.7. See http://ph7spot.com/blog/system-timer-1-2-release for details.
...........F..FFFFFF..FFFF...............
Failures:
1) Mebla searching should search and return the only relevant result
Failure/Error: results.count.should == 1
wrong number of arguments (0 for 1)
# ./spec/mebla/searching_spec.rb:13:in `size'
# ./spec/mebla/searching_spec.rb:13:in `count'
class Child
include Mongoid::Document
# Attributes
field :born_on, class: Date
# Relations
embedded_in :parent
end
@RaMin0
RaMin0 / Dockerfile
Created December 25, 2021 15:42
A Dockerfile for Ruby on Rails
FROM ruby:2.6.3-alpine AS builder
ARG RAILS_MASTER_KEY
ENV BUNDLE_APP_CONFIG=.bundle \
BUNDLE_PATH=vendor/bundle \
RAILS_ENV=production
RUN apk add -U --no-cache build-base \
libxml2-dev \
libxslt-dev \
postgresql-dev \
nodejs \

Keybase proof

I hereby claim:

  • I am ramin0 on github.
  • I am ramin0 (https://keybase.io/ramin0) on keybase.
  • I have a public key ASBXu7ppxSoMlkNGyTLmReFvMdnY6-kJdXBRuzZ0PGR3QQo

To claim this, I am signing this object: