That is exactly what i didn't want to do... RailsIntaller makes it so
much easier and the learning part just goes out. And shifting from
Windows is not an option, as its an office PC. Its comes with only
WinXP.

It would be best if Ruby guys could make the installers much better, as
it stands now, new guys like me, would just succumb under the
errors/exception and just give up! Like i am... almost had enough of
this! :(

But any solution to this? From the tutorial, I create the sample
application. Edit the gem file as mentioned (except i leave the rails
part).  My Gemfile:

source 'http://rubygems.org'

gem 'rails', '3.1.3'

gem 'sqlite3', '1.3.3'

group :development do
  gem 'rspec-rails', '2.6.1'
end

group :test do
  gem 'rspec-rails', '2.6.1'
  gem 'webrat', '0.7.1'
end


Run the command "bundle install" after i have created a sample
application. It installs some gems. And then when i run "rails generate
rspec:install" I get a huge exception.

C:\myrails\sample_app>rails generate rspec:install
C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require':
cannot load such file -- set (LoadError)
        from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from C:/Ruby193/gems/bundler-1.0.21/lib/bundler/resolver.rb:1:in
`<top (required)>'
        from
C:/Ruby193/gems/bundler-1.0.21/lib/bundler/definition.rb:151:in
`resolve'
        from
C:/Ruby193/gems/bundler-1.0.21/lib/bundler/definition.rb:90:in `specs'
        from
C:/Ruby193/gems/bundler-1.0.21/lib/bundler/definition.rb:135:in
`specs_for'
        from
C:/Ruby193/gems/bundler-1.0.21/lib/bundler/definition.rb:124:in
`requested_specs'
        from
C:/Ruby193/gems/bundler-1.0.21/lib/bundler/environment.rb:23:in
`requested_specs'
        from C:/Ruby193/gems/bundler-1.0.21/lib/bundler/runtime.rb:11:in
`setup'
        from C:/Ruby193/gems/bundler-1.0.21/lib/bundler.rb:110:in
`setup'
        from C:/Ruby193/gems/bundler-1.0.21/lib/bundler/setup.rb:7:in
`<top (required)>'
        from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in
`require'
        from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in
`rescue in require'
        from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in
`require'
        from C:/myrails/sample_app/config/boot.rb:6:in `<top
(required)>'
        from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from C:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
        from script/rails:5:in `<main>'


I mostly need help on this. I don't know what's going here since i am a
newbie, so cant help myself. Please any advise? Thanks for the replies
guys!

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to