Comments (9)
@giacmir Did you add the line suggested by the Terminal Notifier on OS X section of the readme? If so, you should remove the require 'capistrano/magento2/pending'
line from your Capfile
.
from capistrano-magento2.
I didn't add that line... the problem is that if I have that gem installed I have this output not only on capistrano deploy, but even when issuing other commands (like "vagrant up"). I have to uninstall the gem, the reinstall it every time I have to deploy something. (or use capistrano through docker)
from capistrano-magento2.
@giacmir Off the top of my head, I don't know what to tell you. Maybe @davidalger will have a suggestion for how to proceed, although it will likely be next week before he's able to respond.
from capistrano-magento2.
@giacmir I cannot reproduce this issue. When I attempt to run capistrano from within a CentOS vm I use for development, a warning shows up (shown in following example), but only if I explicitly include the terminal-notifier file via `require 'capistrano/magento2/notifier'
[vagrant@dev-web70]/sites/m2.cap/tools/cap% cap web70 deploy
...
14:26 deploy:log_revision
01 echo "Branch master (at 3aee55cea802e487293b0c37636d041a438c6245) deployed as release 20160902215207 by vagrant" >> /sites/m2cap.demo/revisions.log
✔ 01 vagrant@dev-web70 0.142s
terminal-notifier is only supported on Mac OS X 10.8, or higher.%
[vagrant@dev-web70]/sites/m2.cap/tools/cap%
My gut tells me that something is messed up with rvm permissions or something, as the check for OS / environment by the terminal-notifier gem has been implemented for years, allowing it to merely display the above warning when the OS is wrong.
What does this command report back to you?
ruby -e 'puts RbConfig::CONFIG["host_os"]'
On my linux install it reports linux-gnu
and on OS X reports darwin14.5.0
- the gem is checking this value to case the notice that it displays.
I'm looking at removing the dependency, and finding out what using it will look like if it's not listed in the gem spec, but it might still be worth checking into the permissions of your rvm setup if that's the underlying culprit. :)
from capistrano-magento2.
Thanks for your answer
ruby -e 'puts RbConfig::CONFIG["host_os"]'
reports linux-gnu
I tried to run rvm --fix-permissions
and it did something... I will let you know if this solves the issue.
from capistrano-magento2.
Nothing to do, I tried both to fix permission in nvm and to upgrade to latest 2.1 ruby but still have screen garbage. Probably is some strange connection with zsh.
from capistrano-magento2.
Tried to submit this issue as a bug to the terminal-notifier repo. They closed saying that it is not supposed (obviously) to be used under linux.
julienXX/terminal-notifier#184
from capistrano-magento2.
@giacmir I have decided to remove the hard dependency and updated the README to reflect this. It will be published in the next version. Thanks for hanging in there!
from capistrano-magento2.
@giacmir This should be taken care of in release 0.6.0. Thank you for your patience!
from capistrano-magento2.
Related Issues (20)
- Run magento command inside docker HOT 1
- Adding a task after "magento:cache:flush" is not working anymore HOT 5
- Version dependencies for capistrano HOT 5
- Do not run show pending updates when capistrano is outside magento git repo HOT 1
- var/reports HOT 2
- Can't install 'capistrano/magento2/cachetool' HOT 2
- [enhancement] Deploy on multiple fronts without recompiling everything on each machine HOT 2
- Catalog product images in production mode delete after deploy HOT 1
- Cached data from current release causes new release to fail with redis caching HOT 6
- Change default path of Composer HOT 2
- Magento still has issues with /pub in sitemap HOT 1
- Change deployment order of DI compile and schema upgrade HOT 2
- Problem with deploy after updated module with SFTP error in setup:di:compile step HOT 5
- Doesn't work with PHP 7.4 and Magento 2..42 HOT 4
- When execute command cap staging deploy
- Issue: Cached metadata/generated files HOT 7
- How to handle initial setup:install HOT 1
- How can I flush cache file on multi server HOT 1
- touch: cannot touch '/var/www/html/releases/20220809134142/pub/static/deployed_version.txt' No such file or directory HOT 1
- Suggestion: Add arbitrary composer_flags or option to run composer with --no-plugins HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capistrano-magento2.