Recent Posts

Pages:

Subscribe to Recent Posts 223 post(s) found

20 Nov, 2008 11:26 AM
Avatar Ayyanar 3 posts

Topic: FiveRuns TuneUp / RoutingError

As I said in the in my previous post in “Tuneup bar is not getting displayed”, we are using the config.gem in the environment.rb. We don’t use five runs tune up plugin. Plz let us know on how to fix the routing error

 
19 Nov, 2008 08:46 PM
Avatar spilth 5 posts

Topic: FiveRuns TuneUp / Deprecation and Route Problem

It seems my problem is that New Relic RPM and FiveRuns TuneUp don’t like to be in the same Rails project. Once I disabled NewRelic RPM (developer: disabled in my newrelic.yml:development environment), the TuneUp bar started showing up. I guess RPM’s route altering code was messing up TuneUp’s

 
19 Nov, 2008 02:49 PM
Avatar Joe C 2 posts

Topic: FiveRuns TuneUp / Tuneup bar is not getting displayed

Got it working, the doctype tag had a carriage return in the middle.
Changed:
<!DOCTYPE html PUBLIC ”-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
To:
<!DOCTYPE html PUBLIC ”-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
And everything started working.

 
19 Nov, 2008 01:35 PM
Avatar spilth 5 posts

Topic: FiveRuns TuneUp / Deprecation and Route Problem

Can anybody provide a solution to my second problem?
Whenever I load a page I get the following error:
ActionController::RoutingError (No route matches ”/tuneup/sandbox” with {:method=>:get}):
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/routing/route_set.rb:384:in `recognize’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:148:in `handle_request’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:107:in `dispatch’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:104:in `synchronize’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:104:in `dispatch’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:35:in `dispatch_without_newrelic’

 
18 Nov, 2008 10:24 PM
Avatar Joe C 2 posts

Topic: FiveRuns TuneUp / Tuneup bar is not getting displayed

Hi,
I’m having this same problem under:
- rails 2.1.1
- leopard 10.5
I followed the setup instructions verbatim, and nothing happened. I also don’t use the plugin but per the rails 2.1 setup instruction use the config.gem method

 
17 Nov, 2008 02:41 PM
Avatar rgagnon 8 posts

Topic: FiveRuns TuneUp / TuneUp with Rails 2.2.1 not working

After retest my mods about : “ActiveSupport:: in fiveruns_tuneup.rb” its seems to work.
Sorry for the confusion. Please confirm this modification is ok.
Rémi

 
17 Nov, 2008 07:08 AM
Avatar Ayyanar 3 posts

Topic: FiveRuns TuneUp / Tuneup bar is not getting displayed

Hi Rachel,
We configure config.gem in the environment.rb. We don’t install as plugin. We use rails 2.1.0.
Kindly let me know how to install the fiveruns as plugin to fix the sandbox error

 
15 Nov, 2008 06:36 AM
Avatar spilth 5 posts

Topic: FiveRuns TuneUp / Deprecation and Route Problem

I’m using Rails 2.1 so I’m using the Gem, which means I don’t have a vendor/plugins/firveruns_tuneup directory.

 
14 Nov, 2008 09:55 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / TuneUp with Rails 2.2.1 not working

Hi Rémi,
We are looking at this now.
Thanks,
Rachel

 
14 Nov, 2008 09:37 PM
Avatar rgagnon 8 posts

Topic: FiveRuns TuneUp / TuneUp with Rails 2.2.1 not working

I added ActiveSupport:: in fiveruns_tuneup.rb, now my server starts but no TuneUp bar

 
14 Nov, 2008 09:33 PM
Avatar rgagnon 8 posts

Topic: FiveRuns TuneUp / TuneUp with Rails 2.2.1 not working

