Git Product home page Git Product logo

devtools's People

Contributors

developwithpassion avatar stroparo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devtools's Issues

Invalid reference to rvm_install_some_rubies from rvm installation script

$ ./osx_or_cygwin_kick_off
RVM reloaded!
/home/m/.rvm/src/system has already been removed.
/home/m/.rvm/rubies/system has already been removed.
./automation/rvm/rvm_install: line 16: ./rvm_install_some_rubies: No such file or directory
Searching for binary rubies, this might take some time.
No binary rubies available for: cygwin/unknown/x86_64/ruby-1.9.3-p385.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for cygwin.
Requirements support for cygwin is not implemented yet,
report a bug here => https://github.com/wayneeseguin/rvm/issues
Requirements installation failed with status: 1.
Searching for binary rubies, this might take some time.
No binary rubies available for: cygwin/unknown/x86_64/ruby-2.0.0-p353.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for cygwin.
Requirements support for cygwin is not implemented yet,
report a bug here => https://github.com/wayneeseguin/rvm/issues
Requirements installation failed with status: 1.
ruby-2.0.0-p353 is not installed.
To install do: 'rvm install ruby-2.0.0-p353'

It happens because ./rvm_install_some_rubies interprets . as a current folder as where ./osx_or_cygwin_kick_off was run from, but not as current folder where automation/rvm/rvm_install is located.

patching failing, compiling failing, had to switch versions of ruby to get it to work

When using the original setup with ruby 1.9.3 and 2.0.0. I would get the same errors over and over again no matter what libraries I installed, no matter if I launched cygwin from cygwin.bat or the desktop icon with admin privilleges. The errors I would consistently receive are the following. Oh I also installed dos2unix.
First Error:
Error running '__rvm_patch -F 25 -p1 -N -f -i /home/xxxxxxx/.rvm/patches/ruby/GH433.patch',
showing last 15 lines of /home/xxxxxx/.rvm/log/1444927440_ruby-2.0.0-p643/patchapply.GH-433.log

_rvm_patch
_rvm_patch()
{
\patch "$@" || return $?
}
current path : /home/xxxxxx/.rvm/src/ruby(either version number applies here)
PATH= ALL of my enviromental paths but they lead with cydrive instead of C.

Second Error:
ruby-1.9.3-p385 - #compiling..................
Error running '__rvm_make -j2',
showing last 15 lines of /home/xxxxxx/.rvm/log/1444927113_ruby-1.9.3-p385/make.log

compiling process.c
process.c: In function ‘rb_proc_exec_n’:
process.c:1134:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
int ret = -1;
^
process.c: In function ‘proc_initgroups’:
process.c:4807:5: error: implicit declaration of function ‘initgroups’ [-Werror=implicit-function-declaration]
if (initgroups(StringValuePtr(uname), NUM2GIDT(base_grp)) != 0) {
^
cc1: some warnings being treated as errors
Makefile:287: recipe for target 'process.o' failed
make: *** [process.o] Error 1
make: *** Waiting for unfinished jobs....
++ return 2

Third not an error but an odd thing:

This kept appearing:
Searching for binary rubies, this might take some time.
No binary rubies available for: cygwin/unknown/i386/ruby-2.0.0-p643.
Continuing with compilation. Please read 'rvm help mount' to get more informatin on binary rubies.
Not sure what "Unknown" is supposed to be, but it still continued after this would occur.

After much googling and frustration, I found out that their is a bug in Ruby 1.9.3 and 2.0.0. That doesn't get fixed until 2.1.7. So, I am not sure how you were able to install this on a windows machine as I found cases all over the Internet where people were not able to install Ruby, RVM, using Cygwin utilizing these instructions. Yet there isn't even a note of it on this page, or in the "issues". If you are going to spend all of this time creating something like this, it seems logical that you would want people to succeed, so maybe you should make note of the bug, that has been recognized by ruby. Either that or patch the ruby source code, so it compiles properly.

[Enhancement] Streamline package installs and dependencies with apt-cyg in Cygwin

To improve the process of using devtools to install RVM, many users may have issues with installing the necessary packages if they do not have the Cygwin 'setup-x86_64.exe' readily available.

/home/user/.rvm/scripts/functions/requirements/cygwin: line 19: setup-x86_64.exe: command not found
++ return 127
Requirements installation failed with status: 127.
ruby-2.0.0-p576 is not installed.

My suggestion would be to add support for using (and possibly installing) apt-cyg, an apt-get 'like' utility for Cygwin, that can resolve and install any dependencies efficiently.

$'\r': command not found

while running following command,
./osx_or_cygwin_kick_off

complete error is as follows:
$ ./osx_or_cygwin_kick_off
./osx_or_cygwin_kick_off: line 2: $'\r': command not found
./osx_or_cygwin_kick_off: line 3: syntax error near unexpected token $'\r'' '/osx_or_cygwin_kick_off: line 3:install_rvm()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.