Error creating rails scaffolding in RubyMine 4.0.1

Hi,
I created a new rails project scaffolding but the following error appears. What was wrong?

/usr/local/rvm/rubies/ruby-1.9.3-p125/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /usr/local/rvm/gems/ruby-1.9.3-p125/bin/rails _3.2.1_ new /Users/lchong2/RubymineProjects/sample_app --skip-test-unit --javascript=jquery --skip --database=sqlite3
/usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find railties (= 3.2.1) amongst [bigdecimal-1.1.0, diff-lcs-1.1.3, io-console-0.3, json-1.5.4, minitest-2.5.1, rake-0.9.2.2, rdoc-3.9.4, rspec-2.8.0, rspec-core-2.8.0, rspec-expectations-2.8.0, rspec-mocks-2.8.0] (Gem::LoadError)
    from /usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
    from /usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems.rb:1208:in `gem'
    from /usr/local/rvm/gems/ruby-1.9.3-p125/bin/rails:18:in `<top (required)>'
    from -e:1:in `load'
    from -e:1:in `<main>'


Regards,
lchong2

Please sign in to leave a comment.