Ruby on Rails Friday, December 20, 2013




On Fri, Dec 20, 2013 at 6:48 PM, Toby Rodwell <lists@ruby-forum.com> wrote:
I have a Rails application runnng on one machien quite happily, using
Ruby 1.9.1-p243 and Rails 2.3.3.  I copied the app and config folders to
another machine, on which I'm also running 1.9.1-p243, but via RVM.
Whenever I try to launch the Rails application ('server', 'runner',
'console') I get the error message  "no such file to load --
my_extensions (MissingSourceFile)".

Based on one googled suggestion I created a nearly empty file,
$ROOT/config/initializers/my_extensions.rb
but this did not help.  I'm also wondering if I need to create a
'wrapper' as I've seen this mentioned int he contect of using Rails and
RVM - but I can't see what I would need to do for, say, 'ruuner'.  All
advice gratefully received.

So, really no idea what's going on here, but it sounds like there's a library of my_extensions.rb someplace that maybe didn't get copied over, or wasn't bundled correctly? Look through the Gemfile, the Gemfile.lock, the old installation, etc. Sorry if you've already gone over all that, I just am taking a shot in the dark.
 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHUC_t98k%3DcsU7pOo%2BR380-LSknPuiXnmZCadEfpaZ46O-3zSg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment