Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Rails 3 - Windows Vista x64 - Error "different prefix:" - Two Hard Drives #660
Imported from Lighthouse. Original ticket at: http://rails.lighthouseapp.com/projects/8994/tickets/4113
This unique situation comes from having your Ruby on Rails project on one hard drive and your bundler gems installed by default on another drive.
I have confirmed with Bundler Dev that this issue is coming from Rails and probably ActiveSupport
This issue was resolved by creating a system link and launching rails server from within the 'new' system link folder.
The command you ran to generate exception(s)
Imported from Lighthouse.
FYI, this isn't just when the files are on two different drives. Here I have the error cropping up even though ruby is installed on my D: drive, which also where my rails app and sever are running from.
different prefix: "d:/" and "D:/Ruby187/lib/ruby/gems/1.8/gems/declarative_authorization-0.4.1/app/controllers"
hope it helps, basically putting me to a standstill - I don't see how to mklink my way out of this one?