So, long story short, I had o format and reinstall my OS hence all my dev utilities. git env sorted. DevKit was fine. Sphinx/mysql fine. Bundle installed perfectly. Everything is gravy until I go to rake db:create and build my database. Environment: OS: Win7 64-bit Ruby192 gem -v 1.8.24 rails 3.1.3 Now the problem, when I rake anything I get a pop-up window " ruby.exe - Entry Point Not Found The procedure entry point rb_class_superclass could not be located in the dynamic link library msvcrt-ruby191.dll " I''ve tried clean installing ruby, clearing the gems and reinstalling. Stuck on what to do next. trace output: rake aborted! no such file to load -- ruby/prof C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:74:in `require'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:74:in `rescue in block in require'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:62:in `block in require'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in `each'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in `require'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler.rb:119:in `require'' E:/Documents/Websites/rails-app /trunk/config/application.rb:7:in `<top (required)>'' C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' E:/Documents/Websites/rails-app/trunk/Rakefile:4:in `<top (required)>'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `block in load_rakefile'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `block in run'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'' C:/Ruby192/bin/rake:23:in `load'' C:/Ruby192/bin/rake:23:in `<main>'' I''ve seen similar issues raised but for different lines in the dll and relating to sqlite3. I''m not using sqlite3 at all though. I''m on mysql with the mysql2 connector. Any help? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/rlgObAajLi4J. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
I don''t see *gem install rake* in the list of tasks you ran after reinstalling ruby et. al. Rick On Saturday, July 14, 2012 1:06:16 AM UTC-4, Ricky D wrote:> > So, long story short, I had o format and reinstall my OS hence all my > dev utilities. > git env sorted. > DevKit was fine. > Sphinx/mysql fine. > Bundle installed perfectly. > Everything is gravy until I go to rake db:create and build my database. > > Environment: > OS: Win7 64-bit > Ruby192 > gem -v 1.8.24 > rails 3.1.3 > > Now the problem, when I rake anything I get a pop-up window > > " > ruby.exe - Entry Point Not Found > > The procedure entry point rb_class_superclass could not be located in the > dynamic link library msvcrt-ruby191.dll > " > > I''ve tried clean installing ruby, clearing the gems and reinstalling. > Stuck on what to do next. > > trace output: > rake aborted! > no such file to load -- ruby/prof > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:74:in > `require'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:74:in > `rescue in block in require'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:62:in > `block in require'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in > `each'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in > `require'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler.rb:119:in > `require'' > E:/Documents/Websites/rails-app /trunk/config/application.rb:7:in `<top > (required)>'' > C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > `require'' > C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > `require'' > E:/Documents/Websites/rails-app/trunk/Rakefile:4:in `<top (required)>'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in > `load'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in > `load_rakefile'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:501:in > `raw_load_rakefile'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:82:in > `block in load_rakefile'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in > `standard_exception_handling'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:81:in > `load_rakefile'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:65:in > `block in run'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in > `standard_exception_handling'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in > `run'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top > (required)>'' > C:/Ruby192/bin/rake:23:in `load'' > C:/Ruby192/bin/rake:23:in `<main>'' > > I''ve seen similar issues raised but for different lines in the dll and > relating to sqlite3. I''m not using sqlite3 at all though. I''m on mysql with > the mysql2 connector. > > Any help? >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/5nHSvQKiqQgJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
Rake was included as a dependency in gem install rails -v 3.1.3. It was also one of the first in the bundle. Do I need to specifically install rake? I don''t remember doing it in the past few times I''ve set up development environments, I''ve just gone with the bundled rake and everything usually works. On Saturday, July 14, 2012 6:16:37 PM UTC+8, Rick wrote:> > I don''t see *gem install rake* in the list of tasks you ran after > reinstalling ruby et. al. > > Rick > > On Saturday, July 14, 2012 1:06:16 AM UTC-4, Ricky D wrote: >> >> So, long story short, I had o format and reinstall my OS hence all my >> dev utilities. >> git env sorted. >> DevKit was fine. >> Sphinx/mysql fine. >> Bundle installed perfectly. >> Everything is gravy until I go to rake db:create and build my database. >> >> Environment: >> OS: Win7 64-bit >> Ruby192 >> gem -v 1.8.24 >> rails 3.1.3 >> >> Now the problem, when I rake anything I get a pop-up window >> >> " >> ruby.exe - Entry Point Not Found >> >> The procedure entry point rb_class_superclass could not be located in the >> dynamic link library msvcrt-ruby191.dll >> " >> >> I''ve tried clean installing ruby, clearing the gems and reinstalling. >> Stuck on what to do next. >> >> trace output: >> rake aborted! >> no such file to load -- ruby/prof >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:74:in >> `require'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:74:in >> `rescue in block in require'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:62:in >> `block in require'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in >> `each'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in >> `require'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler.rb:119:in >> `require'' >> E:/Documents/Websites/rails-app /trunk/config/application.rb:7:in `<top >> (required)>'' >> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in >> `require'' >> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in >> `require'' >> E:/Documents/Websites/rails-app/trunk/Rakefile:4:in `<top (required)>'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in >> `load'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in >> `load_rakefile'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:501:in >> `raw_load_rakefile'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:82:in >> `block in load_rakefile'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in >> `standard_exception_handling'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:81:in >> `load_rakefile'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:65:in >> `block in run'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in >> `standard_exception_handling'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in >> `run'' >> C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top >> (required)>'' >> C:/Ruby192/bin/rake:23:in `load'' >> C:/Ruby192/bin/rake:23:in `<main>'' >> >> I''ve seen similar issues raised but for different lines in the dll and >> relating to sqlite3. I''m not using sqlite3 at all though. I''m on mysql with >> the mysql2 connector. >> >> Any help? >> >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/N73YwpaeQRMJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
Looks like the problem was an incompatible gem version for ruby-prof. In the gemfile: gem "ruby-prof", "0.10.8" fixed it just right. The only difference between my laptop, my desktop and my production server that I can see is the rubygems version, so I guess that is where the problem originates. On Saturday, July 14, 2012 1:06:16 PM UTC+8, Ricky D wrote:> > So, long story short, I had o format and reinstall my OS hence all my > dev utilities. > git env sorted. > DevKit was fine. > Sphinx/mysql fine. > Bundle installed perfectly. > Everything is gravy until I go to rake db:create and build my database. > > Environment: > OS: Win7 64-bit > Ruby192 > gem -v 1.8.24 > rails 3.1.3 > > Now the problem, when I rake anything I get a pop-up window > > " > ruby.exe - Entry Point Not Found > > The procedure entry point rb_class_superclass could not be located in the > dynamic link library msvcrt-ruby191.dll > " > > I''ve tried clean installing ruby, clearing the gems and reinstalling. > Stuck on what to do next. > > trace output: > rake aborted! > no such file to load -- ruby/prof > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:74:in > `require'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:74:in > `rescue in block in require'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:62:in > `block in require'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in > `each'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in > `require'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler.rb:119:in > `require'' > E:/Documents/Websites/rails-app /trunk/config/application.rb:7:in `<top > (required)>'' > C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > `require'' > C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > `require'' > E:/Documents/Websites/rails-app/trunk/Rakefile:4:in `<top (required)>'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in > `load'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in > `load_rakefile'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:501:in > `raw_load_rakefile'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:82:in > `block in load_rakefile'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in > `standard_exception_handling'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:81:in > `load_rakefile'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:65:in > `block in run'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in > `standard_exception_handling'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in > `run'' > C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top > (required)>'' > C:/Ruby192/bin/rake:23:in `load'' > C:/Ruby192/bin/rake:23:in `<main>'' > > I''ve seen similar issues raised but for different lines in the dll and > relating to sqlite3. I''m not using sqlite3 at all though. I''m on mysql with > the mysql2 connector. > > Any help? >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/rYAbC-8xcrwJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.