Within Flex Debugging with Ruby on Rails?

Hello guys
I want to debug within adobe flex builder like we do in normal projects !
I installed a local ruby on rails server, Now how could i connect/debug dynamically?
Thanks a lot

ok

Similar Messages

  • Crystal report demo with ruby on rails

    Hi,
    how to integrate crystal reports with ruby on rails.
    Thanks & Regards,
    RadhaKrishna K
    Edited by: radhakrishna04 on May 6, 2010 1:43 PM

    ok

  • Problem: fcgi with ruby on rails

    hi!
    i'm working on an application using an ajax based web frontend developed with ruby on rails.
    with oracle apache's normal cgi this runs, but very slow (4+sec latency) compared to webricks.
    does anyone have some pointers how to get fastcgi to work under these circumstances?
    i'm looking for a solution on solaris.
    thanks, cornelius

    Hi,
    can you provide some error messages from the logs?

  • Ajax with Ruby on Rails and Oracle Database

    Ajax may be used with Ruby on Rails and Oracle database.
    http://www.ftponline.com/channels/java/2007_02/dvohra/

    okay, that helped. Here's what I get:
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
    comp_err mysql_zap
    makesharedlibdistribution mysqlaccess
    makewin_bindist mysqlaccess.conf
    makewin_srcdistribution mysqladmin
    msql2mysql mysqlbinlog
    myprintdefaults mysqlbug
    myisam_ftdump mysqlcheck
    myisamchk mysqld
    myisamlog mysqld_multi
    myisampack mysqld_safe
    mysql mysqldump
    mysqlclienttest mysqldumpslow
    mysql_config mysqlhotcopy
    mysqlconvert_tableformat mysqlimport
    mysqlcreate_systemtables mysqlmanager
    mysqlexplainlog mysqlshow
    mysqlfindrows mysqltest
    mysqlfixextensions mysqltestmanager
    mysqlfix_privilegetables mysqltestmanager-pwgen
    mysqlsecureinstallation mysqltestmanagerc
    mysql_setpermission perror
    mysql_tableinfo replace
    mysqltzinfo_tosql resolvestackdump
    mysql_upgrade resolveip
    mysqlupgradeshell safe_mysqld
    mysql_waitpid
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
    How would I create a new database from here?

  • Spry with Ruby on Rails

    Does anyone know if its possible to integrate the Spry
    Framework with Ruby on Rails?

    okay, that helped. Here's what I get:
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
    comp_err mysql_zap
    makesharedlibdistribution mysqlaccess
    makewin_bindist mysqlaccess.conf
    makewin_srcdistribution mysqladmin
    msql2mysql mysqlbinlog
    myprintdefaults mysqlbug
    myisam_ftdump mysqlcheck
    myisamchk mysqld
    myisamlog mysqld_multi
    myisampack mysqld_safe
    mysql mysqldump
    mysqlclienttest mysqldumpslow
    mysql_config mysqlhotcopy
    mysqlconvert_tableformat mysqlimport
    mysqlcreate_systemtables mysqlmanager
    mysqlexplainlog mysqlshow
    mysqlfindrows mysqltest
    mysqlfixextensions mysqltestmanager
    mysqlfix_privilegetables mysqltestmanager-pwgen
    mysqlsecureinstallation mysqltestmanagerc
    mysql_setpermission perror
    mysql_tableinfo replace
    mysqltzinfo_tosql resolvestackdump
    mysql_upgrade resolveip
    mysqlupgradeshell safe_mysqld
    mysql_waitpid
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
    How would I create a new database from here?

  • Are there any recent tutorials or information for integrating Adobe Flex with Ruby on Rails 4?

    I've combed and searched extensively and most of the documentation is anywhere from 4 to 7 years old.  A lot of it focuses on outdated gems or libraries.  I've even seen Rails 2.0 as a focus for a lot of this information.
    I would just like to know if anyone has any valid resources for the latest Adobe Flex integrating with a Rails 4.x application.  And, if so, where is this hidden information listed or located?
    Thanks.

    I've combed and searched extensively and most of the documentation is anywhere from 4 to 7 years old.  A lot of it focuses on outdated gems or libraries.  I've even seen Rails 2.0 as a focus for a lot of this information.
    I would just like to know if anyone has any valid resources for the latest Adobe Flex integrating with a Rails 4.x application.  And, if so, where is this hidden information listed or located?
    Thanks.

  • Help with Ruby on Rails and mysql - I just don't get the terminal...

    Let me just start by saying I'm pretty new to using the terminal and unix commands. I've been trying to teach myself how to use Ruby on Rails (ror) over the pasy couple of days and have had some luck but I'm struggling with the terminal.
    For instance, when starting a new ror project I need to use the terminal to creat a new database schema (I think this the right terminology) within mysql. The tutorials I'm using suggest that I use the terminal to create the database with a command like:
    mysqladmin -u root -p create expenses_development
    no matter how I try I cannot seem to find the way to make this work. I contunue to switch directories in the terminal, but am not getting anywhere. Can someone shed some light on where I could be going wrong?
    thanks in advance
    MacBook Pro Core 2 Duo 2.33 Mac OS X (10.4.8) 2 GB RAM

    okay, that helped. Here's what I get:
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
    comp_err mysql_zap
    makesharedlibdistribution mysqlaccess
    makewin_bindist mysqlaccess.conf
    makewin_srcdistribution mysqladmin
    msql2mysql mysqlbinlog
    myprintdefaults mysqlbug
    myisam_ftdump mysqlcheck
    myisamchk mysqld
    myisamlog mysqld_multi
    myisampack mysqld_safe
    mysql mysqldump
    mysqlclienttest mysqldumpslow
    mysql_config mysqlhotcopy
    mysqlconvert_tableformat mysqlimport
    mysqlcreate_systemtables mysqlmanager
    mysqlexplainlog mysqlshow
    mysqlfindrows mysqltest
    mysqlfixextensions mysqltestmanager
    mysqlfix_privilegetables mysqltestmanager-pwgen
    mysqlsecureinstallation mysqltestmanagerc
    mysql_setpermission perror
    mysql_tableinfo replace
    mysqltzinfo_tosql resolvestackdump
    mysql_upgrade resolveip
    mysqlupgradeshell safe_mysqld
    mysql_waitpid
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
    How would I create a new database from here?

  • Integration with Ruby On Rails

    Post Author: ayyanar
    CA Forum: Integrated Solutions
    Hi,
    I need to pass the xml to the crystal report template dynamically and invoke the crystal report viewer from the rails application to view the report.
    Kindly suggest some solutions.
    Thanks,
    Ayyanar. A

    Post Author: ayyanar
    CA Forum: Integrated Solutions
    Hi,
    I need to pass the xml to the crystal report template dynamically and invoke the crystal report viewer from the rails application to view the report.
    Kindly suggest some solutions.
    Thanks,
    Ayyanar. A

  • Integrating Crystal Reports with Ruby on Rails

    Hello:
    I am looking to integrate Crystal Reports into my ROR application. I have been following this weblog for guidance - http://kkarthik.wordpress.com/ - but cannot seem to find any more resources for this on the web. Does this seem like the best method for doing so, and if not, what would be? Also, I am unable to locate all of the required JAR files for this process. Are these included in the download of either Crystal Reports 2008 or Crystal Reports Server 2008? I have these downloaded and still cannot locate the files. Thank you in advance for the support!

    The jar files etc. are available as part of Crystal Reports For Eclipse (CR4E). Don't think they're included as part of Crystal Reports 2008.
    The approach in the blog you linked to is fairly straightforward. As long as you're using JRuby you should allow you to make calls to the Java reporting API. The example in the blog looks fairly limited, it just produces a pdf from a report file, XML schema and data file.
    Making use of the viewer functionality that's part of CR4E will be a bit trickier as it looks like this needs to make calls to a servlet.
    Good luck!
    Tom.

  • [SOLVED]Ruby on Rails won't run with apache/passenger

    Hi I want to run Redmine, a Ruby on Rails application, on a personal server using MariaDB as the database and Apache with the Phusion Passenger module as the application platform. So far I am able to run Redmine with the default WeBrick server, but if I try to run it via Apache (http://192.168.1.5/redmine) I just get the directory index of  /usr/share/webapps/redmine. I've been running various php webapps using this apache installation without issues but my unfamiliarity with Ruby on Rails makes me unsure how to fix this. If I create a Ruby on Rails test  application as described at https://wiki.archlinux.org/index.php/Ru … figuration I get the same issue.
    Using the arch wiki articles on Ruby on Rails and Redmine, This is basically how I installed things:
    $ yaourt -S ruby1.9 rubygems1.9 nodejs redmine
    # gem-1.9 install rails
    # gem-1.9 install passenger
    /opt/ruby-1-9/ and subfolders ended up having no read/exexute permissions for 'other', probably because of my umask settings, so I changed the permissions, also because apache runs as user/group 'apache'.
    Ran the script that installs the passenger apache module:
    # /opt/ruby1.9/bin/passenger-install-apache2-module
    added to httpd.conf:
    LoadModule passenger_module /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/libout/apache2/mod_passenger.so
    PassengerRoot /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5
    PassengerDefaultRuby /opt/ruby1.9/bin/ruby
    ServerName arch-server
    DocumentRoot /usr/share/webapps
    <Directory "/usr/share/webapps">
    # This relaxes Apache security settings.
    AllowOverride all
    Order allow,deny
    Allow from all
    # MultiViews must be turned off.
    Options -MultiViews
    </Directory>
    I checked if the passenger module is loaded, and judging from /var/log/httpd/error_log that seems the case:
    [ 2013-07-03 22:52:22.8947 28902/b7407700 agents/Watchdog/Main.cpp:440 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nobody', 'default_python' => 'python', 'default_ruby' => '/opt/ruby1.9/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '0', 'max_pool_size' => '6', 'passenger_root' => '/opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_pid' => '28901', 'web_server_type' => 'apache', 'web_server_worker_gid' => '1001', 'web_server_worker_uid' => '1006' }
    [ 2013-07-03 22:52:22.9120 28905/b73bd700 agents/HelperAgent/Main.cpp:555 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.28901/generation-0/request
    [ 2013-07-03 22:52:22.9262 28902/b7407700 agents/Watchdog/Main.cpp:564 ]: All Phusion Passenger agents started!
    [ 2013-07-03 22:52:22.9266 28910/b71dd700 agents/LoggingAgent/Main.cpp:271 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.28901/generation-0/logging
    [Wed Jul 03 22:52:22 2013] [notice] Apache/2.2.24 (Unix) PHP/5.4.16 mod_ssl/2.2.24 OpenSSL/1.0.1e DAV/2 Phusion_Passenger/4.0.5 configured -- resuming normal operations
    'apachectl configtest' gives 'Syntax OK'.
    I followed the wiki on redmine (https://wiki.archlinux.org/index.php/Redmine), chose to use "bundle install" to install the required gems with only a 'production' environment. What worried me is that those gems are now in /root/.gems while the webserver runs as user 'apache'.
    I can run Redmine at 192.168.1.5:3000 without errors using:
    # ruby script/rails server webrick -e production
    But if I kill it and try via apache http://192.168.1.5/redmine I get a directory content listing.
    Last edited by rwd (2013-07-04 21:00:10)

    Thanks markocz, my use of sub-url was indeed the problem. With help from the linked article I did the following:
    # mkdir /usr/share/webapps/phusion-passenger/
    # ln -s /usr/share/webapps/redmine/public /usr/share/webapps/phusion-passenger/redmine
    # chown -R root:http /usr/share/webapps/
    # chmod -R g+rx /usr/share/webapps/
    httpd.conf now looks like this:
    LoadModule passenger_module /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/libout/apache2/mod_passenger.so
    PassengerRoot /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5
    PassengerDefaultRuby /opt/ruby1.9/bin/ruby
    ServerName arch-server
    DocumentRoot /usr/share/webapps/phusion-passenger
    <Directory "/usr/share/webapps/phusion-passenger">
    # This relaxes Apache security settings.
    AllowOverride all
    Order allow,deny
    Allow from all
    # MultiViews must be turned off.
    Options +FollowSymLinks
    </Directory>
    RailsBaseURI /redmine
    <Directory "/usr/share/webapps/phusion-passenger/redmine">
    Options -MultiViews
    </Directory>
    Redmine now works via passenger.
    Last edited by rwd (2013-07-04 20:59:40)

  • Ruby on rails in archlinux bootstrap instalation

    I have 6 servers that were migrated from CentOS to Archlinux. They run apache with ruby on rails. The installations were done via bootstrap with one exception. In all they had to have them installed via bootstrap error "invalid byte sequence in US-ASCII ". I created a debug to see what is happening because the whole application runs on UTF-8. I noticed that the servers installed with bootstrap changed the environment variables, these changes occurred with the application running.
    before the error
    ENV inspect {"XDG_DATA_HOME"=>"/root/.local/share", "GEM_HOME"=>"/usr/lib/ruby/gems/1.9.1", "TERM"=>"xterm", "SHELL"=>"/bin/bash", "SSH_CLIENT"=>"***.**.** 45873 22", "OLDPWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "SSH_TTY"=>"/dev/pts/0", "USER"=>"mongrel", "XDG_CONFIG_DIRS"=>"/etc/xdg", "MAIL"=>"/var/mail/root", "PATH"=>"/usr/lib/ruby/gems/1.9.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl", "PWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "LANG"=>"pt_BR.UTF-8", "PS3"=>"> ", "SHLVL"=>"3", "PS4"=>"+ ", "HOME"=>"/home/mongrel", "XDG_CONFIG_HOME"=>"/root/.config", "BUNDLE_GEMFILE"=>"/home/fusion-apps/minika.objectdata.com.br/rails/Gemfile", "XDG_CACHE_HOME"=>"/root/.cache", "LOGNAME"=>"mongrel", "XDG_DATA_DIRS"=>"/usr/share/:/usr/local/share/", "SSH_CONNECTION"=>"201.95.50.68 45873 192.168.0.200 22", "GEM_PATH"=>"", "PROMPT_COMMAND"=>"echo -ne \"\\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\\007\"", "RUBYOPT"=>"-I/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib -rbundler/setup", "BUNDLE_BIN_PATH"=>"/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/bin/bundle", "G_BROKEN_FILENAMES"=>"1", "_"=>"/usr/bin/bundle", "RAILS_ENV"=>"production"}
    $LANG => pt_BR.UTF-8
    after error
    ENV inspect {"GEM_HOME"=>"/usr/lib/ruby/gems/1.9.1", "SHELL"=>"/bin/bash", "SSH_CLIENT"=>"***.**.** 12975 22", "OLDPWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "USER"=>"mongrel", "MAIL"=>"/var/mail/root", "PATH"=>"/usr/lib/ruby/gems/1.9.1/bin:/usr/bin:/bin:/usr/sbin:/sbin", "PWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "SHLVL"=>"3", "HOME"=>"/home/mongrel", "BUNDLE_GEMFILE"=>"/home/fusion-apps/minika.objectdata.com.br/rails/Gemfile", "LOGNAME"=>"mongrel", "SSH_CONNECTION"=>"189.111.110.78 12975 192.168.0.200 22", "GEM_PATH"=>"", "RUBYOPT"=>"-I/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib -rbundler/setup", "BUNDLE_BIN_PATH"=>"/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/bin/bundle", "_"=>"/usr/bin/bundle", "RAILS_ENV"=>"production"}
    $LANG =>
    The frequency of the error is one of the servers is 30 in 30 minutes, which made me disable syslog and crontab, but still not resolved, the others are one time during the day or at night.
    As I said, the facilities with Centos or Arch with CD do not present problems.
    Last edited by ariveira (2011-05-20 13:26:14)

    One topic, bootstrap install usage http://arm.konnichi.com/2010/10/18/ repo because limit of Centos, after pacman -Suy

  • Ruby on Rails environment

    I have tried the Apple tutorial and Adam Blackbourne's book and website and still cannot get a functional environment started so that I can develop using Ruby on Rails. I get Ruby installed, Textmate installed, and then seem to get bogged down with Textmate and sql. I seem not to have mysql properly installed but I can't figure out what's wrong. Both these sources above refer to some great package call Locomotive that is "the golden path..." but it has been withdrawn by its author. Any ideas on how to proceed? What sources are available?

    Hi,
    I'm not sure what your stated problem is here? It seems you are describing problems with Ruby on Rails on Leopard and coincidentally with mysql based on the Apple tutorial; are these one problem or two? Please note that the tutorial is describing running mysql on server which is part of the 10.5 server package.
    I have been running Rails 2.0.2 on Leopard client which I loaded following the tutorial (once I loaded Xcode 3 on the client as well). Since Rails 2.0 comes with sqlite3 as its default database, you can be up and running on 10.5 client in short order and save your mysql for deployment. In my case I also have 10.5 Server and have been testing with Rails and reverse proxies while operating in development mode (with sqlite3). When I start porting over to Server, mysql is a service on server and has a unique configuration. So the tutorial may not be applicable if you are using it with a mysql standard type install. You can read about the server install environment of mysql at
    http://docs.info.apple.com/article.html?path=ServerAdmin/10.5/en/c6ws25.html
    Actually, Ruby on Rails 2.0.2, TextMate and Ruby-Debug form a great environment for development. Not quite an IDE on 10.5 but almost there.
    Hope this helps,
    Harry

  • Flash Builder 4 and Ruby on Rails

    Hello,
    Currently I am using Flex Builder 3 and RestfulX framework to integrate with Ruby on Rails. Now with Builder 4 adding data centric features there may be an alternative way.
    I wonder what it would take and how one would add support for Ruby on Rails to data centric services of Flash Builder 4
    Here it talks about a possibility of  extending it for Ruby on Rails but provides no link to relevant info.
    http://livedocs.adobe.com/flex/gumbo/html/WSbde04e3d3e6474c417f95e9b120d4172ac1-7fff.html# WSbde04e3d3e6474c4-49529de3120edf1cd4e-8000
    thank you,
    Slava

    Hi
    FB4 DCD supports extensibility through which additional server technologies could be supported. Unfortunately, we have not yet added documentation on this. If you would be interested in building ruby on rails support to FB DCD, please drop me a note at rkrishnaATadobeDOTcom.
    Thanks,
    Ram

  • CRUD Ruby on Rails Oracle database

    A Create-Read-Update-Delete application may be developed with Ruby on Rails and Oracle database.
    http://www.regdeveloper.co.uk/2006/07/03/ruby_rails_part1/
    http://www.regdeveloper.co.uk/2006/07/17/ruby_rails_part2/

    Hello Deepak,
    Thanks a lot for this great content.
    Feel feel to contact OTN editors if you want to publish new articles on Oracle Tech site.
    Tugdual Grall

  • Mixing up Ruby on Rails & ABAP

    Hello,
    last week I bought a German magazin called "XI" (http://www.heise.de/ix/inhalt.html ).
    With Ruby on Rails 3.0 the framwork was completly rewritten and will become the future web development framework.
    Is it possible to use Ruby on Rails as Web Frontend where the business logic will be developed in ABAP OO?
    Regards & Thanks,
    Guido Brune

    Hi Mr. X,
    follow these steps: (as root)
    1) install rubygems:
    pacman -S rubygems
    2) install rails:
    gem install rails
    3) install sqlite3 and ruby-slite3:
    pacman -S sqlite3 ruby-sqlite3
    (if you prefer you can install mysql)
    4) install mongrel (it's faster than webrick)
    gem install mongrel
    Now you have the complete Rails stack.
    Enjoy
    Last edited by luca (2008-06-12 10:54:30)

Maybe you are looking for