scottmuc / yari Goto Github PK
View Code? Open in Web Editor NEWYet Another Ruby Installer
License: Other
Yet Another Ruby Installer
License: Other
I want the following api:
yari list
1.8.7 p330
1.9.2 p290yari list --installed
1.8.7 p330yari remove 1.8.7
1.8.7 p330 removed
Since some native extensions assume paths do not contain spaces, some file references can be broken when the gem installer is running make.
If you use the -InstallMachine flag and you're not running as administrator this creates an exception. I would like to be able to anticipate this and notify the user in an easier way.
Octopress 2.3 requires Ruby 1.9.3 Will this work?
The script should do the following:
This happens on Windows 2003 boxes where user homes are in Documents and Settings
Hi I am New to Octopress!
I tried to follow the following blog:
http://blog.zerosharp.com/setting-up-octopress-on-windows/
But after I am through with Git Installation I am getting a "Command not found" error.
When I am doing a check on my ruby installation. I have:
$ ruby --version
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
But next when I am doing the following I have
$ yari 1.9.2
sh.exe": yari: command not found
Any advice?
The message from "dk.rb install" is not easily spottable when you run yari. So sometimes it is misleading and not clear whether everything went ok. Steps to repro - run yari from C:\Windows\System32. Somehow config.yml will remain unchanged by rubyinstaller.ps1 in this location and thus will not contain path to the installed Ruby.
Can we add verification after devkit installation, e.g. check that the following file exists: <RUBY_INSTALL_DIR>\lib\ruby\site_ruby\devkit.rb. Or catch exceptions coming from dk.rb if it is feasible. Should any issues - that should be reported to user in Red as this is a stopper issue.
The bundle install command however starts complaining that it can't find gems to install. After some detective work, I can see that the Gemfile under Octopress is adding gems as i install them manually one by one. For more details perhaps someone can answer: http://stackoverflow.com/questions/22382173/installing-octopress-on-windows-7-using-yari-dependencies-not-loading-when-bundl--Much appreciated
Instructions on http://rubyinstaller.org/downloads/ say to add /noredirect to the url.
will make yari smart and will fail-over to /noredirect if the mirrors don't respond.
Hello all.
I don't know if it is a issue or if it is something i'm doing wrong, but, every time i run:
yari 1.9.3
the following error occurs.
PS C:\Users\Adler> yari 1.9.3
C:\Users\Adler\.yari\rubyinstaller.ps1 : Exceção ao chamar "DownloadFile" com "2" argumento(s): "Impossível
conectar-se ao servidor remoto"
No linha:1 caractere:1
+ & 'C:\Users\Adler\.yari\bin\..\rubyinstaller.ps1' 1.9.3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [rubyinstaller.ps1], MethodInvocationException
+ FullyQualifiedErrorId : WebException,rubyinstaller.ps1
something didn't work quite right...
Sets up a ruby environment for you
rubyenv [version] [-InstallMachine]
version 1.8.7, 1.9.2
-InstallMachine permanently sets your machines PATH otherwise it only
sets it for the current session
Can you help me?
Thank you.
The official "GitHub for Windows" adds a nice "Git Shell", which opens a PowerShell window at the repository folder with some nice highlighting and git commands available without a manual install or PATH manipulation.
The yari commands is working in there (e.g. yari 1.9.3), but ruby isn't available after this as a command ("Command not found"). It works perfectly in a regular command promt.
Any plans to extend yari to PowerShell?
Include gems/bin path into the system/user Path, otherwise gem executives work only in the context of bundler, e.g. I have to run "bundle exec cucumber" instead of just "cucumber".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.