{"id":28317922,"url":"https://github.com/codesnik/rails-recipes","last_synced_at":"2025-08-12T23:11:11.344Z","repository":{"id":618375,"uuid":"257340","full_name":"codesnik/rails-recipes","owner":"codesnik","description":"capistrano recipes for invoking rails script/console, script/dbconsole, rake etc.","archived":false,"fork":false,"pushed_at":"2009-07-22T03:15:16.000Z","size":440,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T20:18:53.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codesnik.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-07-22T03:13:15.000Z","updated_at":"2015-09-02T08:40:34.000Z","dependencies_parsed_at":"2022-07-05T04:00:22.802Z","dependency_job_id":null,"html_url":"https://github.com/codesnik/rails-recipes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/codesnik/rails-recipes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Frails-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Frails-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Frails-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Frails-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codesnik","download_url":"https://codeload.github.com/codesnik/rails-recipes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Frails-recipes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270149345,"owners_count":24535728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-25T06:14:38.813Z","updated_at":"2025-08-12T23:11:11.312Z","avatar_url":"https://github.com/codesnik.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= rails-recipes\n\ncapistrano recipes for invoking rails script/console, script/dbconsole, rake etc.\non first server in a cluster\n\n== Synopsis\n\nstarts script/console on the first :app server in currently released directory\nbe careful with your production server data - it's the power under your fingers now!\n\n  cap rails:console\n\nstarts script/dbconsole, still on the :app server, but connected to a\nright database, probably\n\n  cap rails:dbconsole\n\neven this should work, providing you authenticate via ssh key\nand you're not using ssh gateway (breaks pipeline sometimes)\n\n  cap rails:dbconsole \u003c sqldump.sql\n\nsorry, haven't figured how to provide additional arguments for rake yet.\n\n  cap rails:rake task=db:abort_if_pending_migrations\n\n(NOT DONE YET) do not try it at work\n\n  (NOT DONE YET) cap rails:runner cmd='User.delete_all'\n\nusing some multistage deployment scheme (capistrano/ext/multistage or something homebrew)?\nthis should work too right from the box\n\n  cap staging rails:console\n\n== Installation\n\n  sudo gem install codesnik-rails-recipes --source=http://gems.github.com\n\nthen stick\n\n  require 'rails-recipes'\n\nat the end of your Capfile or ~/.caprc\n\n== Configuration\n\nTODO\n\n== Hidden details\n\nIt doesn't use ruby net/ssh2 library for interactive script/console and script/dbconsole\nbut invokes real 'ssh' executable so that readline interface works as expected.\nStill this means that all the subtile differences of parsing ~/.ssh/config and other files\nbetween openssh executables and net/ssh2 apply here.\n\nUsed on Ubuntu and MacOS X, for deployment on Gentoo, Fedora, FreeBSD\n\nSorry, no tests yet, not that there's much code you can actually test here\n\n== Suggestions, feature requests, bugreports\n\n...are always welcome.\n\n== Copyright\n\nCopyright (c) 2009 Alexey 'codesnik' Trofimenko. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesnik%2Frails-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesnik%2Frails-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesnik%2Frails-recipes/lists"}