Very strange problem: Ton’s of ruby process just running simple command
“rails --version” or “rails new test1"”
I have very strange problem. I try to run this simple command
“rails new test1” → this suppose to be create a new rails site.
“rails --version” → even this I got ton’s of ruby process
but I got a lot of ruby process,
Here is my environment
rvm --version rvm 1.7.2
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.6.0]
rails-3.2.1
Yes, you are right it hang right on this step (I wait for 10 minutes and
still the same)
“rails new new_app --skip-bundle”
I have two exactly “clone” machine. One I did not remove using rvm (this
for backup because I don’t want to mess up my current development
environment) and another one I remove everything using rvm. (This where
I do the testing to figure out the problem with rails).
The reason you see “old” rails because the previous reference run on the
machine which still have not removed everything. Sorry for the
confusion,
So now, both this run on fresh rvm
And I still have problem. I kind of confuse where to troubleshoot
further, may be the best way is to format everything and start from
fresh Mac OS install
and here is the reference
robinhood:junk89 steve$ cat ~/.railsrc
cat: /Users/steve/.railsrc: No such file or directory
robinhood:junk89 steve$ rvm current
ruby-1.9.3-preview1@new_rails
robinhood:junk89 steve$ rvm gemdir
/Users/steve/.rvm/gems/ruby-1.9.3-preview1@new_rails
robinhood:junk89 steve$ cat Gemfile
cat: Gemfile: No such file or directory
robinhood:junk89 steve$ gem list rail
Is there any chance that the 3.1.0.rc6 is used and has a known bug ?
Actually, something I don’t understand. IIRC (??) you said, you threw
away everything and reinstalled rails. But how come we have these
“old” versions or Rails then ?
What happens when you do this as a fresh new install :
$ cd
$ rvm install ruby-1.9.3 # this will install 1.9.3-p0
$ rvm use ruby-1.9.3
$ rvm gemset create new_rails
$ rvm gemset use new_rails
$ gem install bundler
$ gem install rails # this will install rails 3.2.1
$ rails new new_app --skip-bundle
$ # in previous tests, you never arrived here ?
$ cd new_app
$ vim Gemfile # active therubyracer
$ bundle install
$ rake environment # should not fail
for backup because I don’t want to mess up my current development
environment) and another one I remove everything using rvm. (This where
I do the testing to figure out the problem with rails).
The reason you see “old” rails because the previous reference run on the
machine which still have not removed everything. Sorry for the
confusion,
Since I have machine to experiment with, in the near future, I might
reinstall from fresh. In the past, this machine (Mac Book Pro and
MacMini), Ruby on Rails with that simple statement work.
but somehow, don’t know what cause it and when it happen and why it
happen, suddenly just stop working.
And the funny thing is, others than that ruby generations, “rails
server” working just fine
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.