I read a lot of posts about this error, but I can not understand anything. For some reason, all of my rail applications see this error when I run almost anything on the command line ( rails s , gem list , sudo gem update --system , etc.)
/Users/username/.rvm/bin/gem: line 6: /Users/username/.rvm/bin/gem: The list of arguments is too long
/Users/username/.rvm/bin/gem: line 6: /Users/username/.rvm/bin/gem: Unknown error: 0
The file to which it points is as follows:
#!/usr/bin/env bash if [[ -s "/Users/username/.rvm/environments/ ruby-1.9.2-p180@rails31 " ]] then source "/Users/username/.rvm/environments/ ruby-1.9.2-p180@rails31 " exec gem " $@ "
I am really new to rails, so maybe this is something simple, but I can’t do anything.
UPDATE:
I reinstalled rvm, but now I get a new error. I tried to install another version of ruby, and everything was fine so far:
ERROR: Error running ' ./configure --prefix="/Users/username/.rvm/usr" ', please read /Users/username/.rvm/log/ruby-1.9.2-p180/yaml/configure.log Compiling yaml in /Users/username/.rvm/src/yaml-0.1.3. ERROR: Error running '/usr/bin/make ', please read /Users/username/.rvm/log/ruby-1.9.2-p180/yaml/make.log Installing yaml to /Users/username/.rvm/usr ERROR: Error running '/usr/bin/make install', please read /Users/username/.rvm/log/ruby-1.9.2-p180/yaml/make.install.log ruby-1.9.2-p180 -
Rymo4 source share