I'm running Windows 7 32 bit. I just installed Ruby 1.9.2 and Rails 3.0.1. I set up my rails sample application and everything seems to be working fine. I tried installing the restful_authentication plugin from github and it's been a nightmare. I'm executing the following command:
rails plugin install -force git://github.com/technoweenie/restful-authentication.git
...and i get the get the following error:
Cannot install using checkout because this project is not under subversion.
How do i get around this? I've installed both the SVN and Git command-line clients and they're in my PATH.
Yep, you should not use this plugin with Rails 3. Use devise.
Get a linux or a mac for Rails development.
According to the installation notes you need to simply clone the project to the plugins dir.
git clone git://github.com/technoweenie/restful-authentication.git restful_authentication
As others have suggested, devise is a better option.
Related
I just installed redmine via apt-get on Linux Mint 14. Before I added the repository from https://launchpad.net/~ondrej/+archive/redmine. Everything works fine.
Environment:
Redmine version 2.3.1.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.13
Next step would be for me to install a few plugins. I followed the instructions on
http://www.redmine.org/projects/redmine/wiki/Plugins.
The plugin to install http://www.redmine.org/plugins/redmine-projects-accordion
I created a directory /plugins under /usr/share/redmine (this is
where also the app-folder is).
Next step to do a rake redmine:plugins:migrate RAILS_ENV=production.
Now im getting a little Warning: WARNING: 'require 'rake/rdoctask'' is deprecated.
Next step is to restart apache(using passenger-mod) to restart
redmine. But there is no plugin on my administration.
As Im not a ruby/rails dev I can only guess where to search. Any ideas where to look for further information etc? Would be thankful for any advice.
Thanks a lot in advance.
Redmine is a ticket system as well as it is a issue tracker. Some companies are recently using redmine and it is developed by rails frame work. Now Redmine is upgraded its version to 2.x (recently 2.3 is the stable version). So , How can we use plugins in redmine 2.3 versions which we already implemented in redmine 1.x version.
Generally we can easily search the plugins from redmine plugins directory and do install , migration and restart the server i am sure some of you may get some issue at configuration level of the plugin from admin panel. So it depends up on the plugin version too.
You can find the better approach to install the plugins in redmine 2.3 in step by step process is explained in detail from this blog
http://mywayonrails.wordpress.com/2013/07/08/plugins-for-redmine-2-3
Does the acts-as-readable plugin work for rails 3? The instructions at https://github.com/mbleigh/acts-as-readable results in Plugin not found: ["http://svn.intridea.com/svn/public/acts_as_readable"]
Downloading the source from github and sticking it in vendor/plugin doesn't seem to work, I get: Could not find generator acts_as_readable_migration.
I am doing something wrong or should I look elsewhere?
I forked the plugin to my GitHub account and updated its generators to work with Rails 3, which can be found at https://github.com/tjackiw/acts-as-readable.
After you install it
rails plugin install git://github.com/tjackiw/acts-as-readable.git
then you can do
rails generate acts_as_readable_migration
Have fun!
try script/rails plugin install git://github.com/mbleigh/acts-as-readable.git to install it from that git repo.
Looks like it will install, but uncertain if it "works" given it hasn't been updated since 2008
I just installed Eclipse, then Ruby 1.9.2 then RailsInstaller. I then installed Aptana plugin for eclipse.
My directory setup are as follows:
C:\Ruby192
C:\RailsInstaller\Ruby1.8.7
When I create a new rails project in Eclipse, It throws this error:
LOL#LOL-PC /d/Projects/rail
$ rails .
sh.exe": rails: command not found
I found this solution, but it seems its for linux. I'm using Windows 7.
I reinstalled rails and ruby but its the same thing. I also had installed GitBash and GitExtensions a few months ago and had this problem. I solved it by pointing to the directory where Git was and setting the Default environment to HOME.
I now have no idea what to do to use ruby on rails in this error.
Add the place where you installed rails to your PATH environment variable. (Presumably C:\Ruby192\lib\ruby\gems\1.9.1\gems\rails*\bin)
I also noticed you are using the RailsInstaller for ruby 1.8.7 but seem to have installed ruby 1.9.2. This may cause trouble in the future.
Try following this guide for installing rails on windows. It uses gem install instead of the out dated RailsInstaller.
I found an example here showing how to install a Rails plugin. Their example shows this:
./script/plugin install calendar_helper
This won't work for me because, confusingly, I don't have anything called plugin in my script directory. All I have is rails:
$ ls script/
rails
So Rails doesn't come with the script you need to install plugins? You need a plugin to install plugins? That doesn't seem very likely. Is something wrong with my Rails project?
You're probably on Rails 3. Replace ./script/plugin with rails plugin.
rails plugin install calendar_helper
But the other problem is plugins, unlike gems, need to be installed with a full path. This was also true in Rails 2.x.
rails plugin install https://github.com/topfunky/calendar_helper.git
You should first input text like gem 'calendar_helper' in your Gemfile, and then run bundle install for rails 3.0
i am having this annoying problem when deploying rails plugins. I can install them by downloading the source and putting it in the vendor/plugins directory, But i want to do it with the easy command line. I am trying to install the will_paginate plugin.
tried this command ruby script/plugin install git://github.com/mislav/will_paginate.git
that doesn't work, i tried this one as well ruby script/plugin install http://github.com/mislav/will_paginate.git
the problem i am getting is, There is no error while installing the plugin from command line, but rather there is an empty folder created inside vendor/plugins directory by the name of will_paginate, And the folder is empty. Any solutions for this?
thanks.
It sounds like you don't have git installed. Are you using Windows? If so, you'll have to download and configure a command-line git client.
If you do have git installed and configured correctly, alternatively, from your root rails directory you could try:
git clone git://github.com/mislav/will_paginate.git vendor/plugins/will_paginate
ruby script/plugin install git://github.com/mislav/will_paginate.git
That should work for you. For reference, here is the blog post from github. According to that post, this was supported beginning in Rails 2.0.2, so you'll need to be using at least that version of Rails and have git installed locally.