-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm Ruby on Rails 3 compatibility. #18
Comments
What do you need to know? I can do some testing if I know what I should be looking for. |
I was trying backup on Rails3, I encountered the following errors when starting the server, not sure is the bug in backup or in bundler: FYI. |
I'll try and get on this one this week and see if I can get it to happen on a clean install of Rails 3. RVM rules! |
RVM rules indeed! But man I gotta say I really love the UNIX adapter more than the Rails one. Cause Rails becomes a dependency, but it's a nice plug and play feature. However I actually never use it that way anymore. Always do a clean UNIX adapter install. Hopefully new features will be out fairly soon which will enable multiple databases and storage locations at the same time. That'd really be an awesome addition! |
I am currently working on implementing Ruby on Rails 3 support. This is one big drama lama haha. I have to rename modules/constants because RAILS_ROOT is deprecated and I'm trying to use Then the next issue occurred! Namely that the Rails constant is not being set because the rake tasks execute the Backup gem while it's already loaded, meaning that we get this: To fix this I have wrapped the whole top of lib/backup.rb that should initialize in a
Which loads everything basically. So also for UNIX environment, this will be added in the bin file. But this was quite a bitch to get working, but as far as I can see after I solved the issue, Backup just worked! I'm probably pushing a rails3 branch soon so anyone that's interested can check it out. The idea is to support both Rails 2, Rails 3 and Unix in a single gem. |
For what would be placed in the bin file.
outputs:
So |
Also started working on Ruby on Rails 3 generators. These have pretty much already been implemented so these will be included in the Rails3 branch. |
Started the rails3 branch! Added Rails 3 Generator: Added Rails 3 Compatibility for Backup: |
Merged into master, released gem 2.4.0 - Ruby on Rails 3 support. Closed by 102b97d |
Have not yet tested Backup on Rails 3. Noticed there was a branch that was working on it, but seems to be inactive at the moment and never received a pull request. Will look into this soon.
If anyone has Backup running with Rails 3 at the moment, please comment below.
The text was updated successfully, but these errors were encountered: