On Wed, Feb 1, 2012 at 10:20 PM, Steve Robin <[email protected]> wrote:

> Colin Law wrote in post #1043562:
> >
> > No idea why but in the quest for more information, do you get any
> > errors?  Does the command work?
> >
> > Colin
>
>
> The command is not working and no error.
>
> Just simple commands below, it just hang there until i pressed control c
> rails --version
> rails new test1
>
> I am using MAC OS snow leopard.
>
> Is there away to find out from the log what is happening?
>
> I try to remove everything using rvm to remove ruby 1.9.2 and all its
> gems and reinstall again. but still having the same problem
>
> Any suggestion?
>

A few random thoughts ... show us output from those commands below.

$ cat ~/.railsrc

$ rvm current

$ rvm gemdir

go into that gemdir and have a look at the gems.

$ cat Gemfile

$ gem list rail  # Without s

$ which rails

$ ruby -ve 'puts 4'

For your reference, I am showing the output I see here in a recently
installed 3.2.1 project:

$ cat ~/.railsrc
--skip-bundle
-T
-d postgresql

$ rvm current
ruby-1.9.3-p0@kennyj

$ rvm gemdir
/home/peterv/.rvm/gems/ruby-1.9.3-p0@kennyj

$ cat Gemfile
source 'https://rubygems.org'

gem 'rails', '3.2.1'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'pg'


# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'

  # See https://github.com/sstephenson/execjs#readme for more supported
runtimes
  # gem 'therubyracer'

  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the web server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'

$ gem list rail

*** LOCAL GEMS ***

rails (3.2.1)
railties (3.2.1)

$ which rails
/home/peterv/.rvm/gems/ruby-1.9.3-p0@kennyj/bin/rails

$ ruby -ve 'puts 4'
ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux]
4


HTH (this is somewhat random probing ...)

Peter

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to