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

Similar Messages

  • 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

  • [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 FUBAR after gem update? Aptana and NetBeans no work now!!

    After doing an gem update --system it seems that the whole out-of-box Ruby and Ruby on Rails experience in Leopard goes way south.
    I first had issues just trying to run the rails command:
    <pre>
    Adenthir:Workspace nicholas$ rails dummy
    /Library/Ruby/Site/1.8/rubygems.rb:304:in `reportactivateerror': Could not find RubyGem rails (> 0) (Gem::LoadError)
    from /Library/Ruby/Site/1.8/rubygems.rb:238:in `activate'
    from /Library/Ruby/Site/1.8/rubygems.rb:76:in `activegem_withoptions'
    from /Library/Ruby/Site/1.8/rubygems.rb:50:in `gem'
    from /usr/bin/rails:15
    </pre>
    I found that the directory path(s) of the gem repositories which were:
    <pre>
    \["/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8" , "/Library/Ruby/Gems/1.8"]
    </pre>
    had become simply:
    <pre>
    \["/Library/Ruby/Gems"]
    </pre>
    So I added GEM_HOME and GEM_PATH to my .profile, and this works for when I'm in the shell.
    However when I run Aptana or Netbeans it complains about the environment and not being able to find the rails 1.2.3 gem. It seems that not all was yet fixed by adding the paths to my .profile to help clear up the confusion about the missing gem repositories.
    How do you get it so that applications that are not run from the shell eg. Aptana or NetBeans can see the same path as I'm getting in the shell? (My assumption is that the reason they error is because they don't use the .profile shell settings.) I'm not quite sure how to set environment variables for the Mac OS itself (other than the shell sessions). And I am not going to take "just run your apps using shell commands to start them" as an answer!
    All my rails/ruby stuff was working flawlessly in 10.4 ...sigh.
    Help!

    Okay - I think I have the path situation sorted out. In order to get applications like NetBeans or Aptana to recognize the gem repositories after doing a gem update --system command you need to create a file ~/.MacOSX/environment.plist (it isn't there by default so you'll need to make one).
    I used the plist editor tool that comes with XCode's installation, but I imagine any text editor will be sufficient. You will want to add the following to restore your paths for RubyGem:
    <pre>
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>GEM_HOME</key>
    <string>/Library/Ruby/Gems/1.8</string>
    <key>GEM_PATH</key>
    <string>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gem s/1.8</string>
    </dict>
    </plist>
    </pre>
    That seems to of fixed the confusion that NetBeans was having for me as to where to find the gem for rails. Everything (so far) seem to be back to normal.
    Just a word of caution - if you're going to do a gem update be ready for some downtime as you fix your environment paths.

  • Solaris 10, Ruby on Rails, Core Dumps

    I am not very savvy with Solaris administration and we are having issues with configuring our system to run Ruby on Rails applications. We opted to use the Coolstack framework for our environment, thankfully without many hiccups. That said, our applications load but core dump during the second page load.
    At this point, I'm not sure if it's our recent switch to Coolstack that is causing the problem. We've also worked to get a Mongrel cluster up and running, so that could also be the culprit.
    What I'm looking for really is advice on how to pin down what the error is. I've learned about pstack to deal with the core dump file, but I'd have a better time understanding Chinese than that output. I also read about gdb and dbx, neither of which appear to be installed on our system. A strings on the file, another recommendation I found, spits out a bunch of gibberish.
    How can I move forward in discovering the problem?

    I'm having the exact same problem with my Solaris server. I can't seem to get any form of Rails running on the system, and pages generated by Rails crash after a few page loads (not always the same number).
    Did you have any luck tracking down the issue? I've asked around in a number of places and come up empty-handed every time.

  • Ruby on Rails Concurrent program registration in EBS 11i

    hi everyone
    I'm trying to see if it is possible to register a Ruby on Rails concurrent program in Oracle E-business Suite 11i applications. We have Ruby on the Rail program we are using to create a GL Daily Rates file into one of our Custom top directory. Our intention is to create a request set that includes this Ruby on Rails program and SQL*Loader program that loads the data into staging table before data is uploaded to the GL_Daily_Rates_Interface.
    I have seen that the execution method for Ruby on Rails does not exist in 11i and have tried to use perl but without success.
    Any help will be much appreciated.
    Thanks in advance.
    Leo

    This is Oracle Application Server forum. Oracle Apps (EBS) forums are here:
    http://forums.oracle.com/forums/category.jspa?categoryID=3

  • Launching Edge code thru terminal for Ruby on Rails

    hello
    i am studying ruby on rails programming.  i just started and I am new to alot things about it.
    The tutorials im watching say to use sublime text or some other one.  if it makes sense i would like to use edge code because i come from a design background and i trust adobe have the best features by the end of the game.
    so in the tutorials they used this command to conect the terminal work we've been studying to sublime text
    ln -s /Aplplications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl usr/local/bin/subl
    and allowed him the edit his .bash_profile in sublime text simply by typing
    subl .bash_profile
    Im curious to see if there is an equivalent to this for edge code.  or am i trying to use the wrong app for ruby on rails?

    There is not a way to open a file via the command line with Edge Code (or
    Brackets) yet, but you can at least right click on a file and do Open With.
    In terms of 'does it make sense to write Ruby code with Edge Code', I can't
    answer that. I use Brackets for all my front end code, and Node.js stuff on
    the back, but not for any ColdFusion work I do. Best I can suggest is just
    to try it out and let us know how it works.

  • Any Extension for Ruby On Rails on DW

    Hello,
    I am planning to quit PHP and start developing in Ruby on
    Rails. Their MVC model is really great and plus MS has also
    appreciated this model and getting this implemented in new Orcas
    Model ( New Asp.net 3.5 version ).
    Ruby really beats every one since its totally OOP and plus it
    offers more powerful features than PHP5 and Easily fights with
    asp.net in power.
    Ruby on Rails is the future. I need to practice this on DW8
    can any one prpvide me a working Extension for Ruby.
    Thanks

    Ruby doesn't even come close to the .NET framework. That is
    just wishful thinking.
    Anyways, here is a link:
    http://rubyweaver.gilluminate.com/

  • New wiki page on Ruby on Rails

    Hi,
    Just wanted to let you know that I created a Ruby on Rails page on the
    wiki. It's not really long but the basis is there to quickly set up a
    rails application.
    http://wiki.archlinux.org/index.php/RubyOnRails
    As always, please feel free to comment and edit the wiki.
    ekse

    Hi,
    It is a really nice idea. Maybe the page ought to serve as a hub for other articles.
    A couple of comments on sharing medias:
    * I have not been very happy with upnp. I used it for a while when I had a Synology NAS, but the fact that it seemed to rely on some kind of index made it less attractive. Samba has treated me nice; it always works (as oppose to "real" Windows shares which is a drag to setup).  I use samba for sharing videos and pictures to XMBC4Xbox.
    * For streaming live audio output, i.e. what is playing *right now* on my laptop to my stero, I have found a combo of icecast, pulseaudio and gstream to work nice. For serving static audio files I use squeezeboxserver. Had I used a Sonos sound system I would have used Samba again.
    * For PS3, which is a somewhat limited device, there is a nice java application that takes care of everything.
    * What I really miss is some way to preserve metatags when downloading video podcasts. To me it does not matter much at the moment as xbmc does not support local rss feeds. . . 
    I could add some comments on some of the above if you think it fits into your article.
    --Rasmus

  • 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?

  • 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

  • Ruby on Rails with Oracle Database

    I am starting a new project that needs to produce dynamic charts and data reports on the web. I am a Java programmer and new to databases. I have heard good things about Ruby on Rails but cannot get it to work with Mac OS X and our Oracle database. I've read many, many forum posts about the lack of an Intel Client from Oracle, but would really like to know how if its possible to
    A) Get Ruby on Rails to read from an Oracle database AND
    B) Find out how to configure Locomotive (the Ruby GUI I'm using) to connect to the Oracle database.
    Thanks for any help!

    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

  • Ruby on Rails on OSX Server

    Has any one built or have instructions for installing Ruby on Rails on OSX Server 10.4?
    Do these instructions still apply:
    http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx
    And can it play alongside Apache if you use Mongrel as the web server?

    I have been trying for the last couple of weeks to get Ruby on Rails running on OSX Server as well. I followed the instructions on the site you refer to. The whole installation proceeds just fine, I can run my RoR sites locally by running scripts/server, but when trying to access the web site I get a 403 error and the log says "Directory index forbidden by rule".
    I have followed directions from other sites regarding: installing and activating the fastcgi module, setting access rights to various folders and files, modifying the httpd.conf file to allow overwrite all and access to indexes,... No progress. I still can't get the RoR site to work.

  • 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?

Maybe you are looking for

  • How to change font size in Safari?

    Why is it when I set my fonts inside Safari to say, 18 for standard and 18 for fixed. It doesn't display that way. I keep getting the tiny font that I've always used.

  • Sorry for duplicated post--How to convert a result tree fragment to NodeSet

    Dear Guru-s: I encountered a problem during the BPEL development, as following: scenario: Position: Transformation Activity Requirement: I should establish a complex data transformation, which need to assign an element of process input schema to a No

  • Connecting iMac to cellular 3G network

    I live in the sticks...very RURAL...No cable or Broadband available, only Dial-Up for internet connection.... ...Is it possible to connect my iMac with my AT&T cellular 3G iPhone account. I have a cellular signal booster which provides me with a very

  • Microsoft office 2011 downloading issue for version 14.3.9, not fully download or installing

    Hello all,      So over the last couple of month for some reason my IMac, mid 2011 has been having problems with the software I use on a regular basis.  Microsoft Office Mac 2011 has been acting up, only the word app is malfunctioning.  If you were t

  • Sharing files from windows with mountain lion

    SINCE THE RELEASE OF LION AND MOUNTAIN LION. I HAVE BEEN UNABLE TO PROPERLY SHARE FILES FROM MY MACBOOK PRO (MID 2009) TO MY WINDOWS DESKTOP (VISTA HOME PREMIUM) WITHOUT LOGGING IN AS A GUEST. I PRESS CTRL+K ON MY MAC, I TYPE IN SMB://IP ADDRESS (NOT