How do I live preview a Ruby on Rails/Ember application?

I have a Ruby on Rails application and I am under the impression that Edge Code will work with locally hosted web servers to use live preview. I have set up the project settings to use the locally hosted address: http://localhost:3000/ ... However when I use Live Preview I receive the following error.
"Open an HTML file or make sure there is an index.html file in your project in order to launch live preview."
I have done so and I meet the criteria but it doesn't seem to work. Does Adobe Edge Code support this feature?

What's the file extension of the page you want to view in Live Preview? You may need to add it to the internal (not yet easily configurable) list of file extensions.
Randy

Similar Messages

  • How to change live preview browser

    Everytime I use live preview on Edge Code, it says can not find Chrome. . . how do I tell it to open in Safari? or hell firefox if I want to? Simple thing can't find answers anywhere.

    Hey Victoria,
    Unfortunately Chrome is the only browser supported for Live Preview at the moment. We mention this in the FAQ section but that text could probably use some updating. The main thing holding us back from supporting other browsers is that at the time we implemented Live Preview, Chrome was the only browser that had the APIs we needed to make it work. I know currently Firefox is working on something that might work for Live Preview but I don't believe the team has explored it in depth yet.
    =Ryan
    [email protected]

  • Ruby one rails Web application

    Hi, I have been working on setting up the ruby on rails application for web review that apple sent to my boss and I had some questions if people knew how to fix a few certain problems. I am not very proficient when it comes to ruby or rails, but I don't have the money to hire some one to do this for me, so I am trying to teach my self.
    we are trying to get it to: -
    [Priority 1] Can we convert the QT served files to be streamed rather than 'wait while downloading"? If we can't stream, we need a progress bar to track the download pace.
    - [Priority 2] Web-based upload tool
    - [Priority 3] Who/When an event happens: specifically, who approved the clip & when (on the website)?
    - [Priority 4] Clip length displayed next to the clips.
    - [Prpriority 5]simple log in and password
    I know this is a lot to ask and I am not asking any one to go out of there way to figure anything out, just if any one know any reading material or tutorials and can point me in the right direction it would be appreciated.
    thank you

    Unless you want to learn and support a Ruby on Rails application like the one you are trying to implement, which will work, but will never be officially supported by Apple.
    I would recommend you take a look at services like:
    Media Silo
    http://www.mediasilo.com/fcs
    Wiredrive
    http://www.wiredrive.com
    They do very excellent jobs of offering Robust review and approval workflows.

  • [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)

  • 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

  • Ruby on Rails in Portal Applications?

    how can i make use of Ruby on Rails for developing Portal interfaces

    Hello Rohit,
    a Ruby Application can be included into the Portal like any other external application using an URL-iView. If you have to logon to a ABAP Backend system in your Ruby Application you can try to use Logon Tickets as I've used in my Blog: <a href="/people/gregor.wolf3/blog/2006/09/30/single-sign-on-with-external-id-implemented-in-ruby Sign On with External ID implemented in Ruby</a>. You only need the part starting with Variable "rfc2". The ticket is a cookie sent by the client Browser if you are using the same subdomain.
    Regards
    Gregor

  • 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

  • How can I get typekit fonts to display in edge code live preview?

    I'm wondering how I can get typekit fonts to display when using adobe code cc live preview? I'm aware that it's an issue with my local base url, but I'm confused as to how to fix the issue.
    Right now my site is stored locally in a folder on my desktop. I'm not sure what to put in the typekit settings under "domain" and what URL to put in the project settings in edge code.
    A little help please?

    Hello,
    I'm sorry that you ran into trouble with this. In order for the Typekit fonts to load, you need to add the IP address that you are using for Live Preview to the domain listing on the kit. 
    By default, Edge Code uses the IP address "http://127.0.0.1/"; you should see that listed in the web browser when previewing your site.  If you've changed the preview URL in Edge Code, it might be something like butterville.local instead.
    In either case, copy the URL where you are previewing the site, and add it to your domains: go to http://typekit.com and launch your Kit Editor. Click Kit Settings in the upper right corner and add your domain to the domains field, then save your settings.
    Make sure you republish your kit after saving the changes.
    I hope that this helps! If you still have trouble with the font loading, please send me the preview URL you are using along with your Typekit kit ID.  You may post those here or email us at [email protected]
    Best,
    -- liz

  • How do I turn off live preview during HDV firewire captures?

    My cpu uses a lot of cpu during HDV captures, and I know that a lot of it has to do with the live preview (ie, the window that shows you what is being captured). How do i turn this live preview off? Thanks

    If the metronome got recorded on your track from a mic with it coming out of your speakers (the only way it could have been recorded) there's no way to take it out. When you say you turned it off, did you just uncheck it in the control menu? Or did you go to the preferences and change its behavior there? I have mine set for recording only, not on playback. But if you turned it off in the control menu, then it should not be present, unless you inadvertently recorded it from your speakers as I described, and it is not going anywhere. This is one reason it is best to monitor your recording with headphones and not speakers, since anything that comes out of them will be recorded with a live mic close by.

  • How do I properly set up Live Previewing (Brackets)

    I just recently came across Bracket and I am super excited about it and can't wait to dive in. My problem right out the gate is I can't for the life me configure the Live Previewing to work properly. That is why I am here. I have read
    Here is what I have done with my limited knowledge concerning setting up local hosting. ( I have always used Dreamweaver and never had to do this before)
    I downloaded MAMP to create a localhost, I moved my website folder and files into the MAMP htdocs folder and labeled it AWD. If I type in local host in my browser it pulls up INDEX of/ AWD/ (folder), if I click on the folder it downloads a blank file, and that is it.
    I have tried:
    file:///C:/MAMP/htdocs/AWD/ - File not supported needs to be http:// (if I type this into my browser the site shows)
    http://C:/MAMP/htdocs/AWD/ - This website is not available
    http://localhost/MAMP/htdocs/AWD/ - Not Found
    I found this on this Forum but can't make sense of the information.
    I look forward to any and all help! Thank you for your time!

    Hey Ryan,
    First off, thank you for your help, I appreciate it. To answer your question no both http://localhost:8080/AWD/ and http://localhost:8888/AWD/ do not work. If I type just localhost in my Chrome Browser it takes me to an INDEX of / page and has one directory listed AWD. When I click on the AWD it proceeds to download a blank file.
    One of the only things that has worked was typing file:///C:/MAMP/htdocs/AWD/ in my browser, which isn't supported in Brackets. I can type that in and it takes me to the overall AWD Directory and I can see all of my files. If I click on one of my PHP files it will show the page.

  • Live-preview of .dwt template does not work

    Hi,
    I set up a html page in DW and converted it to a template using insert > template > convert (make) to template (I use the german version of DW, dont know whether this is the right translation). Now my file has an .dwt ending. After having inserted the {tag_pagecontent} I uploaded the file to the Templates folder of BC. Now I am working on the template, but live preview doesn't work. It says:
    The path is: mywebsite.business-catalyst.com/Templates/mainDesktop.dwt
    How can I use the live preview when working on a template?
    Regards, Citzwerth

    Hi Peter,
    Please copy/paste the problematic slide in a new responsive project and verify if the issue still exists in preview?
    If yes, can you please upload the new project to dropbox.com and email me the download link?
    Regards,
    Hari

  • {text-rendering : optimizeLegibility} turns off google webfont in DW CS6 live preview (suddenly)

    I'm currently working on two websites for the UN, based on Wordpress, child themes based on twentytwelve and twentythirteen.
    I started to work a certain time ago on the child theme for 2012 which uses "Open Sans" fonts.
    I don't remember having any problem with this site: everything was working ok, I made a few changes but nothing important.
    I turned to the nd website based on 2013-theme, it works perfectly and DW CS6 is a real time saver for creating a child-theme, nonetheless...
    This morning I turned back to the 2012-based wordpress site: every text was simply not displayed anymore... only in live preview in DW...
    Even with the parent theme, the text was siply not displayed (so don't suggest my css code is bugged or what...)
    After a while, I figured out it was not really a problem regarding the font itself, but with the CSS property "text-rendering" with value set "optimizeLegibility".
    Commenting out this declaration solved the problem. Nonetheless...
    1 month ago there was no problem. Then suddenly...
    Is there a problem with the live preview mode and this CSS property? (indeed there is a problem)
    Can we have a fix for this? I mean, an update for DW CS6  (not for DW CC) ?
    TIA

    Hello Nancy!
    Normally, according to https://developer.mozilla.org/en-US/docs/Web/CSS/text-rendering Gecko could take it in charge too, but seems to override this setting (a thing I can understand, Gecko is using a fast rendering engine). So you're right: at this time, it can impact only webkit/chromium engines. Which, as far as I know is the underlying engine(s) behind "Live Preview". And it does impact readibility in DW CC (it improves it).
    Personnally I'ls better stick to the real CSS properties for kerning, alternative uppercases and ligatures, BUT the wordpress team seemed to think it was a good idea to use it (along with many other strange ideas such as using rem unit for the layout).
    The real thing here is: some weeks ago, when I started to tune the 2012-based theme I use for this site, I'm pretty sure I was able to read the text in Live Preview in DW CS6. I wouldn't have chosen to use this theme with such an annoyance, else. So basically, it's really strange that suddenly this property has such an impact on the "live preview" mode of DW CS6. What I would really appreciate here is a small update/bugfix to DW CS6: I don't need this property to be taken in charge in DW CS6 as it is done in DW CC, I'ld just want this property not to impact the live preview.
    Last : I mentionned an update of DWCC being possibly a culprit for this. How relevant could be this statement ? Are "live preview" modes shared by DW CC and DW CS6 ? (Even if, of course, this "bug" is not happening with DWCC).
    PS: Thanks a lot Nancy to pay attention to my posts as I often yell a lot here.

  • Live preview stopped working?

    Hello,
    I hope I am wording this correctly. I have never had this issue but I must have turned this feature off. When positioning an object I used to be able to see it move as I was adjusting its position on my composition. So like if I moved the Y position to 25 and then scrolled it along to say 32 I would watch the object move. THen one day it stopped doing that. I'm using a guide that the creative director sent over in order to make sure my elements line up correctly but without this preview it's just tedious. I was wondering if anyone knows what that function was called and then how to do I turn it back on?
    Thanks so much, I am frustrated with it because I have never turned it off so I didn't even know that was an option.
    I'm using AE CC on a Mac running Mavericks. It appears when I bring the project to my laptop it works just like it did before so I'm assuming I just turned off a feature.
    Thanks again,
    Jeremy

    Enable the live preview button in the timeleine. also, if that shouldn't be it, check your graphics acceleration stuff.
    Mylenium

  • Compiled Clip vs Live Preview

    Hi
    Does anybody know how to create a compiled clip that diaplay
    when add to the stage. I explaine. The clip I build has an outline
    to know the diaplay zone. This outline visible = false at the clip
    ADDED event. It means that when I publish the Fla, the outile
    desapear. My problem is that when I Compiled it to a Compiled CLip,
    when I put it on the stage the ADDED is execute. So I can't view
    the outline to position it to the stage.
    I tried to used the Component properties and set the live
    preview, I put a link to a swf that is exactly the preview of it,
    but when ADDED to the stage the preview is jsut a small square of
    10 px. Not the real preview in the external swf.
    I need to have a Compiled Clip that is visisble on the sateg
    and execute the outshape visible to false on publish only
    Any Idea

    you can preview but movieclips won't play.  graphics will.

  • HT4753 How do you stop preview from auto save

    How do you stop preview from doing AutoSave?
    Preivew keeps saving different copies of a pdf I am working on (highlighting/annotating), and I now only have 1GB left on my harddrive (had 180GB left).

    If you are using Safari, look at Safari > Preferences > General and make sure 'Open "safe" files after downloading' is not checked.  Other browsers should have a similar setting in their preferences.

Maybe you are looking for

  • 1080p pour export quality for 25p material from Canon HF100 PAL

    Hi I have now tested iMovie 11 with a Canon HF100 PAL version. Shooting in progressive. The AIC import has good quality. New 1080p export gives same pour quality as before when using QuickTime 7 for h.264 export. AIC export provides good quality. So

  • Error when mapping an XML coming as in Source Element

    Hi, We have a requirement where the XML is sent in an element as given below : The Incoming Payload is of the below format : Source : <?xml version="1.0" encoding="UTF-8"?> <ResponsePayload>    <RespString><?xml version="1.0" encoding="UTF-8"?> <Devi

  • Release BP

    Hello friends                      I am new to SAP and I am practicing myself. If I want to release BP release workflow, first I have to define release procedure. FSCM – Treasury and Risk Management – Basic Functions – SAP BP for FS – Settings for Fi

  • My late 2010 Macbook Air fails to start up

    I took my MacBook Air (late 2010 models) with me on my travels to Asia. A few days into my trip, I went back to my laptop. After opening the lid, the Macbook started up from the hibernation state as normal. Whilst I was typing in my password, the lap

  • Migrating Informix databases to Oracle

    Hi, I am new to Oracle so apologies if this is a basic question. I have Informix set up on a Unix system, which consists of several databases, within Informix the databases are truly relational, i.e I can perform sql queries across rwo databases at t