I got this error
C:/Projects/workspace/AffairesElectroniques/vendor/rails/activesupport/lib/active_support/dependencies.rb:439:in `load_missing_constant’: uninitialized constant Dependencies (NameError)
from C:/Projects/workspace/AffairesElectroniques/vendor/rails/activesupport/lib/active_support/dependencies.rb:77:in `const_missing’
from C:/Projects/workspace/AffairesElectroniques/vendor/rails/activesupport/lib/active_support/dependencies.rb:89:in `const_missing’
from C:/ruby/lib/ruby/gems/1.8/gems/fiveruns_tuneup-0.8.17/lib/fiveruns_tuneup.rb:1
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require’
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’
from C:/Projects/workspace/AffairesElectroniques/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require’
from C:/Projects/workspace/AffairesElectroniques/vendor/rails/activesupport/lib/active_support/dependencies.rb:515:in `new_constants_in’
from C:/Projects/workspace/AffairesElectroniques/vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require’
... 21 levels…
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’
from ./script/server:3
from -e:2:in `load’
from -e:2

 
14 Nov, 2008 08:49 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / RoutingError

Hi Jimmy,
We do have a work around for the routing problem. If you can rename the fiveruns_tuneup plugin in your /vendor/plugins directory to zfiveruns_tuneup the TuneUp bar should show up.
We use alias_method_chain for the routing, but it looks like there is another plugin that is monkey-patched, so our plugin will need to load last.
Thanks,
Rachel

 
14 Nov, 2008 08:47 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / Tuneup bar is not getting displayed

Hi Karthik and Doug,
We do have a work around for the routing problem. If you can rename the fiveruns_tuneup plugin in your /vendor/plugins directory to zfiveruns_tuneup the TuneUp bar should show up.
We use alias_method_chain for the routing, but it looks like there is another plugin that is monkey-patched, so our plugin will need to load last.
Thanks,
Rachel

 
14 Nov, 2008 08:46 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / Deprecation and Route Problem

Hi Spilth,
We do have a work around for the routing problem. If you can rename the fiveruns_tuneup plugin in your /vendor/plugins directory to zfiveruns_tuneup the TuneUp bar should show up.
We use alias_method_chain for the routing, but it looks like there is another plugin that is monkey-patched, so our plugin will need to load last.
Sorry for the delay in getting this out.
Thanks,
Rachel

 
14 Nov, 2008 07:17 PM
Avatar spilth 5 posts

Topic: FiveRuns TuneUp / Deprecation and Route Problem

Yes, I state in my original post that I found the workaround to the Deprecation problem. Unfortunately the routing problem still seems to prevent me from seeing that TuneUp bar at all.

 
14 Nov, 2008 06:01 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / Tuneup bar is not getting displayed

We are looking into this issue now. I will post here when we have this resolved.
Thanks,
Rachel

 
14 Nov, 2008 05:51 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / Deprecation and Route Problem

Hi spilth,

We have a work around for the deprecation error you are seeing. You can add this to the tune.rb file. We will have a fix in the next release of the TuneUp gem.



deps = defined?(ActiveSupport::Dependencies) ? ActiveSupport::Dependencies : Dependencies
deps.load_paths.unshift File.dirname(__FILE__)%


We are working on the /tuneup/sandbox routing issue. I will post another comment here when I have more data.
Thanks,
Rachel
 
14 Nov, 2008 02:01 AM
Avatar spilth 5 posts

Topic: FiveRuns TuneUp / Deprecation and Route Problem

TuneUp looks great but unfortunately it’s not working for me. Here are the two problems I’m having:
1) When starting up Mongrel I get the following error:
FiveRuns TuneUp (v0.8.17): Logging in /Users/brian/Projects/GeekFor/geekfor/log/tuneup.log
DEPRECATION WARNING: Dependencies is deprecated! Use ActiveSupport::Dependencies instead. See http://www.rubyonrails.org/deprecation for details. (called from /Library/Ruby/Gems/1.8/gems/fiveruns_tuneup-0.8.17/lib/fiveruns_tuneup.rb:1)
I addressed this problem by changing my /Library/Ruby/Gems/1.8/gems/fiveruns_tuneup-0.8.17/lib/fiveruns_tuneup.rb to the following suggested on the board:
deps = defined?(ActiveSupport::Dependencies) ? ActiveSupport::Dependencies : Dependencies
deps.load_paths.unshift File.dirname(FILE)
2) Whenever I load a page I get the following error:
ActionController::RoutingError (No route matches ”/tuneup/sandbox” with {:method=>:get}):
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/routing/route_set.rb:384:in `recognize’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:148:in `handle_request’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:107:in `dispatch’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:104:in `synchronize’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:104:in `dispatch’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi’
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:35:in `dispatch_without_newrelic’
Here are my version details:
- Mac OS X 10.5.5
- Rails 2.1.1
- Ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
- RubyGems 1.2.0

 
13 Nov, 2008 03:40 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / "can't activate activesupport (>= 0, runtime), already activated activesupport-2.1.0" error

Hi Nick,
Are your gems frozen by any chance? Because the TuneUp gem functions as a plugin it cannot be frozen. You can lock the gem instead and it should work just fine.
Let me know if you continue to have issues.
Thanks,
Rachel

 
13 Nov, 2008 03:38 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / Supported operating system

Hi Ayyanar,
TuneUp doesn’t care what OS you are running, so using Windows XP should not make a difference.
Is your Rails environment set to development? Are you seeing any exceptions?
Any additional info you can provide will help us troubleshoot.
Thanks,
Rachel

 
13 Nov, 2008 08:25 AM
Avatar Ayyanar 3 posts

Topic: FiveRuns TuneUp / Supported operating system

What is the supported operating system of tuneup? Iam using windows xp. Iam able to install the gem but I don’t think tuneup is working:
1) tuneup.log is not getting created
2) No tuneup related code in the browser page( firefox->view source)
3) No tuneup related information when I start the development server (Iam using aptana and started the server from there)

 
12 Nov, 2008 03:51 PM
Avatar Doug 1 posts

Topic: FiveRuns TuneUp / Tuneup bar is not getting displayed

I’m getting the same problem on Mac OS X using Rails 2.1.1 and 2.1.2.

 
12 Nov, 2008 10:54 AM
Avatar Nick Sellen 2 posts

Topic: FiveRuns TuneUp / "can't activate activesupport (>= 0, runtime), already activated activesupport-2.1.0" error

hmm, sorry, formatting is a bit screwy…

 
12 Nov, 2008 10:53 AM
Avatar Nick Sellen 2 posts

Topic: FiveRuns TuneUp / "can't activate activesupport (>= 0, runtime), already activated activesupport-2.1.0" error

Hi I’m getting this error when trying to us fiveruns tuneup:
“can’t activate activesupport (>= 0, runtime), already activated activesupport-2.1.0”
Here is some info about my rails application:
root current (w01): ruby script/about
About your application’s environment
Ruby version 1.8.6 (i386-solaris2.10)
RubyGems version 1.3.0
Rails version 2.1.0
Active Record version 2.1.0
Action Pack version 2.1.0
Active Resource version 2.1.0
Action Mailer version 2.1.0
Active Support version 2.1.0
Edge Rails revision unknown
Application root /var/rorapps/appname/releases/20081111150740
Environment development
Database adapter mysql
Database schema version 0
and my gems:
root current (w01): gem list
  • LOCAL GEMS *
    actionmailer (2.1.1, 2.0.2)
    actionpack (2.1.1, 2.0.2)
    activerecord (2.1.1, 2.0.2)
    activeresource (2.1.1, 2.0.2)
    activesupport (2.1.1, 2.0.2)
    eventfulapi (2.2.1)
    fastthread (1.0.1)
    fiveruns_tuneup (0.8.17)
    hoe (1.8.2, 1.8.0)
    json (1.1.3)
    json_pure (1.1.3)
    mime-types (1.15)
    paginator (1.1.1)
    rails (2.1.1, 2.0.2)
    rake (0.8.3, 0.8.1)
    ruby-lsapi (3.3)
    rubyforge (1.0.1)
    rubyrun (0.9.8)
    simple-rss (1.1)
    twfy (1.0.1)
    any help would be much appreciated, I’ve used fiveruns successfully on another one of my apps and it’s awesome!
    cheers,
    nick
 
11 Nov, 2008 03:34 PM
Avatar rgagnon 8 posts

Topic: FiveRuns TuneUp / Enabling TuneUp only in dev mode

It seems that when I run my rspec(with autospec) or even manually, that TuneUp is enabled so I have to do this to enable it only for dev:
config.gem ‘fiveruns_tuneup’ unless ENV[‘RAILS_ENV’] != ‘development’

 
11 Nov, 2008 01:59 PM
Avatar rgagnon 8 posts

Topic: FiveRuns TuneUp / "Gems::FiverunsTuneup-0.8.17::Lib::Fiveruns" is not a valid constant name!

Thank you Rachel, But I would like to share the to other without having to tell them to install the gem.
We have plenty of gems and I’d like to put in the app, it makes it easier to keep control of the developper’s setup.
Rémi

 
11 Nov, 2008 12:14 PM
Avatar Karthik 1 posts

Topic: FiveRuns TuneUp / Tuneup bar is not getting displayed

We are using the following configurations:
1. latest version of Fiveruns Tuneup gem
2. Rails 2.1
3. OS: Fedora 8
4. Browser: Firefox latest version
We are not able to see the Fiveruns Tuneup bar in our application pages. When we checked the ‘View Source’ of the page in firefox, we are able to see the tuneup javascripts loaded. Also there is no error in the ‘tuneup.log’.
We see the following error in the development log.
ActionController::RoutingError (No route matches ”/tuneup/sandbox” with {:method=>:get}):
/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path’
Please help me in fixing this.
Thanks in advance…

 
10 Nov, 2008 10:24 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / Installing from github

Hi Zubin,
We have chosen to only release the gem via RubyForge. That way we don’t have two sets out and available.
You can do a manual install with the following steps:
git clone git://github.com/fiveruns/fiveruns_tuneup.git
cd fiveruns_tuneup
sudo rake install
The “echoe” gem is currently required to build the TuneUp gem.
Thanks,
Rachel

 
10 Nov, 2008 09:41 PM
Avatar Rachel G 48 posts

Topic: FiveRuns TuneUp / "Gems::FiverunsTuneup-0.8.17::Lib::Fiveruns" is not a valid constant name!

Hi Rémi,
There is an issue in Rails with unpacking plugin style gems. You do not need to unpack the TuneUp gem, you can just do the config.gem in your environment.rb file.
Thanks,
Rachel

 
10 Nov, 2008 09:29 PM
Avatar rgagnon 8 posts

Topic: FiveRuns TuneUp / "Gems::FiverunsTuneup-0.8.17::Lib::Fiveruns" is not a valid constant name!

When I try to put the gem in my application via : rake gems:unpack
I get the error when I start my server.
“Gems::FiverunsTuneup-0.8.17::Lib::Fiveruns” is not a valid constant name!
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:116:in `qualified_const_defined?’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:339:in `new_constants_in’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:331:in `collect’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:331:in `new_constants_in’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:215:in `load_file’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:96:in `require_or_load’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:261:in `load_missing_constant’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:468:in `const_missing’
C:/Projects/workspace/Vitrier/vendor/gems/fiveruns_tuneup-0.8.17/rails/init.rb:1:in `evaluate_init_rb’

Next page

Pages: