Hi, .gems file is only used to install gems. It does not load any of them. So you can just add "routing-filter" to the file and not worry about loading. Remember, you also need to add the usual config.gem part to your environment.rb file.
If your rake tasks require the specs library, you will need to make sure those gems are installed by adding them to .gems file. You can automatically exclude certain files and directories by using the .slugignore file. It works similar to how .gitignore file works. Regards, Mooktakim Ahmed On 30 June 2010 05:33, Amiruddin Nagri <[email protected]> wrote: > Hi Chris, > > Thanks for reply. I am using most of the plugins as gem. Isn't this a > preferred way ? > > have you removed the specs dir permanently, or just for the deployment ? > Also, removing spec dirs just to upload your app to heroku is a bit risky, > what about the rake tasks, in my case there are few rake tasks in lib/tasks > folder which refer to test env plugins like rspec and cucumber. Because of > those my app is failing on heroku. > > > Regards, > Amiruddin Nagri, > Bangalore, 560008, KA > India > > Y! IM : [email protected] > GTalk : [email protected] > > > > > On Wed, Jun 30, 2010 at 2:17 AM, chris <[email protected]> wrote: > >> We use the routing_filter gem as a plugin in our app on heroku: >> >> script/plugin install git://github.com/svenfuchs/routing-filter.git >> >> We also removed the spec directory entirely, after installing the >> plugin. >> >> On Jun 26, 2:14 pm, Amiruddin Nagri <[email protected]> wrote: >> > The issue seems to be I have a lot of rake tasks which are related to >> > running specs. All these rake files are in lib/tasks folder. >> > >> > Should I keep them somewhere else ? >> > >> > Regards, >> > Amiruddin Nagri >> > >> > On Sat, Jun 26, 2010 at 10:53 PM, Amiruddin Nagri <[email protected] >> >wrote: >> > >> > > I am trying to install routing filter gem in my app, the problem with >> > > routing filter is the gem name is different from lib file name, this >> is how >> > > I use it from environment.rb >> > >> > > config.gem "routing-filter", :version => '0.0.1', :lib => >> > > 'routing_filter' >> > >> > > what will be the equivalent line in .gems file ? >> > >> > > Apologies for my limited knowlege of rubygems, but I have tried all >> resorts >> > > including googling like crazy, nothing seems to point at anything >> useful. >> > >> > > My application is on spiker.heroku.com >> > >> > > Regards, >> > > Amiruddin Nagri >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<heroku%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<heroku%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
